Skip to main content

TEXTURE_FORMAT

Constant TEXTURE_FORMAT 

Source
const TEXTURE_FORMAT: TextureFormat;
Available on crate feature egui only.
Expand description

egui’s own texture format: gamma-space RGBA, never sRGB-aware.

egui’s vertex colors and its font atlas are already gamma-encoded, so a texture is sampled without conversion and the pipeline’s own output conversion deals with the target instead.