Skip to content

LiteFX::Rendering::IDescriptorSetLayout::allocate

Allocates an array of descriptor sets.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] UniquePtr<IDescriptorSet> allocate(
    UInt32 unboundedArraySize,
    Span<DescriptorBinding const> 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)