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::StableDynamicArrayMetrics Struct Reference

Used for returning information about the internal state of the StableDynamicArray. More...

#include <StableDynamicArray.h>

Public Attributes

AZStd::vector< size_t > m_elementsPerPage
 
size_t m_totalElements = 0
 
size_t m_emptyPages = 0
 
float m_itemToPageRatio = 0.0f
 

Detailed Description

Used for returning information about the internal state of the StableDynamicArray.

Member Data Documentation

◆ m_itemToPageRatio

float AZ::StableDynamicArrayMetrics::m_itemToPageRatio = 0.0f

1.0 = there are no more pages then there needs to be, 0.5 means there are twice as many pages as needed etc. This can be used to help decide if it's worth compacting handles into fewer pages.


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