LiteFX::Rendering::Backends::DirectX12PipelineLayout::create¶
Creates a new DirectX 12 render pipeline layout.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] static auto create(
DirectX12Device const& device,
Enumerable<SharedPtr<DirectX12DescriptorSetLayout>> const& descriptorSetLayouts,
UniquePtr<DirectX12PushConstantsLayout>&& pushConstantsLayout);
Return Value¶
A shared pointer to the newly created pipeline layout instance.
Parameters¶
| Name | Description |
|---|---|
| device | The parent device, the layout is created from. |
| descriptorSetLayouts | The descriptor set layouts used by the pipeline. |
| pushConstantsLayout | The push constants layout used by the pipeline. |