Struct SRgb8Decoder
Reusable exact decode table for all 256 encoded sRGB byte values.
struct SRgb8Decoder(T)
if (is(T == float) || is(T == double));
The table is caller-owned and immutable after construction by convention.
It contains the same scalar transfer results as SRgb!T; it does
not clip, gamut-map, interpolate, or allocate.
Methods
| Name | Description |
|---|---|
opIndex
(encoded)
|
Returns the exact decoded value for one encoded sRGB byte. |