Parameters when using the MemoryHint heap allocation strategy.
More...
#include <AliasedHeapEnums.h>
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
AZ::u64 | m_minHeapSizeInBytes = DefaultMinHeapSize |
| Minimum size of a heap to use.
|
|
uint32_t | m_collectLatency = DefaultCollectLatency |
| Number of frames a heap must be over the m_maxHeapWastedPercentage to compact (or release if is empty).
|
|
float | m_heapSizeScaleFactor = DefaultScaleFactor |
| Scale factor applied when allocating a new heap. Useful for allocating "extra" space to avoid new allocations during window resizing.
|
|
float | m_maxHeapWastedPercentage = DefaultMaxWastedPercentage |
| Max percentage of wasted space of a heap before is compacted.
|
|
|
static constexpr size_t | DefaultMinHeapSize = 32 * 1024 * 1024 |
|
static constexpr uint32_t | DefaultCollectLatency = 1 |
|
static constexpr float | DefaultScaleFactor = 1.0f |
|
static constexpr float | DefaultMaxWastedPercentage = 0.35f |
|
Parameters when using the MemoryHint heap allocation strategy.
The documentation for this struct was generated from the following file:
- Gems/Atom/RHI/Code/Include/Atom/RHI.Reflect/AliasedHeapEnums.h