All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GusdUSD_VisCache Class Referencefinal

#include <USD_VisCache.h>

+ Inheritance diagram for GusdUSD_VisCache:

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_VisCacheGetInstance ()
- 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

Detailed Description

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.

Constructor & Destructor Documentation

GusdUSD_VisCache::GusdUSD_VisCache ( GusdStageCache cache)
GusdUSD_VisCache::GusdUSD_VisCache ( )
GusdUSD_VisCache::~GusdUSD_VisCache ( )

Definition at line 54 of file USD_VisCache.h.

Member Function Documentation

GUSD_API void GusdUSD_VisCache::Clear ( )

Clear all caches.

Reimplemented from GusdUSD_DataCache.

GUSD_API int64 GusdUSD_VisCache::Clear ( const UT_StringSet stagePaths)

Clear caches for a set of stages by path.

Reimplemented from GusdUSD_DataCache.

static GUSD_API GusdUSD_VisCache& GusdUSD_VisCache::GetInstance ( )
GUSD_API bool GusdUSD_VisCache::GetResolvedVisibility ( const UsdPrim prim,
UsdTimeCode  time 
GUSD_API bool GusdUSD_VisCache::GetVisibility ( const UsdPrim prim,
UsdTimeCode  time 

The documentation for this class was generated from the following file: