Skip to main content

want

Function want 

Source
pub fn want(ctx: &Context, viewport: ViewportId, wanted: DisplayTarget)
Expand description

Declares what the application wants for a window: Display P3, HDR. The viewport draws it when the surface carries it, and says why not otherwise (Resolution::fallback).