LiteFX::Rendering::Backends::DirectX12RenderPipeline::DirectX12RenderPipeline¶
Initializes a new DirectX 12 render pipeline.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] explicit DirectX12RenderPipeline(
DirectX12RenderPass const& renderPass,
SharedPtr<DirectX12PipelineLayout> const& layout,
SharedPtr<DirectX12ShaderProgram> const& shaderProgram,
SharedPtr<DirectX12InputAssembler> const& inputAssembler,
SharedPtr<DirectX12Rasterizer> const& rasterizer,
MultiSamplingLevel samples = MultiSamplingLevel::x1,
bool enableAlphaToCoverage = false,
String const& name = "");
Parameters¶
| Name | Description |
|---|---|
| renderPass | The parent render pass. |
| shaderProgram | The shader program used by the pipeline. |
| layout | The layout of the pipeline. |
| inputAssembler | The input assembler state of the pipeline. |
| rasterizer | The rasterizer state of the pipeline. |
| samples | The initial multi-sampling level of the render pipeline. |
| enableAlphaToCoverage | Whether or not to enable Alpha-to-Coverage multi-sampling. |
| name | The optional name of the render pipeline. |