TonemappingUnavailable

Deprecated

The engine tone maps HDR. Handle HdrToneMapped and ColorApproximated instead.

Replace with

ColorApproximated(detail)

DEPRECATED 2026-08-25 and NEVER EMITTED.

It said two things at once and one of them was false. The engine has tone mapped HDR since 2026-08-16, HdrToneMap on both software conversion paths and kp_tone_map in the Metal shader, so "no tone mapping" was wrong for every built-in display path. It stayed true only for BT.2020 constant luminance, which now has its own type.

Handle HdrToneMapped and ColorApproximated instead. The one case where "not tone mapped" is still true, a caller taking RAW frames and converting them itself, is documented on the frame-access surface where that caller will meet it, rather than as a warning every viewer sees.

Kept rather than deleted because consumers pin 0.x source compatibility; removal is a version decision.

Constructors

Link copied to clipboard
constructor(detail: String)

Properties

Link copied to clipboard
Link copied to clipboard
open val fields: Map<String, String>

The warning as key and value pairs, for a structured log sink.

Link copied to clipboard
open override val message: String

Functions

Link copied to clipboard
override fun toString(): String

The type and the message, with every URI cut to its file name, as for PlaybackError.