Expand description
Analytical Signed Distance Field (SDF) 2D Rasterizer & Headless Software FrameBuffer.
Structs§
- Frame
Buffer - Headless in-memory RGBA pixel canvas for software rasterization and automated testing.
Constants§
- SRGB_
GAMMA - Standard sRGB gamma exponent for perceptual linearity compensation.
Functions§
- linear_
to_ srgb - Converts linear luminance [0.0..1.0] to an 8-bit sRGB value [0..255].
- sd_
rounded_ rect - Analytical Signed Distance Field for a rounded rectangle.
- sdf_
coverage - Computes pixel coverage weight [0.0, 1.0] from signed distance.
- srgb_
to_ linear - Converts an 8-bit sRGB value [0..255] to linear luminance [0.0..1.0].
Type Aliases§
- Rasterizer
- Authentic analytical software rasterizer alias matching FrameBuffer.