A descriptor used to configure limits for each backend.
More...
#include <PlatformLimitsDescriptor.h>
Inherits AZ::RHI::PlatformLimitsDescriptor.
|
static void | Reflect (AZ::ReflectContext *context) |
|
static void | Reflect (AZ::ReflectContext *context) |
|
static RHI::Ptr< PlatformLimitsDescriptor > | Create () |
|
|
static const uint32_t | NumHeapFlags = 2 |
|
A descriptor used to configure limits for each backend.
◆ LoadPlatformLimitsDescriptor()
void AZ::DX12::PlatformLimitsDescriptor::LoadPlatformLimitsDescriptor |
( |
const char * |
rhiName | ) |
|
|
overridevirtual |
◆ m_descriptorHeapLimits
AZStd::unordered_map<AZStd::string, AZStd::array<uint32_t, NumHeapFlags> > AZ::DX12::PlatformLimitsDescriptor::m_descriptorHeapLimits |
string key: string version of DESCRIPTOR_HEAP_TYPE. int array: Max count for descriptors
◆ m_staticDescriptorRatio
float AZ::DX12::PlatformLimitsDescriptor::m_staticDescriptorRatio = 0.5f |
Denote portion of the shader-visible descriptor heap used to maintain static handles. NOTE: dynamic descriptors are needed to allocate per-frame descriptor tables for resources that are not bound via bindless, so this number should reflect that. If the majority of resources correctly leverage the bindless mechanism, this number can be higher (e.g. [0.8f, 0.9f]).
The documentation for this class was generated from the following file:
- Gems/Atom/RHI/DX12/Code/Include/Atom/RHI.Reflect/DX12/PlatformLimitsDescriptor.h