LuminanceShader class final

luminance.frag: the scene's log luminance, sixteen taps per texel, in eight bits.

The encoding is the shader's and the decoding is ExposureMeter's, and the two are held together by the exposure test rather than by this file: a floor or a range that drifted here would meter a scene as a different brightness and read as a tuning problem.

Inheritance

Constructors

LuminanceShader()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(Float32List v, ShaderBindings bindings, FragmentContext c) → Vector4?
Returns linear RGBA for attachment zero. Null discards the fragment.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited