Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
TrailVertex Struct Reference

Per-vertex data for the ribbon triangle strip. More...

#include <trail_renderer.h>

Data Fields

float position [3]
 
float u
 
float color [3]
 
float v
 

Detailed Description

Per-vertex data for the ribbon triangle strip.

32 bytes per vertex, cache-line friendly.

Field Documentation

◆ color

float TrailVertex::color[3]

HDR emissive color (pre-multiplied).

◆ position

float TrailVertex::position[3]

World position.

◆ u

float TrailVertex::u

Along trail: 0=head, 1=tail.

◆ v

float TrailVertex::v

Across ribbon: 0=left edge, 1=right edge.


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