Skip to content

LiteFX::Rendering::Backends::DirectX12RenderPipelineBuilder

Builds a DirectX 12 RenderPipeline.

Synopsis

Declared in <litefx/backends/dx12_builders.hpp>

class [[dllexport, nodiscard]] DirectX12RenderPipelineBuilder final
    : public RenderPipelineBuilder<DirectX12RenderPipeline>

Base Classes

NameDescription
RenderPipelineBuilder<DirectX12RenderPipeline>Describes the interface of a render pipeline builder.

Type Aliases

Member Functions

NameDescription
DirectX12RenderPipelineBuilder [constructor]Initializes a DirectX 12 render pipeline builder.
~DirectX12RenderPipelineBuilder [destructor] [virtual]Destructor
operator= Assignment operators
build [virtual]Can be overwritten to perform any pre-construction work before the builder returns the final object instance.
enableAlphaToCoverage Enables Alpha-to-Coverage multi-sampling on the pipeline.
inputAssembler Uses the provided input assembler state to initialize the render pipeline. Can be invoked only once.
layout Uses the provided pipeline layout to initialize the render pipeline. Can be invoked only once.
rasterizer Uses the provided rasterizer state to initialize the render pipeline. Can be invoked only once.
samples Sets the multi-sampling level of the render pipeline.
shaderProgram Adds a shader program to the pipeline layout.

Using Declarations

Return Value

Note

The return value should not be discarded.

See Also

DirectX12RenderPipeline