10 #ifndef GT_PackedGeoCache_h
11 #define GT_PackedGeoCache_h
24 static bool isCachingAvailable();
63 const std::vector<std::string> &paths);
69 static void clearAlembics(
const char *
filename);
70 static int64 getAlembicVersion(
const char *archive);
71 static bool hasAlembicArchive(
const char *archive);
99 void privClearAlembics(
const char *filename);
101 class gt_CachedGeometry
104 gt_CachedGeometry() : lru(0), mem(0), version(0), locked(false) {}
107 : geometry(h), lru(L), mem(M), locked(lock), version(v),
108 extra_flags(e), animation(anim) {}
121 int64 myGeoCacheSize;
GT_API const UT_StringHolder filename
const char * utGetCacheName() const override
required - return the english name for this cache.
int64 utGetCurrentSize() const override
required - return the current cache size, in bytes
virtual int64 utGetMaxSize() const
virtual int64 utGetMinSize() const
virtual int64 utReduceCacheSizeBy(int64 amount)=0
GLuint const GLchar * name
OPENVDB_API void initialize()
Global registration of native Grid, Transform, Metadata and Point attribute types. Also initializes blosc (if enabled).
Common base class for various caches.
GT_API const UT_StringHolder version
GLfloat GLfloat GLfloat GLfloat h