HDK
|
#include <USD_VisCache.h>
Public Member Functions | |
GusdUSD_VisCache (GusdStageCache &cache) | |
GusdUSD_VisCache () | |
~GusdUSD_VisCache () override | |
GUSD_API bool | GetVisibility (const UsdPrim &prim, UsdTimeCode time) |
GUSD_API bool | GetResolvedVisibility (const UsdPrim &prim, UsdTimeCode time) |
GUSD_API void | Clear () override |
Clear all caches. More... | |
GUSD_API 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 GusdUSD_VisCache & | 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 |
Thread-safe, memory-capped visibility cache. This does not cache varying visibility state; only unvarying visibility values and information about whether or not visibility might vary with time is cached.
Definition at line 44 of file USD_VisCache.h.
GusdUSD_VisCache::GusdUSD_VisCache | ( | GusdStageCache & | cache | ) |
GusdUSD_VisCache::GusdUSD_VisCache | ( | ) |
|
inlineoverride |
Definition at line 54 of file USD_VisCache.h.
Clear all caches.
Reimplemented from GusdUSD_DataCache.
|
overridevirtual |
Clear caches for a set of stages by path.
Reimplemented from GusdUSD_DataCache.
|
static |
GUSD_API bool GusdUSD_VisCache::GetResolvedVisibility | ( | const UsdPrim & | prim, |
UsdTimeCode | time | ||
) |
GUSD_API bool GusdUSD_VisCache::GetVisibility | ( | const UsdPrim & | prim, |
UsdTimeCode | time | ||
) |