Interface EngineAttributes

interface EngineAttributes {
    alpha?: boolean;
    antialias?: boolean;
    contextId?: "webgl2" | "webgl";
    depth?: boolean;
    desynchronized?: boolean;
    eightLogging?: boolean;
    failIfMajorPerformanceCaveat?: boolean;
    powerPreference?: WebGLPowerPreference;
    premultipliedAlpha?: boolean;
    preserveDrawingBuffer?: boolean;
    stencil?: boolean;
    webglLogging?: boolean;
}

Hierarchy

  • WebGLContextAttributes
    • EngineAttributes

Properties

alpha?: boolean
antialias?: boolean
contextId?: "webgl2" | "webgl"

Determines the WebGL context identifier used to get the context from the canvas element.

depth?: boolean
desynchronized?: boolean
eightLogging?: boolean

Determines whether the Engine logs the version of the library to the console.

failIfMajorPerformanceCaveat?: boolean
powerPreference?: WebGLPowerPreference
premultipliedAlpha?: boolean
preserveDrawingBuffer?: boolean
stencil?: boolean
webglLogging?: boolean

Determines whether the Engine logs the version of WebGL to the console.