Class AttributeAbstract

An input variable in a WebGL vertex shader.

Hierarchy

Constructors

Properties

activeInfo: WebGLActiveInfo

The active information of this attribute.

context: Context

The rendering context of this variable.

enabledPrivate: boolean

Whether this attribute can get data from a buffer.

location: number

The location of this attribute.

program: Program

The shader program that this variable belongs to.

valuePrivate?: BufferInfo

The value of this attribute.

Accessors

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

    Returns number

Methods

Generated using TypeDoc