LiteFX::Rendering::Backends::DirectX12ComputePipeline::DirectX12ComputePipeline¶
Initializes a new DirectX 12 compute pipeline.
Synopses¶
Declared in <litefx/backends/dx12.hpp>
Copy constructor
DirectX12ComputePipeline(DirectX12ComputePipeline const& other) = delete;
Move constructor
[[dllimport, dllexport]] DirectX12ComputePipeline(DirectX12ComputePipeline&& other) noexcept;
Initializes a new DirectX 12 compute pipeline.
[[dllimport, dllexport]] explicit DirectX12ComputePipeline(
DirectX12Device const& device,
SharedPtr<DirectX12PipelineLayout> const& layout,
SharedPtr<DirectX12ShaderProgram> const& shaderProgram,
String const& name = "");
Parameters¶
| Name | Description |
|---|---|
| device | The parent device. |
| layout | The layout of the pipeline. |
| shaderProgram | The shader program used by this pipeline. |
| name | The optional debug name of the compute pipeline. |