Skip to content

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

create overloads

Synopses

Declared in <litefx/backends/vulkan.hpp>

Creates a copy of a Vulkan descriptor set layout.

[[dllimport, dllexport]] static auto create(VulkanDescriptorSetLayout const& other);

» more...

Creates a Vulkan descriptor set layout.

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

» more...

Return Value

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

Parameters

NameDescription
otherThe descriptor set layout to copy.
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.