Public Member Functions | |
Pixel32 (void) | |
Pixel32 (const Pixel &p) | |
Public Attributes | |
unsigned char | r |
unsigned char | g |
unsigned char | b |
unsigned char | a |
|
This constructor instantiates a pixel with 0 for the red, green and blue components, and 255 for the alpha. |
|
This constructor instantiates a pixel by transforming the input red, green, blue, and alpha components from floating points in the range [0,1] to integer values in the range [0,255] |
|
The red, green, blue, and alpha components of the pixel |
|
The red, green, blue, and alpha components of the pixel |
|
The red, green, blue, and alpha components of the pixel |
|
The red, green, blue, and alpha components of the pixel |