API reference
Preparing search index…

Glsl.Bvec4

GLSL bvec4 with four boolean components.

Type hierarchy

Hierarchy

  • BooleanComponents<"vector4">
    • Bvec4
Source & inheritance
Member directory9

Constructors

Properties

Accessors

Constructors

  • Creates an all-false vector, specifies four components, or copies a vector with nonzero converted to true.

    Parameters

    ...args
    BooleanArguments

    Returns

    Source & inheritance

Properties

scalarType: "bool" = 'bool'

Boolean scalar type with components stored as 0/1 bytes.

Source & inheritance

Accessors

  • get w(): boolean

    W boolean component.

    Returns

    boolean
    Source & inheritance
  • set w(value: boolean): void

    Sets the W component.

    Parameters

    value
    boolean

    Returns

    void
    Source & inheritance
  • get x(): boolean

    X boolean component.

    Returns

    boolean
    Source & inheritance
  • set x(value: boolean): void

    Set the X boolean component.

    Parameters

    value
    boolean

    Returns

    void
    Source & inheritance
  • get y(): boolean

    Y boolean component.

    Returns

    boolean
    Source & inheritance
  • set y(value: boolean): void

    Set the Y boolean component.

    Parameters

    value
    boolean

    Returns

    void
    Source & inheritance
  • get z(): boolean

    Z boolean component.

    Returns

    boolean
    Source & inheritance
  • set z(value: boolean): void

    Sets the Z component.

    Parameters

    value
    boolean

    Returns

    void
    Source & inheritance

Symbol members

"[mutableValue]": true
Source & inheritance
  • get "[glslNative]"(): NativeValueHandle<K>

    Returns

    NativeValueHandle<K>
    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0