Base class for all GPU resource objects.
More...
|
|
HD_API | HdResource (TfToken const &role) |
| |
| TfToken const & | GetRole () const |
| | Returns the role of the GPU data in this resource. More...
|
| |
| HD_API size_t | GetSize () const |
| | Returns the size of the resource allocated in the GPU. More...
|
| |
|
| HD_API void | SetSize (size_t size) |
| | Stores the size of the resource allocated in the GPU. More...
|
| |
Base class for all GPU resource objects.
Definition at line 44 of file resource.h.
Returns the role of the GPU data in this resource.
Definition at line 53 of file resource.h.
| HD_API size_t GetSize |
( |
| ) |
const |
|
inline |
Returns the size of the resource allocated in the GPU.
Definition at line 57 of file resource.h.
| HD_API void SetSize |
( |
size_t |
size | ) |
|
|
protected |
Stores the size of the resource allocated in the GPU.
The documentation for this class was generated from the following file: