Skip to content

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

Allocates an array of descriptor sets.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

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

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)