Skip to content

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

Initializes a new Vulkan descriptor layout.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

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

Parameters

NameDescription
typeThe type of the descriptor.
bindingThe binding point for 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