Skip to main content

RESULT

Constant RESULT 

pub const RESULT: &'static str;
Expand description

The result every surface shader returns: an opaque or translucent colour for the fragment (alpha last). The toolkit holds what it paints inside the material’s legibility band, so a shader cannot break ink’s contrast.