Describes an individual vertex attribute, typically part of a vertex binding.
More...
#include <kanzi/gfx/create_info.hpp>
|
| Format | format |
| | The format of the vertex attribute.
|
| |
| string | name |
| | The name of the attribute as defined in the shader.
|
| |
| uint32_t | offset |
| | The offset in bytes within the per-vertex stride.
|
| |
Describes an individual vertex attribute, typically part of a vertex binding.
- Since
- Kanzi 4.0.0
◆ compare()
Perform comparison against another vertex attribute.
- Parameters
-
| other | Vertex attribute to compare against. |
- Returns
- Negative value if this appears before the other object in ordering. Positive value if this appears after. 0 if equal.
◆ name
| string kanzi::gfx::VertexAttribute::name |
The name of the attribute as defined in the shader.
◆ format
| Format kanzi::gfx::VertexAttribute::format |
The format of the vertex attribute.
◆ offset
| uint32_t kanzi::gfx::VertexAttribute::offset |
The offset in bytes within the per-vertex stride.
The documentation for this struct was generated from the following file: