HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GusdGT_PrimCache Class Reference

Cache of refined GT prims created draw USD in the viewport. More...

#include <GT_PrimCache.h>

+ Inheritance diagram for GusdGT_PrimCache:

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

Detailed Description

Cache of refined GT prims created draw USD in the viewport.

Definition at line 47 of file GT_PrimCache.h.

Constructor & Destructor Documentation

GusdGT_PrimCache::GusdGT_PrimCache ( )
GusdGT_PrimCache::~GusdGT_PrimCache ( )
override

Member Function Documentation

void GusdGT_PrimCache::Clear ( )
overridevirtual

Clear all caches.

Reimplemented from GusdUSD_DataCache.

int64 GusdGT_PrimCache::Clear ( const UT_StringSet stagePaths)
overridevirtual

Clear caches for a set of stages by path.

Reimplemented from GusdUSD_DataCache.

static GUSD_API GusdGT_PrimCache& GusdGT_PrimCache::GetInstance ( )
static
GT_PrimitiveHandle GusdGT_PrimCache::GetPrim ( const UsdPrim usdPrim,
UsdTimeCode  time,
GusdPurposeSet  purposes,
bool  skipRoot = false 
)

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