24 #ifndef PXR_IMAGING_HD_ST_SAMPLER_OBJECT_REGISTRY_H
25 #define PXR_IMAGING_HD_ST_SAMPLER_OBJECT_REGISTRY_H
37 std::shared_ptr<class HdStTextureObject>;
39 std::shared_ptr<class HdStSamplerObject>;
85 std::vector<HdStSamplerObjectSharedPtr> _samplerObjects;
87 bool _garbageCollectionNeeded;
HDST_API HdStResourceRegistry * GetResourceRegistry() const
HDST_API ~HdSt_SamplerObjectRegistry()
HDST_API HdStSamplerObjectSharedPtr AllocateSampler(HdStTextureObjectSharedPtr const &texture, HdSamplerParameters const &samplerParameters)
std::shared_ptr< class HdStTextureObject > HdStTextureObjectSharedPtr
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HDST_API void MarkGarbageCollectionNeeded()
#define PXR_NAMESPACE_CLOSE_SCOPE
HDST_API void GarbageCollect()
Delete samplers no longer used by a client.
std::shared_ptr< class HdStSamplerObject > HdStSamplerObjectSharedPtr
HDST_API HdSt_SamplerObjectRegistry(HdStResourceRegistry *registry)