The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
linearTosRGB
std
experimental
color
colorspace
Linear to sRGB transfer function.
import std.experimental.color.colorspace;
@
safe
pure nothrow @
nogc
alias
linearTosRGB
(
F
)
=
linearToHybridGamma
!(1.055, 0.0031308, 12.92, 1 / 2.4,
F
)
Meta
Source
See Implementation
std
experimental
color
colorspace
aliases
linearToRec2020
linearToRec601
linearTosRGB
rec2020ToLinear
rec601ToLinear
sRGBToLinear
enums
ChromaticAdaptationMethod
RGBColorSpace
functions
chromaticAdaptationMatrix
gammaToLinear
hybridGammaToLinear
linearToGamma
linearToHybridGamma
rgbColorSpaceDef
rgbToXyzMatrix
xyzToRgbMatrix
structs
RGBColorSpaceDesc
templates
WhitePoint
Linear to sRGB transfer function.