This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
layerHints.h
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
12PXR_NAMESPACE_OPEN_SCOPE
13
17{
18public:
21 SdfLayerHints() = default;
22
27 {}
28
31 bool mightHaveRelocates = true;
32};
33
34PXR_NAMESPACE_CLOSE_SCOPE
35
36#endif
Contains hints about layer contents that may be used to accelerate certain composition operations.
Definition: layerHints.h:17
bool mightHaveRelocates
If this field is false, the layer does not contain relocates.
Definition: layerHints.h:31
SdfLayerHints()=default
Default constructed hints provide the most conservative set of values such that consumers of the hint...
SdfLayerHints(bool mightHaveRelocates)
Construct hints with specific values.
Definition: layerHints.h:25