|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
Internal vertex structure sent directly to line/point primitive shaders. More...
#include <flint/graphics/types/batch-vertex.h>
Collaboration diagram for Flint::GPULineVertex:Public Attributes | |
| float | pos [2] |
| Normalized device coordinates (NDC) in range [-1, 1]. | |
| float | color [4] |
| Normalized RGBA color channels in range [0.0, 1.0]. | |
Internal vertex structure sent directly to line/point primitive shaders.
Unlike the public PrimitiveVertex type, GPULineVertex holds normalized device coordinates (NDC) and float-based RGBA channels prepared by the RenderQueue transformation pass.
Definition at line 47 of file batch-vertex.h.