StarEngine
|
#include <Color.h>
Public Member Functions | |
Color () | |
Color (uint16 R, uint16 G, uint16 B, uint16 A=255) | |
Color (uint32 R, uint32 G, uint32 B, uint32 A=255) | |
Color (uint64 R, uint64 G, uint64 B, uint64 A=255) | |
Color (int16 R, int16 G, int16 B, int16 A=255) | |
Color (int32 R, int32 G, int32 B, int32 A=255) | |
Color (int64 R, int64 G, int64 B, int64 A=255) | |
Color (float R, float G, float B, float A=1.0f) | |
Color (double R, double G, double B, double A=1.0) | |
Color (const Color &yRef) | |
Color (Color &&yRef) | |
Color (const vec3 &yRef) | |
Color (const vec4 &yRef) | |
Color (const ivec3 &yRef) | |
Color (const ivec4 &yRef) | |
Color & | operator= (const Color &yRef) |
Color & | operator= (const vec3 &yRef) |
Color & | operator= (const vec4 &yRef) |
Color & | operator= (const ivec3 &yRef) |
Color & | operator= (const ivec4 &yRef) |
Color & | operator+= (const Color &yRef) |
Color & | operator+= (const vec3 &yRef) |
Color & | operator+= (const vec4 &yRef) |
Color & | operator+= (const ivec3 &yRef) |
Color & | operator+= (const ivec4 &yRef) |
Color & | operator-= (const Color &yRef) |
Color & | operator-= (const vec3 &yRef) |
Color & | operator-= (const vec4 &yRef) |
Color & | operator-= (const ivec3 &yRef) |
Color & | operator-= (const ivec4 &yRef) |
Color | operator+ (const Color &yRef) |
Color | operator+ (const vec3 &yRef) |
Color | operator+ (const vec4 &yRef) |
Color | operator+ (const ivec3 &yRef) |
Color | operator+ (const ivec4 &yRef) |
Color | operator- (const Color &yRef) |
Color | operator- (const vec3 &yRef) |
Color | operator- (const vec4 &yRef) |
Color | operator- (const ivec3 &yRef) |
Color | operator- (const ivec4 &yRef) |
bool | operator== (const Color &yRef) |
bool | operator== (const vec3 &yRef) |
bool | operator== (const vec4 &yRef) |
bool | operator== (const ivec3 &yRef) |
bool | operator== (const ivec4 &yRef) |
bool | operator!= (const Color &yRef) |
bool | operator!= (const vec3 &yRef) |
bool | operator!= (const vec4 &yRef) |
bool | operator!= (const ivec3 &yRef) |
bool | operator!= (const ivec4 &yRef) |
template<typename T , typename U > | |
T | FloatToInteger (U yRef) const |
template<typename T , typename U > | |
T | IntegerToFloat (U yRef) const |
Public Attributes | |
float | r |
float | g |
float | b |
float | a |
Static Public Attributes | |
static const Color | AliceBlue |
static const Color | AntiqueWhite |
static const Color | Aqua |
static const Color | Aquamarine |
static const Color | Azure |
static const Color | Beige |
static const Color | Bisque |
static const Color | Black |
static const Color | BlanchedAlmond |
static const Color | Blue |
static const Color | BlueViolet |
static const Color | Brown |
static const Color | BurlyWood |
static const Color | CadetBlue |
static const Color | Chartreuse |
static const Color | Chocolate |
static const Color | Colar |
static const Color | CornflowerBlue |
static const Color | Cornsilk |
static const Color | Crimson |
static const Color | Cyan |
static const Color | DarkBlue |
static const Color | DarkCyan |
static const Color | DarkGoldenrod |
static const Color | DarkGray |
static const Color | DarkGreen |
static const Color | DarkKhaki |
static const Color | DarkMagenta |
static const Color | DarkOliveGreen |
static const Color | DarkOrange |
static const Color | DarkOrchild |
static const Color | DarkRed |
static const Color | DarkSalmon |
static const Color | DarkSeaGreen |
static const Color | DarkSlateBlue |
static const Color | DarkSlateGray |
static const Color | DarkTurquoise |
static const Color | DarkViolet |
static const Color | DeepPink |
static const Color | DeepSkyBlue |
static const Color | DimGray |
static const Color | DodgetBlue |
static const Color | Firebrick |
static const Color | FloralWhite |
static const Color | ForestGreen |
static const Color | Fuchsia |
static const Color | Gainsboro |
static const Color | GhostWhite |
static const Color | Gold |
static const Color | Goldenrod |
static const Color | Gray |
static const Color | Green |
static const Color | GreenYellow |
static const Color | Honeydew |
static const Color | HotPink |
static const Color | IndianRed |
static const Color | Indigo |
static const Color | Ivory |
static const Color | Khaki |
static const Color | Lavender |
static const Color | LavenderBlush |
static const Color | LawnGreen |
static const Color | LemonChiffon |
static const Color | LightBlue |
static const Color | LightCoral |
static const Color | LightCyan |
static const Color | LightGoldenrodYellow |
static const Color | LightGray |
static const Color | LightGreen |
static const Color | LightPink |
static const Color | LightSalmon |
static const Color | LightSeaGreen |
static const Color | LightSkyBlue |
static const Color | LightSlateGray |
static const Color | LightSteelBlue |
static const Color | LightYellow |
static const Color | Lime |
static const Color | LimeGreen |
static const Color | Linen |
static const Color | Magenta |
static const Color | Maroon |
static const Color | MediumAquamarine |
static const Color | MediumBlue |
static const Color | MediumOrchid |
static const Color | MediumPurple |
static const Color | MediumSeaGreen |
static const Color | MediumSlateBlue |
static const Color | MediumSpringGreen |
static const Color | MediumTurquoise |
static const Color | MediumVioletRed |
static const Color | MidnightBlue |
static const Color | MintCream |
static const Color | MistyRose |
static const Color | Moccasin |
static const Color | NavajoWhite |
static const Color | Navy |
static const Color | OldLace |
static const Color | Olive |
static const Color | OliveDrab |
static const Color | Orange |
static const Color | OrangeRed |
static const Color | Orchid |
static const Color | PaleGoldenrod |
static const Color | PaleGreen |
static const Color | PaleTurquoise |
static const Color | PaleVioletRed |
static const Color | PapayaWhip |
static const Color | PeachPuff |
static const Color | Peru |
static const Color | Pink |
static const Color | Plum |
static const Color | PowderBlue |
static const Color | Purple |
static const Color | Red |
static const Color | RosyBrown |
static const Color | RoyalBlue |
static const Color | SaddleBrown |
static const Color | Salmon |
static const Color | SandyBrown |
static const Color | SeaGreen |
static const Color | SeaShell |
static const Color | Sienna |
static const Color | Silver |
static const Color | SkyBlue |
static const Color | SlateBlue |
static const Color | SlateGray |
static const Color | Snow |
static const Color | SpringGreen |
static const Color | SteelBlue |
static const Color | Tan |
static const Color | Teal |
static const Color | Thistle |
static const Color | Tomato |
static const Color | Transparant |
static const Color | Turqouise |
static const Color | Violet |
static const Color | Wheat |
static const Color | White |
static const Color | WhiteSmoke |
static const Color | Yellow |
static const Color | YellowGreen |
Friends | |
Color | operator+ (const vec3 &yRef, const Color &op2) |
Color | operator+ (const vec4 &yRef, const Color &op2) |
Color | operator+ (const ivec3 &yRef, const Color &op2) |
Color | operator+ (const ivec4 &yRef, const Color &op2) |
Color | operator- (const vec3 &yRef, const Color &op2) |
Color | operator- (const vec4 &yRef, const Color &op2) |
Color | operator- (const ivec3 &yRef, const Color &op2) |
Color | operator- (const ivec4 &yRef, const Color &op2) |
bool | operator== (const vec3 &yRef, const Color &op2) |
bool | operator== (const vec4 &yRef, const Color &op2) |
bool | operator== (const ivec3 &yRef, const Color &op2) |
bool | operator== (const ivec4 &yRef, const Color &op2) |
bool | operator!= (const vec3 &yRef, const Color &op2) |
bool | operator!= (const vec4 &yRef, const Color &op2) |
bool | operator!= (const ivec3 &yRef, const Color &op2) |
bool | operator!= (const ivec4 &yRef, const Color &op2) |
star::Color::Color | ( | ) |
star::Color::Color | ( | float | R, |
float | G, | ||
float | B, | ||
float | A = 1.0f |
||
) |
star::Color::Color | ( | double | R, |
double | G, | ||
double | B, | ||
double | A = 1.0 |
||
) |
star::Color::Color | ( | const Color & | yRef | ) |
star::Color::Color | ( | Color && | yRef | ) |
star::Color::Color | ( | const vec3 & | yRef | ) |
star::Color::Color | ( | const vec4 & | yRef | ) |
star::Color::Color | ( | const ivec3 & | yRef | ) |
star::Color::Color | ( | const ivec4 & | yRef | ) |
T star::Color::FloatToInteger | ( | U | yRef | ) | const |
T star::Color::IntegerToFloat | ( | U | yRef | ) | const |
bool star::Color::operator!= | ( | const Color & | yRef | ) |
bool star::Color::operator!= | ( | const vec3 & | yRef | ) |
bool star::Color::operator!= | ( | const vec4 & | yRef | ) |
bool star::Color::operator!= | ( | const ivec3 & | yRef | ) |
bool star::Color::operator!= | ( | const ivec4 & | yRef | ) |
Color star::Color::operator+ | ( | const vec3 & | yRef | ) |
Color star::Color::operator+ | ( | const vec4 & | yRef | ) |
Color star::Color::operator+ | ( | const ivec3 & | yRef | ) |
Color star::Color::operator+ | ( | const ivec4 & | yRef | ) |
Color & star::Color::operator+= | ( | const vec3 & | yRef | ) |
Color & star::Color::operator+= | ( | const vec4 & | yRef | ) |
Color & star::Color::operator+= | ( | const ivec3 & | yRef | ) |
Color & star::Color::operator+= | ( | const ivec4 & | yRef | ) |
Color star::Color::operator- | ( | const vec3 & | yRef | ) |
Color star::Color::operator- | ( | const vec4 & | yRef | ) |
Color star::Color::operator- | ( | const ivec3 & | yRef | ) |
Color star::Color::operator- | ( | const ivec4 & | yRef | ) |
Color & star::Color::operator-= | ( | const vec3 & | yRef | ) |
Color & star::Color::operator-= | ( | const vec4 & | yRef | ) |
Color & star::Color::operator-= | ( | const ivec3 & | yRef | ) |
Color & star::Color::operator-= | ( | const ivec4 & | yRef | ) |
Color & star::Color::operator= | ( | const vec3 & | yRef | ) |
Color & star::Color::operator= | ( | const vec4 & | yRef | ) |
Color & star::Color::operator= | ( | const ivec3 & | yRef | ) |
Color & star::Color::operator= | ( | const ivec4 & | yRef | ) |
bool star::Color::operator== | ( | const Color & | yRef | ) |
bool star::Color::operator== | ( | const vec3 & | yRef | ) |
bool star::Color::operator== | ( | const vec4 & | yRef | ) |
bool star::Color::operator== | ( | const ivec3 & | yRef | ) |
bool star::Color::operator== | ( | const ivec4 & | yRef | ) |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
float star::Color::a |
|
static |
|
static |
|
static |
|
static |
|
static |
float star::Color::b |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
float star::Color::g |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
float star::Color::r |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |