Skip to main content

apply_ui_settings

Function apply_ui_settings 

Source
fn apply_ui_settings(options: &mut LitOptions, srgb_to_linear_output: bool)
Available on crate feature egui only.
Expand description

Apply the UI’s device-independent policy — the output conversion, culling, blending and the overlaid depth behavior — to a standard options set.

The geometry the UI draws with is not policy and lives in ui_channels and the variant: an encoding, a skin or a morph target is a property of the mesh, not of what the caller picked.