Color

Represents a color with 4 floating-point values

The values are clamped between 0 and 1

Members

Functions

opCast
SDL_Color opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
print
void print()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

black
auto black;
Undocumented in source.
blue
auto blue;
Undocumented in source.
cyan
auto cyan;
Undocumented in source.
green
auto green;
Undocumented in source.
indigo
auto indigo;
Undocumented in source.
orange
auto orange;
Undocumented in source.
purple
auto purple;
Undocumented in source.
red
auto red;
Undocumented in source.
white
auto white;
Undocumented in source.
yellow
auto yellow;
Undocumented in source.

Variables

a
float a;

The alpha component

b
float b;

The blue component

g
float g;

The green component

r
float r;

The red component

Meta