Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorSetLayout::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::initializer_list<std::initializer_list<DescriptorBinding>> bindings = { }) const;

Return Value

A generator that produces the descriptor set instances.

Parameters

NameDescription
descriptorSetsThe number of descriptor sets to allocate.
bindingsOptional default bindings for descriptors in each descriptor set.

See Also

allocate(std::initializer_list)