![]() |
Aggregation strategy base class. More...
Inheritance diagram for HdAggregationStrategy:Public Types | |
| typedef size_t | AggregationId |
| Aggregation ID. More... | |
Public Member Functions | |
| virtual HdBufferArraySharedPtr | CreateBufferArray (TfToken const &role, HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint)=0 |
| Factory for creating HdBufferArray. More... | |
| virtual HdBufferArrayRangeSharedPtr | CreateBufferArrayRange ()=0 |
| Factory for creating HdBufferArrayRange. More... | |
| virtual AggregationId | ComputeAggregationId (HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint) const =0 |
| Returns id for given bufferSpecs to be used for aggregation. More... | |
| virtual HdBufferSpecVector | GetBufferSpecs (HdBufferArraySharedPtr const &bufferArray) const =0 |
| Returns the buffer specs from a given buffer array. More... | |
| virtual size_t | GetResourceAllocation (HdBufferArraySharedPtr const &bufferArray, VtDictionary &result) const =0 |
| Returns the accumulated GPU resource allocation
/// for items in the BufferArray passed as parameter. More... | |
| virtual HD_API void | Flush () |
| (Optional) called to Flush consolidated / staging buffers. More... | |
Aggregation strategy base class.
Definition at line 48 of file strategyBase.h.
| typedef size_t AggregationId |
Aggregation ID.
Definition at line 51 of file strategyBase.h.
|
pure virtual |
Returns id for given bufferSpecs to be used for aggregation.
Implemented in HdStVBOMemoryManager, and HdStVBOSimpleMemoryManager.
|
pure virtual |
Factory for creating HdBufferArray.
Implemented in HdStVBOMemoryManager, and HdStVBOSimpleMemoryManager.
|
pure virtual |
Factory for creating HdBufferArrayRange.
Implemented in HdStInterleavedMemoryManager, HdStVBOMemoryManager, and HdStVBOSimpleMemoryManager.
|
inlinevirtual |
(Optional) called to Flush consolidated / staging buffers.
Reimplemented in HdStInterleavedMemoryManager.
Definition at line 82 of file strategyBase.h.
|
pure virtual |
Returns the buffer specs from a given buffer array.
Implemented in HdStInterleavedMemoryManager, HdStVBOMemoryManager, and HdStVBOSimpleMemoryManager.
|
pure virtual |
Returns the accumulated GPU resource allocation /// for items in the BufferArray passed as parameter.
Implemented in HdStInterleavedMemoryManager, HdStVBOMemoryManager, and HdStVBOSimpleMemoryManager.