ColorLut class Rendering
A 3D color-grading lookup table applied by the resolve pass.
Assign one to ColorGradingSettings.lut to grade the tone-mapped image
through a film look authored in any grading tool that exports the
Adobe/IRIDAS .cube format. The table is stored as a 2D strip of the
cube's blue slices, so it works on every backend without 3D textures.
The lookup happens on the display-encoded (sRGB) color after tone mapping, matching how grading tools author display-referred looks.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The cube's edge length.
final
- sourceAsset → String?
-
The asset path this table was loaded from, or null for one built from
a string. Scene serialization persists the reference.
no setter
- texture → Texture
-
The strip texture holding the cube's slices,
size * sizewide andsizetall.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromCubeAsset(
String assetPath) → Future< ColorLut> -
Loads and parses a
.cubeasset. -
fromCubeString(
String content) → ColorLut -
Parses the text of a
.cubefile and uploads the table.