dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Color.set
Dgame
Graphics
Color
Color
Set all color components to new values
void
set
(ubyte red, ubyte green, ubyte blue, ubyte alpha)
struct
Color
pure nothrow
void
set
(
ubyte
red
,
ubyte
green
,
ubyte
blue
,
ubyte
alpha
= 255
)
void
set
(float red, float green, float blue, float alpha)
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
Set all color components to new values