Class Shader

A function which runs on the GPU.

See

Shaders

Hierarchy

  • Shader

Constructors

Properties

Accessors

Methods

Constructors

Properties

context: Context

The rendering context of this shader.

internal: WebGLShader

The WebGL API interface of this shader.

source: string

The source code of this shader.

The type of this shader.

Accessors

  • get compileStatus(): boolean
  • Whether the last shader compilation was successful.

    Returns boolean

  • get deleteStatus(): boolean
  • Whether this shader is flagged for deletion.

    Returns boolean

  • get infoLog(): string
  • The information log for this shader.

    Returns string

Methods

Generated using TypeDoc