Class IntegerAttribute

An integer, unsigned integer, or boolean 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 enabled(): boolean
  • Whether this attribute can get data from a buffer.

    Returns boolean

  • set enabled(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

  • 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