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

    Class TonemappingSettings

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

    Index
    • Parameters

      • OptionalisInternalConstructor: boolean

      Returns TonemappingSettings

    • get isEnabled(): boolean

      Determines should the image be tonemapped. Tonemapping converts an HDR image into LDR image by applying a filmic curve to the image, simulating the effect of film cameras. Filmic curve improves image quality by tapering off lows and highs, preventing under- and over-exposure. This is useful if an image contains both very dark and very bright areas, in which case the global exposure parameter would leave some areas either over- or under-exposed. Use #tonemapping to customize how tonemapping performed.

      If this is disabled, then color grading and white balancing will not be enabled either. Only relevant for HDR images.

      Returns boolean

    • set isEnabled(value: boolean): void

      Parameters

      • value: boolean

      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