Class TextureAbstract

An array of data that can be randomly accessed in a shader program.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

gl: WebGL2RenderingContext

The rendering context of this texture.

The target binding point of this texture.

texture: WebGLTexture

The WebGL API interface of this texture.

Methods

  • Assigns this texture to a texture unit.

    Parameters

    • textureUnit: number

      The texture unit.

    Returns void

Generated using TypeDoc