|
HDK
|
#include "pxr/pxr.h"#include "pxr/usd/usd/api.h"#include "pxr/base/tf/stacked.h"#include <vector>
Include dependency graph for stageCacheContext.h:Go to the source code of this file.
Classes | |
| struct | Usd_NonPopulatingStageCacheWrapper |
Enumerations | |
| enum | UsdStageCacheContextBlockType { UsdBlockStageCaches, UsdBlockStageCachePopulation, Usd_NoBlock } |
Functions | |
| template<class StageCache > | |
| Usd_NonPopulatingStageCacheWrapper | UsdUseButDoNotPopulateCache (StageCache &cache) |
| TF_DEFINE_STACKED (UsdStageCacheContext, true, USD_API) | |
| Enumerator | |
|---|---|
| UsdBlockStageCaches |
Indicate that a UsdStageCacheContext should ignore all currently bound UsdStageCacheContexts, preventing reading from or writing to their UsdStageCaches. See UsdStageCache for more details and example use. |
| UsdBlockStageCachePopulation |
Indicate that a UsdStageCacheContext should ignore all currently bound writable UsdStageCacheContexts, writing to their UsdStageCaches. See UsdStageCache for more details and example use. |
| Usd_NoBlock | |
Definition at line 42 of file stageCacheContext.h.
| TF_DEFINE_STACKED | ( | UsdStageCacheContext | , |
| true | , | ||
| USD_API | |||
| ) |
Bind a cache for calls to UsdStage::Open() to read from and write to.
Bind a cache for calls to UsdStage::Open() to read from.
Disable cache use completely (with UsdBlockStageCaches) or only for writing (with UsdBlockStageCacheWrites).
Definition at line 104 of file stageCacheContext.h.
| Usd_NonPopulatingStageCacheWrapper UsdUseButDoNotPopulateCache | ( | StageCache & | cache | ) |
Indicate that a UsdStageCacheContext should be bound in a read-only fashion. Calls to UsdStage::Open() will attempt to find stages in cache when a UsdStageCacheContext is present on the stack. See UsdStageCacheContext for more details and example use.
Definition at line 38 of file stageCacheContext.h.