Hierarchy

  • BackendContext

Methods

  • Register WebGLTexture in EmscriptenGL, And return handle.

    Parameters

    • texture: WebGLTexture

    Returns number

  • Get WebGLTexture by handle.

    Parameters

    • handled: number

    Returns null | WebGLTexture

  • Unregister WebGLTexture reference in EmscriptenGL.

    Parameters

    • handle: number

    Returns void

  • Register WebGLFramebuffer in EmscriptenGL, And return handle.

    Parameters

    • framebuffer: WebGLFramebuffer

    Returns number

  • Get WebGLFramebuffer by handle.

    Parameters

    • handle: number

    Returns null | WebGLFramebuffer

  • Unregister WebGLTexture reference in EmscriptenGL.

    Parameters

    • handle: number

    Returns void

  • Type Parameters

    • T

    Parameters

    • table: (null | T)[]
    • item: T

    Returns number

Constructors

Properties

handle: number
adopted: boolean
isDestroyed: boolean = false
oldHandle: number = 0

Generated using TypeDoc