Class TransformFeedbackVarying

An input variable in a WebGL fragment shader used for transform feedback.

Hierarchy

Constructors

Properties

Accessors

Constructors

Properties

activeInfo: WebGLActiveInfo

The active information of this attribute.

arraySetter?: (() => void)

Type declaration

    • (): void
    • Does nothing; transform feedback varyings cannot be set.

      Returns void

gl: WebGL2RenderingContext

The rendering context of this variable.

program: Program

The shader program that this variable belongs to.

setter?: (() => void)

Type declaration

    • (): void
    • Does nothing; transform feedback varyings cannot be set.

      Returns void

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

Generated using TypeDoc