The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
RGB.linear
std
experimental
color
rgb
RGB
If the color is stored linearly (without gamma applied).
struct
RGB
(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
enum
bool
linear
;
Meta
Source
See Implementation
std
experimental
color
rgb
RGB
aliases
ComponentType
constructors
this
functions
opBinary
opCast
opOpAssign
opUnary
properties
tristimulus
tristimulusWithAlpha
variables
colorSpace
colorSpaceDesc
components
hasAlpha
hasComponent
linear
If the color is stored linearly (without gamma applied).