Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implemented by

Index

Properties

Readonly contextId

contextId: "webgl2" | "webgl"

The context identifier that was used to get the WebGL rendering context.

Readonly gl

gl: WebGL2RenderingContext | WebGLRenderingContext

Methods

addContextListener

Optional addRef

  • addRef(): number
  • Increments the reference count of an Shareable instance.

    Returns number

    The new reference count. This value is intended to be used only for testing purposes.

Optional release

  • release(): number
  • Decrements the reference count of an Shareable instance.

    Returns number

    The new reference count. This value is intended to be used only for testing purposes.

removeContextListener

synchronize

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Property
  • Method
  • Protected property
  • Protected method
  • Static property
  • Static method

Generated using TypeDoc