HDK
|
#include <USD_DataCache.h>
Public Member Functions | |
GusdUSD_DataCache (GusdStageCache &cache) | |
GusdUSD_DataCache () | |
virtual | ~GusdUSD_DataCache () |
virtual void | Clear () |
Clear all caches. More... | |
virtual int64 | Clear (const UT_StringSet &stagePaths) |
Clear caches for a set of stages by path. More... | |
Static Public Member Functions | |
static bool | ShouldClearPrim (const UsdPrim &prim, const UT_StringSet &stagesToClear) |
Protected Attributes | |
GusdStageCache & | _stageCache |
Definition at line 44 of file USD_DataCache.h.
GusdUSD_DataCache::GusdUSD_DataCache | ( | GusdStageCache & | cache | ) |
GusdUSD_DataCache::GusdUSD_DataCache | ( | ) |
|
virtual |
|
inlinevirtual |
Clear all caches.
Reimplemented in GusdUSD_XformCache, GusdBoundsCache, GusdUSD_VisCache, and GusdGT_PrimCache.
Definition at line 53 of file USD_DataCache.h.
|
inlinevirtual |
Clear caches for a set of stages by path.
Reimplemented in GusdUSD_XformCache, GusdBoundsCache, GusdUSD_VisCache, and GusdGT_PrimCache.
Definition at line 56 of file USD_DataCache.h.
|
static |
Helper for implementations to decide if a cache entry corresponding to prim should be discarded.
|
protected |
Definition at line 66 of file USD_DataCache.h.