Describes a vertex buffer binding. More...
#include <kanzi/gfx/create_info.hpp>
Public Member Functions | |
| int | compare (const VertexBinding &other) const |
| Perform comparison against another vertex binding. | |
Public Attributes | |
| vector< VertexAttribute > | attributes |
| List of Vertex Attributes. | |
| VertexInputRate | bindType |
| The bind type of the shader, per vertex or per instance. | |
| uint32_t | bufferBindSlot |
| The buffer binding slot. | |
| uint32_t | stride |
| The stride in bytes for each vertex. | |
Describes a vertex buffer binding.
|
inline |
Perform comparison against another vertex binding.
| other | Vertex binding to compare against. |
| uint32_t kanzi::gfx::VertexBinding::bufferBindSlot |
The buffer binding slot.
| uint32_t kanzi::gfx::VertexBinding::stride |
The stride in bytes for each vertex.
| VertexInputRate kanzi::gfx::VertexBinding::bindType |
The bind type of the shader, per vertex or per instance.
| vector<VertexAttribute> kanzi::gfx::VertexBinding::attributes |
List of Vertex Attributes.