fn strip_srgb(format: TextureFormat) -> TextureFormatExpand description
Returns the non-sRGB variant of a texture format. This prevents the GPU from applying automatic linear→sRGB gamma conversion, which would double-gamma colors that are already in sRGB space (e.g., CSS colors).