LiteFX::Rendering::Backends::DirectX12DescriptorLayout::DirectX12DescriptorLayout¶
Initializes a new DirectX 12 descriptor layout.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] DirectX12DescriptorLayout(
DescriptorType type,
UInt32 binding,
size_t elementSize,
UInt32 descriptors = 1,
bool unbounded = false,
bool local = false);
Parameters¶
| Name | Description |
|---|---|
| type | The type of the descriptor. |
| binding | The binding point for the descriptor. |
| elementSize | The size of the descriptor. |
| descriptors | The number of descriptors in the descriptor array. If unbounded is set, this value sets the upper limit for the array size. |
| unbounded | If set to true, the descriptor will be defined as a runtime-allocated, unbounded array. |
| local | Determines if the descriptor is part of the local or global root signature for ray-tracing shaders. |