gk::Pixel Struct Reference

representation d'un pixel 'classique' rgba. More...

#include <Image.h>

List of all members.

Public Types

enum  { d = 4 }
typedef unsigned char type

Public Member Functions

 Pixel ()
 par defaut, un pixel noir (opaque).
 Pixel (const unsigned char v, const unsigned char _a=255u)
 cree un pixel vvva (gris).
 Pixel (const unsigned char _r, const unsigned char _g, const unsigned char _b, const unsigned char _a=255u)
 cree un pixel rgba.

Static Public Member Functions

static bool isColorPixel ()
static bool isHdrPixel ()

Public Attributes

unsigned char r
 composantes publiques.
unsigned char g
unsigned char b
unsigned char a

Detailed Description

representation d'un pixel 'classique' rgba.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Friends
Generated on Mon Jan 9 15:57:18 2012 for gKitGL by  doxygen 1.6.3