Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::TransientAttachmentStatistics::Heap Struct Reference

Public Attributes

Name m_name
 
size_t m_heapSize = 0
 
size_t m_watermarkSize = 0
 
AZStd::vector< Attachmentm_attachments
 Vector of attachments that were allocated on this heap for the previous frame.
 
AliasedResourceTypeFlags m_resourceTypeFlags = AliasedResourceTypeFlags::RenderTarget
 The type of resources that the heap can allocate.
 

Member Data Documentation

◆ m_heapSize

size_t AZ::RHI::TransientAttachmentStatistics::Heap::m_heapSize = 0

The base size of the heap committed on the GPU. If the HeapPlacement policy is used, this represents a physical heap. If the ObjectPooling policy is used, it represents the total size of all attachments in the pool.

◆ m_watermarkSize

size_t AZ::RHI::TransientAttachmentStatistics::Heap::m_watermarkSize = 0

The watermark of allocations (simply the max of the heap offset across all scopes). If using the ObjectPooling policy, this will match the heap size.


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