Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HPixelRGBA Class Reference

The HPixelRGBA class is the data type of a rgba pixel. More...

#include <HGlobals.h>

List of all members.

Public Member Functions

unsigned char a () const
void a (unsigned char const A)
 HPixelRGBA (unsigned char const R=0, unsigned char const G=0, unsigned char const B=0, unsigned char const A=0)
 HPixelRGBA (HPixelRGBA const &p)
void Set (unsigned char R, unsigned char G, unsigned char B, unsigned char A=0)
void Setf (float R, float G, float B, float A=0.0f)

Detailed Description

The HPixelRGBA class is the data type of a rgba pixel.


Member Function Documentation

void HPixelRGBA::Set ( unsigned char  R,
unsigned char  G,
unsigned char  B,
unsigned char  A = 0 
) [inline]

Sets the pixel value.

References HPixelRGB::Set().

void HPixelRGBA::Setf ( float  R,
float  G,
float  B,
float  A = 0.0f 
) [inline]

Sets a pixel value taking floats (between 0.0 - 1.0) for rgba.

References HPixelRGB::Setf().


The documentation for this class was generated from the following file: