Skip to content

LiteFX::Rendering::ComputePipelineBuilder

Describes the interface of a compute pipeline builder.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TComputePipeline>
requires meta::implements<TComputePipeline, ComputePipeline<typename TComputePipeline::pipeline_layout_type, typename TComputePipeline::shader_program_type>>
class ComputePipelineBuilder
    : public Builder<TComputePipeline>

Base Classes

NameDescription
Builder<TComputePipeline>Describes an generic builder type.

Type Aliases

Member Functions

NameDescription
operator= Assignment operators
add First, calls build, then use on the parent builder using the current object instance and finally returns the parent builder.
instance Returns a pointer to the current instance of the object that is built by the builder.
layout Uses the provided pipeline layout to initialize the compute pipeline. Can be invoked only once.
parent Returns a reference of the parent builder.
shaderProgram Adds a shader program to the pipeline.
use [deleted]Called by child builders to pass a constructed object back to the parent builder.

Using Declarations

Protected Member Functions

NameDescription
build [virtual]Can be overwritten to perform any pre-construction work before the builder returns the final object instance.
instance Returns a pointer to the current instance of the object that is built by the builder.
state Returns the current compuite pipeline state.

Template Parameters

NameDescription
TComputePipelineThe type of the compute pipeline. Must implement ComputePipeline.

Derived Classes

See Also

ComputePipeline