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 (Hgi *hgi)
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 ()

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 (Hgi *hgi)
virtual HdBufferArrayRangeSharedPtr CreateBufferArrayRange ()
 Factory for creating HdBufferArrayRange. More...
virtual HdBufferSpecVector GetBufferSpecs (HdBufferArraySharedPtr const &bufferArray) const
 Returns the buffer specs from a given buffer array. More...
virtual size_t GetResourceAllocation (HdBufferArraySharedPtr const &bufferArray, VtDictionary &result) const
 Returns the size of the GPU memory used by the passed buffer array. More...
- Protected Attributes inherited from HdStInterleavedMemoryManager

Detailed Description

Definition at line 297 of file interleavedMemoryManager.h.

Constructor & Destructor Documentation

HdStInterleavedUBOMemoryManager::HdStInterleavedUBOMemoryManager ( Hgi hgi)

Definition at line 299 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: