|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
Public user-facing vertex representation for point and line primitives. More...
#include <flint/graphics/types/primitive-types.h>
Collaboration diagram for Flint::PrimitiveVertex:Public Attributes | |
| Vec2f | position |
| World-space 2-D vertex position. | |
| Color | color |
| RGBA color assigned to vertex. | |
Public user-facing vertex representation for point and line primitives.
Used by high-level API constructs (such as PrimitiveArray) to specify colored 2-D lines/points. RenderQueue transforms these into internal GPULineVertex units before uploading to GPU VBOs.
Definition at line 28 of file primitive-types.h.