Skip to main content

Crate xgpui_gamut

Crate xgpui_gamut 

Source
Expand description

Opt-in wide SDR content producers. Window presentation remains a host concern. Colors are explicitly linear Display P3/D65; native GPUI colors remain sRGB.

Re-exports§

pub use xgpui_color as color;

Structs§

WideColor
Immutable bounded-SDR color in linear Display P3/D65, with straight input alpha. Prepared textures store associated RGB/alpha and require a wide-capable host.