LiteFX::Rendering::Backends::DirectX12DescriptorLayout::DirectX12DescriptorLayout¶
Initializes a new DirectX 12 descriptor layout for a static sampler.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] DirectX12DescriptorLayout(
IDirectX12Sampler const& staticSampler,
UInt32 binding,
bool local = false);
Parameters¶
| Name | Description |
|---|---|
| staticSampler | The static sampler to initialize the state with. |
| binding | The binding point for the descriptor. |
| local | Determines if the descriptor is part of the local or global root signature for ray-tracing shaders. |