The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
linearToGamma
std
experimental
color
colorspace
Linear to gamma transfer function.
T
linearToGamma
(T v)
T
linearToGamma
(T v, T gamma)
@
safe
pure nothrow @
nogc
T
linearToGamma
(
T
)
(
T
v
,
T
gamma
)
if
(
isFloatingPoint
!
T
)
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 gamma transfer function.