24 #ifndef PXR_IMAGING_HD_ST_STRATEGY_BASE_H
25 #define PXR_IMAGING_HD_ST_STRATEGY_BASE_H
89 #endif // PXR_IMAGING_HD_ST_STRATEGY_BASE_H
virtual HdBufferSpecVector GetBufferSpecs(HdBufferArraySharedPtr const &bufferArray) const =0
Returns the buffer specs from a given buffer array.
std::shared_ptr< class HdBufferArray > HdBufferArraySharedPtr
virtual HDST_API ~HdStAggregationStrategy()
**But if you need a result
virtual HdBufferArrayRangeSharedPtr CreateBufferArrayRange()=0
Factory for creating HdBufferArrayRange.
size_t AggregationId
Aggregation ID.
std::vector< struct HdBufferSpec > HdBufferSpecVector
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
virtual HdBufferArraySharedPtr CreateBufferArray(TfToken const &role, HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint)=0
Factory for creating HdBufferArray.
virtual AggregationId ComputeAggregationId(HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint) const =0
Returns id for given bufferSpecs to be used for aggregation.
#define PXR_NAMESPACE_CLOSE_SCOPE
std::shared_ptr< HdBufferArrayRange > HdBufferArrayRangeSharedPtr
virtual size_t GetResourceAllocation(HdBufferArraySharedPtr const &bufferArray, VtDictionary &result) const =0
virtual HDST_API void Flush()
(Optional) called to Flush consolidated / staging buffers.