Skip to content

LiteFX::Rendering::InputAssemblerBuilder::use

Adds a vertex buffer layout to the input assembler. Can be called multiple times.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
constexpr TSelf&& use(this 
    TSelf&& self,
    SharedPtr<vertex_buffer_layout_type>&& layout);

Parameters

NameDescription
layoutThe vertex buffer layout to add to the input assembler.