Skip to content

LiteFX::Rendering::Backends::VulkanDescriptorSetLayout::allocate

Allocates an array of descriptor sets.

Synopsis

Declared in <litefx/rendering.hpp>

[[dllimport, dllexport]] virtual Generator<UniquePtr<descriptor_set_type>> allocate(
    UInt32 descriptorSets,
    std::function<Generator<DescriptorBinding>(UInt32)> bindings) const;

Return Value

A generator that produces the descriptor set instances.

Parameters

NameDescription
descriptorSetsThe number of descriptor sets to allocate.

See Also

allocate(std::initializer_list)