dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Color.this
Dgame
Graphics
Color
Color
CTor Expect that every component is in range 0.0 .. 1.0
this
(ubyte red, ubyte green, ubyte blue, ubyte alpha)
this
(float red, float green, float blue, float alpha)
struct
Color
pure nothrow
this
(
float
red
,
float
green
,
float
blue
,
float
alpha
= 1f
)
Meta
Source
See Implementation
Dgame
Graphics
Color
Color
constructors
this
functions
asGLColor
asRGB
asRGBA
opEquals
set
transferTo
withTransparency
static variables
Black
Blue
Cyan
Gray
Green
Magenta
Red
White
Yellow
variables
alpha
blue
green
red
CTor Expect that every component is in range 0.0 .. 1.0