Agx

class Agx : ToneMapper

AgX tone mapping operator.

Parameters

look

An optional creative adjustment to contrast and saturation.

Constructors

Link copied to clipboard
constructor(look: ToneMapper.Agx.AgxLook = AgxLook.NONE)

Types

Link copied to clipboard

Creative adjustments for the AgX tone mapping operator.

Properties

Link copied to clipboard

True if this tone mapper produces LDR output, i.e. never outputs values above 1.0.

Link copied to clipboard

If true, then this function holds that f(x) = vec3(f(x.r), f(x.g), f(x.b)), which lets Filament build its LUT faster.

Link copied to clipboard

An optional creative adjustment to contrast and saturation.

Functions

Link copied to clipboard
open override fun close()

Destroys the native tone mapper. ColorGrading.Builder only uses it during build(), so it can be closed afterwards.

Link copied to clipboard
operator fun invoke(color: FloatArray, out: FloatArray? = null): FloatArray

Maps an open domain (or "scene referred") color value to a display domain (or "display referred") color value. Both are in the Rec.2020 color space, with no transfer function applied ("linear Rec.2020").