Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorSetLayout::allocate

Allocates an array of descriptor sets.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] virtual UniquePtr<DirectX12DescriptorSet> allocate(
    UInt32 descriptors,
    Generator<DescriptorBinding> bindings) const override;

Return Value

The instance of the descriptor set.

Parameters

NameDescription
descriptorsThe number of descriptor sets to allocate.
bindingsA generator that generates the optional default bindings for descriptors in each descriptor set.

See Also

allocate(std::initializer_list)