Skip to main content

TARGET_FORMAT

Constant TARGET_FORMAT 

Source
pub const TARGET_FORMAT: TextureFormat;
Expand description

The non-sRGB offscreen colour format. Chosen so solid-colour readback is byte-exact (sRGB encoding would skew the stored values).