RSX Code Reference
    Preparing search index...
    • rsx
    • AlphaChannelUsageSettings

    Class AlphaChannelUsageSettings

    Class that notifies its parent ManagedSettigns or ManagedSubSettings object when one of its members changes.

    Index
    • get depthEncodeFar(): number

      Determins the depth value encoded to 0 when writing depth to the alpha channel.

      Returns number

    • set depthEncodeFar(value: number): void

      Parameters

      • value: number

      Returns void

    • get depthEncodeNear(): number

      Determins the depth value encoded to 1 when writing depth to the alpha channel.

      Returns number

    • set depthEncodeNear(value: number): void

      Parameters

      • value: number

      Returns void

    • Allows modifying this object multiple times in a row in a scope, without marking the object dirty immediately. Dirty flags are accumulated and the object is marked dirty at the end.

      Parameters

      • action: () => void

        The scope where the object is modified.

      Returns void