StarEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
star::Color Struct Referencefinal

#include <Color.h>

Collaboration diagram for star::Color:
Collaboration graph

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)
 
Coloroperator= (const Color &yRef)
 
Coloroperator= (const vec3 &yRef)
 
Coloroperator= (const vec4 &yRef)
 
Coloroperator= (const ivec3 &yRef)
 
Coloroperator= (const ivec4 &yRef)
 
Coloroperator+= (const Color &yRef)
 
Coloroperator+= (const vec3 &yRef)
 
Coloroperator+= (const vec4 &yRef)
 
Coloroperator+= (const ivec3 &yRef)
 
Coloroperator+= (const ivec4 &yRef)
 
Coloroperator-= (const Color &yRef)
 
Coloroperator-= (const vec3 &yRef)
 
Coloroperator-= (const vec4 &yRef)
 
Coloroperator-= (const ivec3 &yRef)
 
Coloroperator-= (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 >
FloatToInteger (U yRef) const
 
template<typename T , typename U >
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)
 

Constructor & Destructor Documentation

star::Color::Color ( )
star::Color::Color ( uint16  R,
uint16  G,
uint16  B,
uint16  A = 255 
)
star::Color::Color ( uint32  R,
uint32  G,
uint32  B,
uint32  A = 255 
)
star::Color::Color ( uint64  R,
uint64  G,
uint64  B,
uint64  A = 255 
)
star::Color::Color ( int16  R,
int16  G,
int16  B,
int16  A = 255 
)
star::Color::Color ( int32  R,
int32  G,
int32  B,
int32  A = 255 
)
star::Color::Color ( int64  R,
int64  G,
int64  B,
int64  A = 255 
)
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)

Member Function Documentation

template<typename T , typename U >
T star::Color::FloatToInteger ( yRef) const
template<typename T , typename U >
T star::Color::IntegerToFloat ( 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 Color 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 Color 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 Color 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 Color 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 Color 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)

Friends And Related Function Documentation

bool operator!= ( const vec3 &  yRef,
const Color op2 
)
friend
bool operator!= ( const vec4 &  yRef,
const Color op2 
)
friend
bool operator!= ( const ivec3 &  yRef,
const Color op2 
)
friend
bool operator!= ( const ivec4 &  yRef,
const Color op2 
)
friend
Color operator+ ( const vec3 &  yRef,
const Color op2 
)
friend
Color operator+ ( const vec4 &  yRef,
const Color op2 
)
friend
Color operator+ ( const ivec3 &  yRef,
const Color op2 
)
friend
Color operator+ ( const ivec4 &  yRef,
const Color op2 
)
friend
Color operator- ( const vec3 &  yRef,
const Color op2 
)
friend
Color operator- ( const vec4 &  yRef,
const Color op2 
)
friend
Color operator- ( const ivec3 &  yRef,
const Color op2 
)
friend
Color operator- ( const ivec4 &  yRef,
const Color op2 
)
friend
bool operator== ( const vec3 &  yRef,
const Color op2 
)
friend
bool operator== ( const vec4 &  yRef,
const Color op2 
)
friend
bool operator== ( const ivec3 &  yRef,
const Color op2 
)
friend
bool operator== ( const ivec4 &  yRef,
const Color op2 
)
friend

Member Data Documentation

float star::Color::a
const Color star::Color::AliceBlue
static
const Color star::Color::AntiqueWhite
static
const Color star::Color::Aqua
static
const Color star::Color::Aquamarine
static
const Color star::Color::Azure
static
float star::Color::b
const Color star::Color::Beige
static
const Color star::Color::Bisque
static
const Color star::Color::Black
static
const Color star::Color::BlanchedAlmond
static
const Color star::Color::Blue
static
const Color star::Color::BlueViolet
static
const Color star::Color::Brown
static
const Color star::Color::BurlyWood
static
const Color star::Color::CadetBlue
static
const Color star::Color::Chartreuse
static
const Color star::Color::Chocolate
static
const Color star::Color::Colar
static
const Color star::Color::CornflowerBlue
static
const Color star::Color::Cornsilk
static
const Color star::Color::Crimson
static
const Color star::Color::Cyan
static
const Color star::Color::DarkBlue
static
const Color star::Color::DarkCyan
static
const Color star::Color::DarkGoldenrod
static
const Color star::Color::DarkGray
static
const Color star::Color::DarkGreen
static
const Color star::Color::DarkKhaki
static
const Color star::Color::DarkMagenta
static
const Color star::Color::DarkOliveGreen
static
const Color star::Color::DarkOrange
static
const Color star::Color::DarkOrchild
static
const Color star::Color::DarkRed
static
const Color star::Color::DarkSalmon
static
const Color star::Color::DarkSeaGreen
static
const Color star::Color::DarkSlateBlue
static
const Color star::Color::DarkSlateGray
static
const Color star::Color::DarkTurquoise
static
const Color star::Color::DarkViolet
static
const Color star::Color::DeepPink
static
const Color star::Color::DeepSkyBlue
static
const Color star::Color::DimGray
static
const Color star::Color::DodgetBlue
static
const Color star::Color::Firebrick
static
const Color star::Color::FloralWhite
static
const Color star::Color::ForestGreen
static
const Color star::Color::Fuchsia
static
float star::Color::g
const Color star::Color::Gainsboro
static
const Color star::Color::GhostWhite
static
const Color star::Color::Gold
static
const Color star::Color::Goldenrod
static
const Color star::Color::Gray
static
const Color star::Color::Green
static
const Color star::Color::GreenYellow
static
const Color star::Color::Honeydew
static
const Color star::Color::HotPink
static
const Color star::Color::IndianRed
static
const Color star::Color::Indigo
static
const Color star::Color::Ivory
static
const Color star::Color::Khaki
static
const Color star::Color::Lavender
static
const Color star::Color::LavenderBlush
static
const Color star::Color::LawnGreen
static
const Color star::Color::LemonChiffon
static
const Color star::Color::LightBlue
static
const Color star::Color::LightCoral
static
const Color star::Color::LightCyan
static
const Color star::Color::LightGoldenrodYellow
static
const Color star::Color::LightGray
static
const Color star::Color::LightGreen
static
const Color star::Color::LightPink
static
const Color star::Color::LightSalmon
static
const Color star::Color::LightSeaGreen
static
const Color star::Color::LightSkyBlue
static
const Color star::Color::LightSlateGray
static
const Color star::Color::LightSteelBlue
static
const Color star::Color::LightYellow
static
const Color star::Color::Lime
static
const Color star::Color::LimeGreen
static
const Color star::Color::Linen
static
const Color star::Color::Magenta
static
const Color star::Color::Maroon
static
const Color star::Color::MediumAquamarine
static
const Color star::Color::MediumBlue
static
const Color star::Color::MediumOrchid
static
const Color star::Color::MediumPurple
static
const Color star::Color::MediumSeaGreen
static
const Color star::Color::MediumSlateBlue
static
const Color star::Color::MediumSpringGreen
static
const Color star::Color::MediumTurquoise
static
const Color star::Color::MediumVioletRed
static
const Color star::Color::MidnightBlue
static
const Color star::Color::MintCream
static
const Color star::Color::MistyRose
static
const Color star::Color::Moccasin
static
const Color star::Color::NavajoWhite
static
const Color star::Color::Navy
static
const Color star::Color::OldLace
static
const Color star::Color::Olive
static
const Color star::Color::OliveDrab
static
const Color star::Color::Orange
static
const Color star::Color::OrangeRed
static
const Color star::Color::Orchid
static
const Color star::Color::PaleGoldenrod
static
const Color star::Color::PaleGreen
static
const Color star::Color::PaleTurquoise
static
const Color star::Color::PaleVioletRed
static
const Color star::Color::PapayaWhip
static
const Color star::Color::PeachPuff
static
const Color star::Color::Peru
static
const Color star::Color::Pink
static
const Color star::Color::Plum
static
const Color star::Color::PowderBlue
static
const Color star::Color::Purple
static
float star::Color::r
const Color star::Color::Red
static
const Color star::Color::RosyBrown
static
const Color star::Color::RoyalBlue
static
const Color star::Color::SaddleBrown
static
const Color star::Color::Salmon
static
const Color star::Color::SandyBrown
static
const Color star::Color::SeaGreen
static
const Color star::Color::SeaShell
static
const Color star::Color::Sienna
static
const Color star::Color::Silver
static
const Color star::Color::SkyBlue
static
const Color star::Color::SlateBlue
static
const Color star::Color::SlateGray
static
const Color star::Color::Snow
static
const Color star::Color::SpringGreen
static
const Color star::Color::SteelBlue
static
const Color star::Color::Tan
static
const Color star::Color::Teal
static
const Color star::Color::Thistle
static
const Color star::Color::Tomato
static
const Color star::Color::Transparant
static
const Color star::Color::Turqouise
static
const Color star::Color::Violet
static
const Color star::Color::Wheat
static
const Color star::Color::White
static
const Color star::Color::WhiteSmoke
static
const Color star::Color::Yellow
static
const Color star::Color::YellowGreen
static

The documentation for this struct was generated from the following files: