Package com.google.android.filament
Class ToneMapper
- java.lang.Object
-
- com.google.android.filament.ToneMapper
-
- Direct Known Subclasses:
ToneMapper.ACES,ToneMapper.ACESLegacy,ToneMapper.Filmic,ToneMapper.Generic,ToneMapper.Linear
public class ToneMapper extends java.lang.ObjectInterface for tone mapping operators. A tone mapping operator, or tone mapper, is responsible for compressing the dynamic range of the rendered scene to a dynamic range suitable for display. In Filament, tone mapping is a color grading step. ToneMapper instances are created and passed to the ColorGrading::Builder to produce a 3D LUT that will be used during post-processing to prepare the final color buffer for display. Filament provides several default tone mapping operators that fall into three categories:- Configurable tone mapping operators
- GenericToneMapper
- Fixed-aesthetic tone mapping operators
- ACESToneMapper
- ACESLegacyToneMapper
- FilmicToneMapper
- Debug/validation tone mapping operators
- LinearToneMapper
- DisplayRangeToneMapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classToneMapper.ACESACES tone mapping operator.static classToneMapper.ACESLegacyACES tone mapping operator, modified to match the perceived brightness of FilmicToneMapper.static classToneMapper.Filmic"Filmic" tone mapping operator.static classToneMapper.GenericGeneric tone mapping operator that gives control over the tone mapping curve.static classToneMapper.LinearLinear tone mapping operator that returns the input color but clamped to the 0..1 range.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()longgetNativeObject()
-