Skip to content

LiteFX::Rendering::Backends::VulkanDescriptorSetLayout::create

Creates a Vulkan descriptor set layout.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] static auto create(
    VulkanDevice const& device,
    Enumerable<VulkanDescriptorLayout> const& descriptorLayouts,
    UInt32 space,
    ShaderStage stages);

Return Value

Returns a shared pointer to the newly created descriptor set layout.

Parameters

NameDescription
deviceThe device, the descriptor set layout is created on.
descriptorLayoutsThe descriptor layouts of the descriptors within the descriptor set.
spaceThe space or set id of the descriptor set.
stagesThe shader stages, the descriptor sets are bound to.