24 #ifndef PXR_IMAGING_HD_ST_BUFFER_RESOURCE_H 25 #define PXR_IMAGING_HD_ST_BUFFER_RESOURCE_H 28 #include "pxr/imaging/hdSt/api.h" 29 #include "pxr/imaging/hd/bufferResource.h" 31 #include "pxr/imaging/hgi/buffer.h" 39 PXR_NAMESPACE_OPEN_SCOPE
41 using HdStBufferResourceSharedPtr =
42 std::shared_ptr<class HdStBufferResource>;
44 using HdStBufferResourceNamedPair =
45 std::pair<TfToken, HdStBufferResourceSharedPtr>;
46 using HdStBufferResourceNamedList =
47 std::vector<HdStBufferResourceNamedPair>;
78 PXR_NAMESPACE_CLOSE_SCOPE
80 #endif // PXR_IMAGING_HD_ST_BUFFER_RESOURCE_H HdTupleType represents zero, one, or more values of the same HdType.
HgiBufferHandle & GetHandle()
Returns the HgiBufferHandle for this GPU resource.
A specific type of HdResource (GPU resource) representing a buffer object.
Token for efficient comparison, assignment, and hashing of known strings.
A specific type of HdBufferResource (GPU resource) representing an HgiBufferHandle.
HDST_API void SetAllocation(HgiBufferHandle const &handle, size_t size)
Sets the HgiBufferHandle for this resource and its size.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...