Skip to content

LiteFX::Rendering::InputAssemblerBuilder

Builds a InputAssembler.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TInputAssembler>
requires meta::implements<TInputAssembler, InputAssembler<typename TInputAssembler::vertex_buffer_layout_type, typename TInputAssembler::index_buffer_layout_type>>
class InputAssemblerBuilder
    : public Builder<TInputAssembler, std::nullptr_t, SharedPtr<TInputAssembler>>

Base Classes

NameDescription
Builder<TInputAssembler, std::nullptr_t, SharedPtr<TInputAssembler>>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.
topology topology overloads
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 input assembler state.

Template Parameters

NameDescription
TInputAssemblerThe type of the input assembler state. Must implement InputAssembler.

Derived Classes

See Also

InputAssembler