Skip to content

LiteFX::Rendering::Backends::DirectX12RenderPipeline

Implements a DirectX 12 RenderPipeline.

Synopsis

Declared in <litefx/backends/dx12.hpp>

class [[dllimport, dllexport]] DirectX12RenderPipeline final
    : public virtual DirectX12PipelineState
    , public RenderPipeline<DirectX12PipelineLayout, DirectX12ShaderProgram, DirectX12InputAssembler, DirectX12Rasterizer>

Base Classes

NameDescription
DirectX12PipelineStateDefines the base class for DirectX 12 pipeline state objects.
RenderPipeline<DirectX12PipelineLayout, DirectX12ShaderProgram, DirectX12InputAssembler, DirectX12Rasterizer>Represents a graphics Pipeline.

Type Aliases

Member Functions

NameDescription
DirectX12RenderPipeline [constructor]Initializes a new DirectX 12 render pipeline.
~DirectX12RenderPipeline [destructor] [virtual]Destructor
operator= Assignment operators
alphaToCoverage [virtual]Returns true, if the pipeline uses Alpha-to-Coverage multi-sampling.
handle [virtual]Returns the resource managed by the class.
inputAssembler [virtual]Returns the input assembler state used by the render pipeline.
layout [virtual]Returns the layout of the render pipeline.
program [virtual]Returns the shader program used by the pipeline.
rasterizer [virtual]Returns the rasterizer state used by the render pipeline.
samples [virtual]Returns the multi-sampling level of the pipeline.
updateSamples [virtual]Changes the multi-sampling level of the pipeline.
use [virtual]Sets the current pipeline state on the commandBuffer.

Protected Member Functions

NameDescription
operator= Assignment operators
handle [virtual]Returns the resource managed by the class.

Protected Using Declarations

Friends

NameDescription
LiteFX::Rendering::Backends::DirectX12RenderPipelineBuilderBuilds a DirectX 12 RenderPipeline.
LiteFX::Rendering::Backends::DirectX12RenderPipeline::DirectX12RenderPipelineImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

DirectX12ComputePipeline

DirectX12RenderPipelineBuilder