HDK
 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
HdBufferArraySharedPtr 
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 HdStAggregationStrategy
virtual HDST_API ~HdStAggregationStrategy ()
 
virtual HDST_API void Flush ()
 (Optional) called to Flush consolidated / staging buffers. More...
 

Additional Inherited Members

- Public Types inherited from HdStAggregationStrategy
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 340 of file interleavedMemoryManager.h.

Constructor & Destructor Documentation

HdStInterleavedUBOMemoryManager::HdStInterleavedUBOMemoryManager ( HdStResourceRegistry resourceRegistry)
inline

Definition at line 342 of file interleavedMemoryManager.h.

Member Function Documentation

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

Returns id for given bufferSpecs to be used for aggregation.

Implements HdStAggregationStrategy.

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

Factory for creating HdBufferArray managed by HdStVBOMemoryManager aggregation.

Implements HdStAggregationStrategy.


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