interface, represent shader Parameter.

Hierarchy

  • Parameter

Methods

  • Returns number

    Parameter int value. Throw is type is not equal type, which was added earlier.

  • Returns Mat2x4

    Parameter Mat2x4 value. Throw is type is not equal type, which was added earlier.

  • Returns Mat3x4

    Parameter Mat3x4 value. Throw is type is not equal type, which was added earlier.

  • Returns Mat4x4

    Parameter Mat4x4 value. Throw is type is not equal type, which was added earlier.

  • Returns string

    Parameter name

  • Returns number

    Parameter number value. Throw is type is not equal type, which was added earlier.

  • Returns string

    Parameter string value. Throw is type is not equal type, which was added earlier.

  • Returns Vec3

    Parameter Vec3 value. Throw is type is not equal type, which was added earlier.

  • Returns Vec4

    Parameter Vec4 value. Throw is type is not equal type, which was added earlier.

  • set Parameter integer value.

    Parameters

    • value: number

      value

    Returns void

  • set Parameter Mat2x4 value.

    Parameters

    Returns void

  • set Parameter Mat3x4 value.

    Parameters

    Returns void

  • set Parameter Mat4x4 value.

    Parameters

    Returns void

  • set Parameter real value.

    Parameters

    • value: number

      value

    Returns void

  • set Parameter string value.

    Parameters

    • value: string

      value

    Returns void

  • set Parameter Vec3 value.

    Parameters

    Returns void

  • set Parameter Vec4 value.

    Parameters

    • value: [x: number, y: number, z: number, w: number]

      value

    Returns void