Inherited by AZ::RHI::AliasedHeapDescriptor, AZ::RHI::BufferPoolDescriptor, AZ::RHI::ImagePoolDescriptor, AZ::RHI::QueryPoolDescriptor, AZ::RHI::ShaderResourceGroupPoolDescriptor, AZ::RHI::StreamingImagePoolDescriptor, and AZ::RHI::SwapChainDescriptor.
|
static void | Reflect (AZ::ReflectContext *context) |
|
AZ::u64 AZ::RHI::ResourcePoolDescriptor::m_budgetInBytes = 0 |
The budget defines the maximum amount of memory the pool is allowed to consume on its heap level. If the budget is zero, the budget is not enforced by the RHI and reservations can grow unbounded. However, the platform itself may still report out of memory errors. Therefore, it is strongly recommended to assign a budget to Device pools where virtual memory is not present on most platforms.
The documentation for this class was generated from the following file:
- Gems/Atom/RHI/Code/Include/Atom/RHI.Reflect/ResourcePoolDescriptor.h