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