GGUI/Public/ReferenceRaster.h file

CPU reference rasterizer.

Runs the same per-pixel maths as the UI shaders (rounded-rect distance, border, clip, linear blending). The GPU pass is tested against it, and it lets headless tests see a document. Slow; never used to draw to the screen.

Namespaces

namespace GGUI

Classes

struct GGUI::ReferenceImage
An image the reference rasterizer drew.
struct GGUI::ReferenceTextures
Texture access for the rasterizer: the glyph atlas and the texture table.