PokéRogue
    Preparing search index...

    Type Alias WebGLGlobalParameters

    Index
    bindings?: object

    Resources to be bound.

    "bindings.activeTexture"?: GLint

    The active texture unit.

    "bindings.arrayBuffer"?: WebGLBufferWrapper

    The vertex array buffer to bind.

    "bindings.elementArrayBuffer"?: WebGLBufferWrapper

    The index array buffer to bind.

    "bindings.framebuffer"?: WebGLFramebufferWrapper

    The framebuffer to bind.

    "bindings.program"?: WebGLProgramWrapper

    The program to bind.

    "bindings.renderbuffer"?: WebGLRenderbuffer

    The renderbuffer to bind.

    The blend parameters to set.

    colorClearValue?: Float32Array[]

    The color to clear the color buffer to. 4 elements, RGBA.

    colorWritemask?: GLboolean[]

    The color writemask to set. 4 elements, RGBA.

    cullFace?: boolean

    Whether to enable culling.

    depthTest?: boolean

    Whether to enable depth testing.

    scissor?: object

    Scissor parameters to set.

    "scissor.box"?: Int32Array[]

    The scissor rectangle to set. 4 elements, XYWH. Note that these are stored in WebGL format, bottom-up, so the Y coordinate is inverted to screen space.

    "scissor.enable"?: boolean

    Whether to enable scissoring.

    The stencil parameters to set.

    texturing?: object

    Texture settings to set. These take effect when creating a texture.

    "texturing.flipY"?: GLboolean

    Should the texture be flipped on the Y axis?

    "texturing.premultiplyAlpha"?: GLboolean

    Should the texture be pre-multiplied alpha?

    Vertex Array Object to bind. This controls the vertex attribute state.

    viewport?: Int32Array[]

    The viewport to set. 4 elements, XYWH.