Taos API Reference
    Preparing search index...

    Class TonemapFeature

    Final HDR → SDR tonemap. Reads frame.hdr and writes the backbuffer. Mutate exposure / tonemapper (or the legacy aces) directly on this feature at runtime; the next frame's update re-uploads the params buffer.

    Implements

    Index

    Constructors

    Properties

    name: string = TonemapFeature.name

    Stable identifier used for lookup, signature hashing, and pass-name keying.

    enabled: boolean = true

    When false, the feature is skipped each frame. Toggling triggers a cached-graph invalidation.

    pass: TonemapPass | null = null
    exposure: number

    Exposure multiplier applied before the curve. When camera is set this is recomputed from it each frame (and is readable for HUDs).

    aces: boolean

    Legacy boolean; used only when tonemapper is null.

    tonemapper: TonemapOperator | null

    When set, selects the curve directly (and supersedes aces).

    camera: CameraExposureSettings | null

    Physical-camera exposure source (overrides the manual exposure scalar when set). Mutate its fields for live aperture/shutter/ISO sliders.

    physicalSceneScale: number

    Calibration for the camera exposure (see options). Default 1.

    hdrCanvas: boolean
    grade: ColorGradeSettings | null

    Live color-grading stack (null = no grade). Mutate its fields for live sliders; changes are re-uploaded every frame.

    lutAmount: number

    Live LUT blend amount, 0..1.

    postFx: PostFxSettings | null

    Live lens & film post-FX stack (null = none). Mutate its fields for live sliders; changes are re-uploaded every frame.

    transparentBackground: boolean

    Force transparent compositing regardless of the frame flag (see options).

    Methods