Skip to main content

color_space

Function color_space 

Source
pub fn color_space(
    space: SurfaceColorSpace,
    format: TextureFormat,
) -> ColorSpace
Expand description

The display stage’s colour space for a wgpu one; Auto as wgpu resolves it (extended linear on half floats, sRGB otherwise).