24 #ifndef PXR_IMAGING_HD_RESOURCE_REGISTRY_H
25 #define PXR_IMAGING_HD_RESOURCE_REGISTRY_H
105 HdResourceRegistry& operator=(
const HdResourceRegistry&) =
delete;
110 #endif //PXR_IMAGING_HD_RESOURCE_REGISTRY_H
virtual HD_API void InvalidateShaderRegistry()
Invalidate any shaders registered with this registry.
std::shared_ptr< class HdResourceRegistry > HdResourceRegistrySharedPtr
HD_API void Commit()
Commits all in-flight source data.
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
virtual HD_API void _Commit()
A hook for derived registries to perform additional resource commits.
virtual HD_API VtDictionary GetResourceAllocation() const
virtual HD_API void _GarbageCollect()
virtual HD_API void ReloadResource(TfToken const &resourceType, std::string const &path)
HD_API void GarbageCollect()
cleanup all buffers and remove if empty
virtual HD_API ~HdResourceRegistry()
HF_MALLOC_TAG_NEW("new HdResourceRegistry")
HD_API HdResourceRegistry()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE