Skip to content

LiteFX::Rendering::VertexBufferLayoutBuilder

Builds a IVertexBufferLayout.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<
    typename TVertexBufferLayout,
    typename TParent>
requires meta::implements<TVertexBufferLayout, IVertexBufferLayout>
class VertexBufferLayoutBuilder
    : public Builder<TVertexBufferLayout, TParent, SharedPtr<TVertexBufferLayout>>

Base Classes

NameDescription
Builder<TVertexBufferLayout, TParent, SharedPtr<TVertexBufferLayout>>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.
atRate Specifies the input rate for the vertex buffer layout.
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 [deleted]Called by child builders to pass a constructed object back to the parent builder.
withAttribute Adds an attribute to the vertex buffer layout.

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 vertex buffer layout state.

Template Parameters

NameDescription
TVertexBufferLayoutThe type of the vertex buffer layout. Must implement IVertexBufferLayout.

Derived Classes

See Also

IVertexBufferLayout