Class TextureAbstract

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

Hierarchy

Constructors

Properties

gl: WebGL2RenderingContext

The rendering context of this texture.

needsUpdate: boolean

Whether this texture needs to be updated.

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