MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kakshya::VertexAttributeLayout Struct Reference

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".
 

Detailed Description

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.


The documentation for this struct was generated from the following file: