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::MemoryStatistics::Buffer Struct Reference

Public Attributes

Name m_name
 The user-provided name of the buffer instance.
 
BufferBindFlags m_bindFlags = BufferBindFlags::None
 Bind flags of the buffer.
 
size_t m_sizeInBytes = 0
 The memory usage of the buffer on the pool.
 
float m_fragmentation = 0.f
 

Member Data Documentation

◆ m_fragmentation

float AZ::RHI::MemoryStatistics::Buffer::m_fragmentation = 0.f

The fragmentation within the buffer (optional). If supplied, should be computed as: 1 - (largest free block byte size) / (total free memory). Buffers that do not suballocate do not need to provide this quantity


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