Skip to content

LiteFX::Rendering::Backends::DirectX12VertexBufferLayoutBuilder::atRate

Specifies the input rate for the vertex buffer layout.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& atRate(this 
    TSelf&& self,
    VertexBufferInputRate inputRate);

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
inputRateThe rate at which data of the vertex buffer is made available to the vertex shader.