Skip to content

LiteFX::Rendering::DescriptorSetLayoutBuilder::makeDescriptor

Creates a descriptor to the descriptor set layout.

Synopsis

Declared in <litefx/rendering_builders.hpp>

constexpr virtual descriptor_layout_type makeDescriptor(
    DescriptorType type,
    UInt32 binding,
    UInt32 descriptorSize,
    UInt32 descriptors,
    bool unbounded) = 0;

Return Value

The descriptor layout instance.

Parameters

NameDescription
typeThe type of the descriptor.
bindingThe binding point for the descriptor.
descriptorSizeThe size of a single descriptor.
descriptorsThe number of descriptors to bind.
unboundedtrue if the descriptor should define an unbounded array and false otherwise.