color ~master (2020-04-14T12:21:13Z)
Home
Dub
Repo
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
toGrayscale
toLinear
structs
RGB
templates
allIn
anyIn
canFind
defaultAlpha
notIn
Convert a value from gamma compressed space to linear.