The other end of luminance.frag's encoding, and the arithmetic that
turns a texture of stops into one exposure.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
exposureFor(
double meanStops, double target) → double -
The exposure that puts a scene whose brightness is
meanStopsattarget— a linear multiplier, the same quantityRenderSettings.exposureis. -
meanStops(
ByteData luminance, {double lowPercentile = 0.8, double highPercentile = 0.98, MeterRect? within}) → double -
The mean brightness, in stops, of the texels between the two
percentiles of
luminance— the bytes the pass wrote, red channel read, one per texel. -
stopsOf(
int encoded) → double -
The stop a byte of
encodedstands for.
Constants
- floorStops → const double
- The stop a byte of zero stands for, and how many stops the byte spans.
- rangeStops → const double
- size → const int
- The luminance target's side, in texels. Small enough that a readback of it is sixteen kilobytes, large enough that a percentile means something.