Skip to content

LiteFX::Rendering::ComputePipeline

Represents a compute Pipeline.

Synopsis

Declared in <litefx/rendering.hpp>

template<
    typename TPipelineLayout,
    typename TShaderProgram>
class ComputePipeline
    : public IComputePipeline
    , public virtual Pipeline<TPipelineLayout, TShaderProgram>

Base Classes

NameDescription
IComputePipelineThe interface for a compute pipeline.
Pipeline<TPipelineLayout, TShaderProgram>Represents a pipeline state.

Member Functions

NameDescription
~ComputePipeline [destructor] [virtual]Destructor
layout Returns the layout of the render pipeline.
name [virtual]Returns the name of the resource.
program Returns the shader program used by the pipeline.

Protected Member Functions

NameDescription
ComputePipeline [constructor]Constructors
operator= Assignment operators
name Returns the name of the resource.

Derived Classes

NameDescription
DirectX12ComputePipeline Implements a DirectX 12 ComputePipeline.
VulkanComputePipeline Implements a Vulkan ComputePipeline.

Template Parameters

NameDescription
TPipelineLayoutThe type of the render pipeline layout. Must implement PipelineLayout.
TShaderProgramThe type of the shader program. Must implement ShaderProgram.

See Also

ComputePipelineBuilder