Class Varying

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

See

GPGPU

Hierarchy

Constructors

Properties

Accessors

Constructors

  • Creates a transform feedback varying. This should only be called by the Program constructor.

    Parameters

    • program: Program

      The shader program that this transform feedback varying belongs to.

    • index: number

      The index of this transform feedback varying.

    Returns Varying

Properties

activeInfo: WebGLActiveInfo

The active information of this attribute.

arraySetter?: (() => void)

Type declaration

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

      Returns void

context: Context

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 size(): number
  • The size of this variable in memory in bytes.

    Returns number

Generated using TypeDoc