HPixelRGB
Functions
HPixelRGB |
|
HPixelRGB |
|
| unsigned char | r |
| unsigned char | g |
| unsigned char | b |
| void | r |
| void | g |
| void | b |
| void | Set |
| void | Setf |
Detailed Description
-
class
HPixelRGB The HPixelRGB class is the data type of a rgb pixel.
Subclassed by HPixelRGBA
Public Functions
-
inline
HPixelRGB(unsigned char R = 0, unsigned char G = 0, unsigned char B = 0)
-
inline unsigned char
r() const
-
inline unsigned char
g() const
-
inline unsigned char
b() const
-
inline void
r(unsigned char const R)
-
inline void
g(unsigned char const G)
-
inline void
b(unsigned char const B)
-
inline void
Set(unsigned char R, unsigned char G, unsigned char B) Sets the red, green and blue values.
-
inline void
Setf(float R, float G, float B) Sets a pixel value taking floats (between 0.0 - 1.0) for rgb.
-
inline