HDK
|
#include <interleavedMemoryManager.h>
Classes | |
class | _StripedInterleavedBuffer |
striped buffer More... | |
class | _StripedInterleavedBufferRange |
specialized buffer array range More... | |
Protected Types | |
using | _StripedInterleavedBufferSharedPtr = std::shared_ptr< _StripedInterleavedBuffer > |
using | _StripedInterleavedBufferRangeSharedPtr = std::shared_ptr< _StripedInterleavedBufferRange > |
using | _StripedInterleavedBufferRangePtr = std::weak_ptr< _StripedInterleavedBufferRange > |
Protected Member Functions | |
HdStInterleavedMemoryManager (HdStResourceRegistry *resourceRegistry) | |
HdBufferArrayRangeSharedPtr | CreateBufferArrayRange () override |
Factory for creating HdBufferArrayRange. More... | |
HdBufferSpecVector | GetBufferSpecs (HdBufferArraySharedPtr const &bufferArray) const override |
Returns the buffer specs from a given buffer array. More... | |
size_t | GetResourceAllocation (HdBufferArraySharedPtr const &bufferArray, VtDictionary &result) const override |
Returns the size of the GPU memory used by the passed buffer array. More... | |
Protected Attributes | |
HdStResourceRegistry *const | _resourceRegistry |
Additional Inherited Members | |
Public Types inherited from HdStAggregationStrategy | |
typedef size_t | AggregationId |
Aggregation ID. More... | |
Public Member Functions inherited from HdStAggregationStrategy | |
virtual HDST_API | ~HdStAggregationStrategy () |
virtual HdBufferArraySharedPtr | CreateBufferArray (TfToken const &role, HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint)=0 |
Factory for creating HdBufferArray. More... | |
virtual AggregationId | ComputeAggregationId (HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint) const =0 |
Returns id for given bufferSpecs to be used for aggregation. More... | |
virtual HDST_API void | Flush () |
(Optional) called to Flush consolidated / staging buffers. More... | |
Interleaved memory manager (base class).
Definition at line 54 of file interleavedMemoryManager.h.
|
protected |
Definition at line 204 of file interleavedMemoryManager.h.
|
protected |
Definition at line 202 of file interleavedMemoryManager.h.
|
protected |
Definition at line 200 of file interleavedMemoryManager.h.
|
inlineprotected |
Definition at line 322 of file interleavedMemoryManager.h.
|
overrideprotectedvirtual |
Factory for creating HdBufferArrayRange.
Implements HdStAggregationStrategy.
|
overrideprotectedvirtual |
Returns the buffer specs from a given buffer array.
Implements HdStAggregationStrategy.
|
overrideprotectedvirtual |
Returns the size of the GPU memory used by the passed buffer array.
Implements HdStAggregationStrategy.
|
protected |
Definition at line 337 of file interleavedMemoryManager.h.