Class AttributeAbstract

An input variable in a WebGL vertex shader.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

activeInfo: WebGLActiveInfo

The active information of this attribute.

gl: WebGL2RenderingContext

The rendering context of this variable.

location: number

The location of this attribute.

program: Program

The shader program that this variable belongs to.

Accessors

  • get name(): string
  • The name of this variable.

    Returns string

  • get size(): number
  • The size of this variable in memory in bytes.

    Returns number

Methods

Generated using TypeDoc