24 #ifndef PXR_IMAGING_HD_RESOURCE_H
25 #define PXR_IMAGING_HD_RESOURCE_H
68 HdResource &operator=(
const HdResource &) =
delete;
78 #endif //PXR_IMAGING_HD_RESOURCE_H
TfToken const & GetRole() const
Returns the role of the GPU data in this resource.
virtual HD_API ~HdResource()
std::shared_ptr< class HdResource > HdResourceSharedPtr
HD_API void SetSize(size_t size)
Stores the size of the resource allocated in the GPU.
HD_API HdResource(TfToken const &role)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API size_t GetSize() const
Returns the size of the resource allocated in the GPU.