24 #ifndef PXR_IMAGING_HD_BUFFER_RESOURCE_H
25 #define PXR_IMAGING_HD_BUFFER_RESOURCE_H
28 #include "pxr/imaging/hd/api.h"
29 #include "pxr/imaging/hd/version.h"
30 #include "pxr/imaging/hd/resource.h"
31 #include "pxr/imaging/hd/types.h"
40 PXR_NAMESPACE_OPEN_SCOPE
45 using HdBufferResourceSharedPtr = std::shared_ptr<HdBufferResource>;
46 using HdBufferResourceNamedList = std::vector<
47 std::pair<TfToken, HdBufferResourceSharedPtr> >;
79 PXR_NAMESPACE_CLOSE_SCOPE
81 #endif //PXR_IMAGING_HD_BUFFER_RESOURCE_H
HdTupleType represents zero, one, or more values of the same HdType.
int GetOffset() const
Returns the interleaved offset (in bytes) of this data.
A specific type of HdResource (GPU resource) representing a buffer object.
Token for efficient comparison, assignment, and hashing of known strings.
HdTupleType GetTupleType() const
Data type and count.
int GetStride() const
Returns the stride (in bytes) of underlying buffer.
Base class for all GPU resource objects.
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...