24 #ifndef PXR_IMAGING_HD_ST_BUFFER_ARRAY_RANGE_H
25 #define PXR_IMAGING_HD_ST_BUFFER_ARRAY_RANGE_H
38 class HdBufferArrayGL;
42 std::shared_ptr<class HdStBufferArrayRange>;
47 std::shared_ptr<class HdStBufferResource>;
49 std::vector< std::pair<TfToken, HdStBufferResourceSharedPtr> >;
124 std::vector<HdStBufferArrayRangeSharedPtr> _ranges;
130 #endif // HD_BUFFER_ARRAY_RANGE_GL_H
std::shared_ptr< class HdStBufferArrayRange > HdStBufferArrayRangeSharedPtr
virtual HDST_API void GetBufferSpecs(HdBufferSpecVector *bufferSpecs) const override
Sets the bufferSpecs for all resources.
std::vector< std::pair< TfToken, HdStBufferResourceSharedPtr > > HdStBufferResourceNamedList
HdStBufferArrayRange(HdStResourceRegistry *resourceRegistry)
virtual int GetElementStride() const
GLuint const GLchar * name
std::vector< struct HdBufferSpec > HdBufferSpecVector
std::shared_ptr< class HdStBufferResource > HdStBufferResourceSharedPtr
HDST_API HdStBufferArrayRangeSharedPtr const & Get(int index) const
Returns the bar at index. returns null if either the index.
HDST_API void Set(int index, HdStBufferArrayRangeSharedPtr const &range)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HdStResourceRegistry * GetResourceRegistry()
HD_API std::ostream & operator<<(std::ostream &out, const HdBufferArrayRange &self)
HdStBufferArrayRangeContainer(int size)
Constructor.
virtual HdStBufferResourceNamedList const & GetResources() const =0
Returns the list of all named GPU resources for this bufferArrayRange.
virtual HdStBufferResourceSharedPtr GetResource() const =0
virtual HDST_API ~HdStBufferArrayRange()