![]() |
|
VBO simple memory manager. More...
#include <vboSimpleMemoryManager.h>
Inheritance diagram for HdStVBOSimpleMemoryManager:Classes | |
| class | _SimpleBufferArray |
| Simple buffer array (non-aggregated). More... | |
| class | _SimpleBufferArrayRange |
| Specialized buffer array range for SimpleBufferArray. More... | |
Public Member Functions | |
| HdStVBOSimpleMemoryManager (HdStResourceRegistry *resourceRegistry) | |
| virtual HDST_API HdBufferArraySharedPtr | CreateBufferArray (TfToken const &role, HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint) |
| Factory for creating HdBufferArray managed by HdStVBOSimpleMemoryManager. | |
| virtual HDST_API HdBufferArrayRangeSharedPtr | CreateBufferArrayRange () |
| Factory for creating HdBufferArrayRange. | |
| virtual HDST_API HdStAggregationStrategy::AggregationId | ComputeAggregationId (HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint) const |
| Returns id for given bufferSpecs to be used for aggregation. | |
| virtual HDST_API HdBufferSpecVector | GetBufferSpecs (HdBufferArraySharedPtr const &bufferArray) const |
| Returns the buffer specs from a given buffer array. | |
| virtual HDST_API size_t | GetResourceAllocation (HdBufferArraySharedPtr const &bufferArray, VtDictionary &result) const |
| Returns the size of the GPU memory used by the passed buffer array. | |
Public Member Functions inherited from HdStAggregationStrategy | |
| virtual HDST_API void | Flush () |
| (Optional) called to Flush consolidated / staging buffers. | |
Protected Types | |
| using | _SimpleBufferArraySharedPtr |
| using | _SimpleBufferArrayRangeSharedPtr |
| using | _SimpleBufferArrayRangePtr |
Protected Attributes | |
| HdStResourceRegistry *const | _resourceRegistry |
Additional Inherited Members | |
Public Types inherited from HdStAggregationStrategy | |
| typedef size_t | AggregationId |
| Aggregation ID. | |
VBO simple memory manager.
This class doesn't perform any aggregation.
Definition at line 30 of file vboSimpleMemoryManager.h.
|
protected |
Definition at line 200 of file vboSimpleMemoryManager.h.
|
protected |
Definition at line 198 of file vboSimpleMemoryManager.h.
|
protected |
Definition at line 196 of file vboSimpleMemoryManager.h.
|
inline |
Definition at line 33 of file vboSimpleMemoryManager.h.
|
virtual |
Returns id for given bufferSpecs to be used for aggregation.
Implements HdStAggregationStrategy.
|
virtual |
Factory for creating HdBufferArray managed by HdStVBOSimpleMemoryManager.
Implements HdStAggregationStrategy.
|
virtual |
Factory for creating HdBufferArrayRange.
Implements HdStAggregationStrategy.
|
virtual |
Returns the buffer specs from a given buffer array.
Implements HdStAggregationStrategy.
|
virtual |
Returns the size of the GPU memory used by the passed buffer array.
Implements HdStAggregationStrategy.
|
protected |
Definition at line 293 of file vboSimpleMemoryManager.h.