Interleaved memory manager (base class).
More...
#include <interleavedMemoryManager.h>
|
typedef size_t | AggregationId |
| Aggregation ID.
|
|
virtual HdBufferArraySharedPtr | CreateBufferArray (TfToken const &role, HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint)=0 |
| Factory for creating HdBufferArray.
|
|
virtual HdBufferArrayRangeSharedPtr | CreateBufferArrayRange ()=0 |
| Factory for creating HdBufferArrayRange.
|
|
virtual AggregationId | ComputeAggregationId (HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint) const =0 |
| Returns id for given bufferSpecs to be used for aggregation.
|
|
virtual HdBufferSpecVector | GetBufferSpecs (HdBufferArraySharedPtr const &bufferArray) const =0 |
| Returns the buffer specs from a given buffer array.
|
|
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.
|
|
virtual HDST_API void | Flush () |
| (Optional) called to Flush consolidated / staging buffers.
|
|
Interleaved memory manager (base class).
Definition at line 54 of file interleavedMemoryManager.h.
◆ _StripedInterleavedBufferRangePtr
◆ _StripedInterleavedBufferRangeSharedPtr
◆ _StripedInterleavedBufferSharedPtr
◆ HdStInterleavedMemoryManager()
◆ CreateBufferArrayRange()
HdBufferArrayRangeSharedPtr CreateBufferArrayRange |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ GetBufferSpecs()
HdBufferSpecVector GetBufferSpecs |
( |
HdBufferArraySharedPtr const & |
bufferArray | ) |
const |
|
overrideprotectedvirtual |
◆ GetResourceAllocation()
size_t GetResourceAllocation |
( |
HdBufferArraySharedPtr const & |
bufferArray, |
|
|
VtDictionary & |
result |
|
) |
| const |
|
overrideprotectedvirtual |
◆ _resourceRegistry
The documentation for this class was generated from the following file: