Skip to content

LiteFX::Rendering::Backends::DirectX12RenderPipeline::DirectX12RenderPipeline

Initializes a new DirectX 12 render pipeline.

Synopses

Declared in <litefx/backends/dx12.hpp>

Copy constructor

DirectX12RenderPipeline(DirectX12RenderPipeline const& other) = delete;

» more...

Move constructor

DirectX12RenderPipeline(DirectX12RenderPipeline&& other) noexcept = delete;

» more...

Initializes a new DirectX 12 render pipeline.

[[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 = "");

» more...

Parameters

NameDescription
renderPassThe parent render pass.
shaderProgramThe shader program used by the pipeline.
layoutThe layout of the pipeline.
inputAssemblerThe input assembler state of the pipeline.
rasterizerThe rasterizer state of the pipeline.
samplesThe initial multi-sampling level of the render pipeline.
enableAlphaToCoverageWhether or not to enable Alpha-to-Coverage multi-sampling.
nameThe optional name of the render pipeline.