Type Alias WebGLContextAttributes

Source
pub(crate) type WebGLContextAttributes = WebGLContextAttributes;

Aliased Type§

pub(crate) struct WebGLContextAttributes {
    pub alpha: bool,
    pub antialias: bool,
    pub depth: bool,
    pub failIfMajorPerformanceCaveat: bool,
    pub preferLowPowerToHighPerformance: bool,
    pub premultipliedAlpha: bool,
    pub preserveDrawingBuffer: bool,
    pub stencil: bool,
}

Fields§

§alpha: bool§antialias: bool§depth: bool§failIfMajorPerformanceCaveat: bool§preferLowPowerToHighPerformance: bool§premultipliedAlpha: bool§preserveDrawingBuffer: bool§stencil: bool