Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorSetLayout::create

create overloads

Synopses

Declared in <litefx/backends/dx12.hpp>

Creates a copy of a DirectX 12 descriptor set layout.

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

» more...

Creates a DirectX 12 descriptor set layout.

[[dllimport, dllexport]] static auto create(
    DirectX12Device const& device,
    Enumerable<DirectX12DescriptorLayout> 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.