Class Shader

A WebGL2 shader.

Hierarchy (View Summary)

Constructors

Properties

Accessors

Methods

Constructors

Properties

context: Context

The rendering context.

source: string

The source code of this shader.

The type of this shader.

Accessors

  • get compileStatus(): boolean
  • The compilation status of this shader.

    Returns boolean

Methods