HPixelRGBA
-
class
HPixelRGBA The
HPixelRGBAclass is the data type of a rgba pixel.Inherits from:
HPixelRGB
Methods
-
HPixelRGBA::HPixelRGBA(unsigned char const R = 0, unsigned char const G = 0, unsigned char const B = 0, unsigned char const A = 0)
-
HPixelRGBA::HPixelRGBA(HPixelRGBA const &p)
-
void
HPixelRGBA::Set(unsigned char R, unsigned char G, unsigned char B, unsigned char A = 0) Sets the pixel value.
-
void
HPixelRGBA::Setf(float R, float G, float B, float A = 0.0f) Sets a pixel value taking floats (between 0.0 - 1.0) for rgba.
-
unsigned char
HPixelRGBA::a() const const
-
void
HPixelRGBA::a(unsigned char const A)
Variables
-
unsigned char
HPixelRGBA::m_a private
unsigned charThe alpha channel.