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);
Creates a DirectX 12 descriptor set layout.
[[dllimport, dllexport]] static auto create(
DirectX12Device const& device,
Enumerable<DirectX12DescriptorLayout> const& descriptorLayouts,
UInt32 space,
ShaderStage stages);
Return Value¶
Returns a shared pointer to the newly created descriptor set layout.
Parameters¶
| Name | Description |
|---|---|
| other | The descriptor set layout to copy. |
| device | The device, the descriptor set layout is created on. |
| descriptorLayouts | The descriptor layouts of the descriptors within the descriptor set. |
| space | The space or set id of the descriptor set. |
| stages | The shader stages, the descriptor sets are bound to. |