Interface WebGLContextAttributes

interface WebGLContextAttributes {
    alpha?: boolean;
    antialias?: boolean;
    depth?: boolean;
    desynchronized?: boolean;
    failIfMajorPerformanceCaveat?: boolean;
    powerPreference?: WebGLPowerPreference;
    premultipliedAlpha?: boolean;
    preserveDrawingBuffer?: boolean;
    stencil?: boolean;
}

Properties

alpha?: boolean
antialias?: boolean
depth?: boolean
desynchronized?: boolean
failIfMajorPerformanceCaveat?: boolean
powerPreference?: WebGLPowerPreference
premultipliedAlpha?: boolean
preserveDrawingBuffer?: boolean
stencil?: boolean