Skip to content

LiteFX::Rendering::DescriptorSetLayout::allocate

Allocates an array of descriptor sets.

Synopsis

Declared in <litefx/rendering.hpp>

virtual UniquePtr<descriptor_set_type> allocate(
    UInt32 descriptors,
    std::initializer_list<DescriptorBinding> bindings) const = 0;

Return Value

A generator that produces the descriptor set instances.

Parameters

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

See Also

allocate(std::initializer_list)