Skip to content

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

NameDescription
staticSamplerThe static sampler to initialize the state with.
bindingThe binding point for the descriptor.
localDetermines if the descriptor is part of the local or global root signature for ray-tracing shaders.