HDK
|
Cache of refined GT prims created draw USD in the viewport. More...
#include <GT_PrimCache.h>
Public Member Functions | |
GusdGT_PrimCache () | |
~GusdGT_PrimCache () override | |
GT_PrimitiveHandle | GetPrim (const UsdPrim &usdPrim, UsdTimeCode time, GusdPurposeSet purposes, bool skipRoot=false) |
void | Clear () override |
Clear all caches. More... | |
int64 | Clear (const UT_StringSet &paths) override |
Clear caches for a set of stages by path. More... | |
Public Member Functions inherited from GusdUSD_DataCache | |
GusdUSD_DataCache (GusdStageCache &cache) | |
GusdUSD_DataCache () | |
virtual | ~GusdUSD_DataCache () |
Static Public Member Functions | |
static GUSD_API GusdGT_PrimCache & | GetInstance () |
Static Public Member Functions inherited from GusdUSD_DataCache | |
static bool | ShouldClearPrim (const UsdPrim &prim, const UT_StringSet &stagesToClear) |
Additional Inherited Members | |
Protected Attributes inherited from GusdUSD_DataCache | |
GusdStageCache & | _stageCache |
Cache of refined GT prims created draw USD in the viewport.
Definition at line 47 of file GT_PrimCache.h.
GusdGT_PrimCache::GusdGT_PrimCache | ( | ) |
|
override |
|
overridevirtual |
Clear all caches.
Reimplemented from GusdUSD_DataCache.
|
overridevirtual |
Clear caches for a set of stages by path.
Reimplemented from GusdUSD_DataCache.
|
static |
GT_PrimitiveHandle GusdGT_PrimCache::GetPrim | ( | const UsdPrim & | usdPrim, |
UsdTimeCode | time, | ||
GusdPurposeSet | purposes, | ||
bool | skipRoot = false |
||
) |