RGBColor

Fields

float r
float g
float b

Functions

RGBColor
RGBColor
bool IsValid

Detailed Description

class RGBColor

A generic color class for storing RGB information.

Public Functions

inline RGBColor()

Constructs an invalid RGB color.

inline RGBColor(float r, float g, float b)

Constructs an RGB color.

inline bool IsValid() const

Returns whether or not the current color is valid.

Public Members

float r
float g
float b