Skip to content

LiteFX::Rendering::Backends::VulkanDescriptorLayout::VulkanDescriptorLayout

Constructors

Synopses

Declared in <litefx/backends/vulkan.hpp>

Copy constructor

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

» more...

Move constructor

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

» more...

Initializes a new Vulkan descriptor layout for an input attachment.

[[dllimport, dllexport]] VulkanDescriptorLayout(
    UInt32 binding,
    UInt32 inputAttachmentIndex);

» more...

Initializes a new Vulkan descriptor layout for a static sampler.

[[dllimport, dllexport]] VulkanDescriptorLayout(
    IVulkanSampler const& staticSampler,
    UInt32 binding);

» more...

Initializes a new Vulkan descriptor layout.

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

» more...

Parameters

NameDescription
bindingThe binding point for the descriptor.
inputAttachmentIndexIf type equals DescriptorType::InputAttachment this value specifies the index of the input attachment. Otherwise, the value is ignored.
staticSamplerThe static sampler to initialize the state with.
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.

See Also

descriptors