engine/srgb_tables.g library

Constants

srgbDecode → const List<double>
sRGB decode: linear-light value of each 8-bit code.
srgbEncodeThreshold → const List<double>
Encode thresholds: decode((v + 0.5) / 255) for v in 0..254.