Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorLayout::DirectX12DescriptorLayout

Constructors

Synopses

Declared in <litefx/backends/dx12.hpp>

Copy constructor

[[dllimport, dllexport]] DirectX12DescriptorLayout(DirectX12DescriptorLayout const& other);

» more...

Move constructor

[[dllimport, dllexport]] DirectX12DescriptorLayout(DirectX12DescriptorLayout&& other) noexcept;

» more...

Initializes a new DirectX 12 descriptor layout for a static sampler.

[[dllimport, dllexport]] DirectX12DescriptorLayout(
    IDirectX12Sampler const& staticSampler,
    UInt32 binding,
    bool local = false);

» more...

Initializes a new DirectX 12 descriptor layout.

[[dllimport, dllexport]] DirectX12DescriptorLayout(
    DescriptorType type,
    UInt32 binding,
    size_t elementSize,
    UInt32 descriptors = 1,
    bool unbounded = false,
    bool local = false);

» more...

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.
typeThe type of the descriptor.
elementSizeThe size of the descriptor.
descriptorsThe number of descriptors in the descriptor array. If unbounded is set, this value sets the upper limit for the array size.
unboundedIf set to true, the descriptor will be defined as a runtime-allocated, unbounded array.