The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
toLinear
std
experimental
color
rgb
Convert a value from gamma compressed space to linear.
T
toLinear
(T v)
@
safe
pure nothrow @
nogc
T
toLinear
(
RGBColorSpace
src
T
)
(
T
v
)
if
(
isFloatingPoint
!
T
)
auto
toLinear
(C color)
Meta
Source
See Implementation
std
experimental
color
rgb
enums
isRGB
functions
toGamma
toLinear
structs
RGB
Convert a value from gamma compressed space to linear.