cheatah
Struct

plot::renderer::Prim

cheatah-plot v0.1.0-alpha — Biome Standard 0.6.3-alpha

One drawable primitive — a 64-byte POD laid out identically in C++ and Slang (16 four-byte lanes; no pointers, no padding surprises).

Geometry lanes f and aux lanes u are per-type, documented on PrimType.

Constants & variables

var std::uint32_t type #

the PrimType code.

var std::uint32_t rgba #

the packed draw colour (see pack_rgba).

var float f[10] #

geometry lanes (per-type meaning).

var std::uint32_t u[4] #

aux lanes (glyph bitmap rows; otherwise 0).