Skip to content

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

Allocates an array of descriptor sets.

Synopsis

Declared in <litefx/rendering.hpp>

[[dllimport, dllexport]] UniquePtr<descriptor_set_type> allocate(
    UInt32 unboundedArraySize,
    std::initializer_list<DescriptorBinding> bindings) const;

Return Value

A generator that produces the descriptor set instances.

Parameters

NameDescription
bindingsOptional default bindings for descriptors in each descriptor set.
unboundedArraySizeA type for an unsigned 32 bit integer.

See Also

allocate(std::initializer_list)