LiteFX::Rendering::Backends::DirectX12InputAssemblerBuilder::vertexBuffer¶
Starts building a vertex buffer layout.
Synopsis¶
Declared in <litefx/backends/dx12_builders.hpp>
[[dllexport]] DirectX12VertexBufferLayoutBuilder vertexBuffer(
size_t elementSize,
UInt32 binding = 0);
Return Value¶
Builds a see DirectX12VertexBufferLayout.
Parameters¶
| Name | Description |
|---|---|
| elementSize | The size of a vertex within the vertex buffer. |
| binding | The binding point to bind the vertex buffer to. |