cheatah
Struct

plot::renderer::RasterParams

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

The uniform parameter block the kernels read (bound as a trailing uint buffer, the proven emulated-Metal-compatible convention): framebuffer size, the tile grid, and the clear colour.

Constants & variables

var std::uint32_t width #

framebuffer width in pixels.

var std::uint32_t height #

framebuffer height in pixels.

var std::uint32_t tiles_x #

ceil(width / kTile) — the tile grid's stride.

var std::uint32_t clear #

the packed background colour (plot_clear writes it everywhere).