Skip to content

LiteFX::Rendering::PipelineLayoutBuilder

Base class for a builder of a PipelineLayout.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TPipelineLayout>
requires meta::implements<TPipelineLayout, PipelineLayout<typename TPipelineLayout::descriptor_set_layout_type, typename TPipelineLayout::push_constants_layout_type>>
class PipelineLayoutBuilder
    : public Builder<TPipelineLayout, std::nullptr_t, SharedPtr<TPipelineLayout>>

Base Classes

NameDescription
Builder<TPipelineLayout, std::nullptr_t, SharedPtr<TPipelineLayout>>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.
parent Returns a reference of the parent builder.
use use overloads

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 pipeline layout state.

Template Parameters

NameDescription
TPipelineLayoutThe type of the pipeline layout. Must implement PipelineLayout.

Derived Classes

NameDescription
DirectX12PipelineLayoutBuilder Builds a DirectX 12 PipelineLayout for a pipeline.
VulkanPipelineLayoutBuilder Builds a Vulkan PipelineLayout for a pipeline.

See Also

PipelineLayout