All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdStInterleavedUBOMemoryManager Class Reference

#include <interleavedMemoryManager.h>

+ Inheritance diagram for HdStInterleavedUBOMemoryManager:

Public Member Functions

 HdStInterleavedUBOMemoryManager (HdStResourceRegistry *resourceRegistry)
virtual HDST_API
CreateBufferArray (TfToken const &role, HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint)
virtual HDST_API AggregationId ComputeAggregationId (HdBufferSpecVector const &bufferSpecs, HdBufferArrayUsageHint usageHint) const
 Returns id for given bufferSpecs to be used for aggregation. More...
- Public Member Functions inherited from HdAggregationStrategy
virtual HD_API ~HdAggregationStrategy ()
virtual HD_API void Flush ()
 (Optional) called to Flush consolidated / staging buffers. More...

Additional Inherited Members

- Public Types inherited from HdAggregationStrategy
typedef size_t AggregationId
 Aggregation ID. More...
- Protected Types inherited from HdStInterleavedMemoryManager
using _StripedInterleavedBufferSharedPtr = std::shared_ptr< _StripedInterleavedBuffer >
using _StripedInterleavedBufferRangeSharedPtr = std::shared_ptr< _StripedInterleavedBufferRange >
using _StripedInterleavedBufferRangePtr = std::weak_ptr< _StripedInterleavedBufferRange >
- Protected Member Functions inherited from HdStInterleavedMemoryManager
 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 inherited from HdStInterleavedMemoryManager
HdStResourceRegistry *const _resourceRegistry

Detailed Description

Definition at line 345 of file interleavedMemoryManager.h.

Constructor & Destructor Documentation

HdStInterleavedUBOMemoryManager::HdStInterleavedUBOMemoryManager ( HdStResourceRegistry resourceRegistry)

Definition at line 347 of file interleavedMemoryManager.h.

Member Function Documentation

virtual HDST_API AggregationId HdStInterleavedUBOMemoryManager::ComputeAggregationId ( HdBufferSpecVector const bufferSpecs,
HdBufferArrayUsageHint  usageHint 
) const

Returns id for given bufferSpecs to be used for aggregation.

Implements HdAggregationStrategy.

virtual HDST_API HdBufferArraySharedPtr HdStInterleavedUBOMemoryManager::CreateBufferArray ( TfToken const role,
HdBufferSpecVector const bufferSpecs,
HdBufferArrayUsageHint  usageHint 

Factory for creating HdBufferArray managed by HdStVBOMemoryManager aggregation.

Implements HdAggregationStrategy.

The documentation for this class was generated from the following file: