HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
layerHints.h
Go to the documentation of this file.
1
//
2
// Copyright 2020 Pixar
3
//
4
// Licensed under the terms set forth in the LICENSE.txt file available at
5
// https://openusd.org/license.
6
//
7
#ifndef PXR_USD_SDF_LAYER_HINTS_H
8
#define PXR_USD_SDF_LAYER_HINTS_H
9
10
#include "
pxr/pxr.h
"
11
12
PXR_NAMESPACE_OPEN_SCOPE
13
14
/// Contains hints about layer contents that may be used to accelerate certain
15
/// composition operations.
16
class
SdfLayerHints
17
{
18
public
:
19
/// Default constructed hints provide the most conservative set of values
20
/// such that consumers of the hints will act correctly if not optimally.
21
SdfLayerHints
() =
default
;
22
23
/// Construct hints with specific values. Using this constructor requires
24
/// that all hint fields be specified.
25
explicit
SdfLayerHints
(
bool
mightHaveRelocates
)
26
: mightHaveRelocates(mightHaveRelocates)
27
{}
28
29
/// If this field is false, the layer does not contain relocates. If
30
/// true, relocates may be present but are not guaranteed to exist.
31
bool
mightHaveRelocates
=
true
;
32
};
33
34
PXR_NAMESPACE_CLOSE_SCOPE
35
36
#endif
pxr.h
SdfLayerHints::SdfLayerHints
SdfLayerHints(bool mightHaveRelocates)
Definition:
layerHints.h:25
PXR_NAMESPACE_OPEN_SCOPE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition:
path.h:1425
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
SdfLayerHints
Definition:
layerHints.h:16
SdfLayerHints::mightHaveRelocates
bool mightHaveRelocates
Definition:
layerHints.h:31
SdfLayerHints::SdfLayerHints
SdfLayerHints()=default
pxr
usd
sdf
layerHints.h
Generated on Wed Aug 27 2025 03:07:58 for HDK by
1.8.6