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