|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
Semantic description of a single vertex attribute. More...
#include <VertexLayout.hpp>
Collaboration diagram for MayaFlux::Kakshya::VertexAttributeLayout:Public Attributes | |
| DataModality | component_modality |
| Semantic type of this attribute e.g., VERTEX_POSITIONS_3D → vec3, TEXTURE_COORDS_2D → vec2. | |
| uint32_t | offset_in_vertex = 0 |
| Byte offset of this attribute within one vertex e.g., position at 0, normal at 12, color at 24. | |
| std::string | name |
| Optional name for debugging/introspection e.g., "position", "normal", "texCoord". | |
Semantic description of a single vertex attribute.
Describes one component of vertex data without exposing Vulkan types. The modality encodes everything needed (3D position, 2D texture coords, etc.)
Definition at line 14 of file VertexLayout.hpp.