CVD 0.8
Public Member Functions | Public Attributes
CVD::Rgb8 Struct Reference

A 32-bit colour. More...

#include <rgb8.h>

List of all members.

Public Member Functions

 Rgb8 ()
 Rgb8 (unsigned char r, unsigned char g, unsigned char b, unsigned char a=0)

Public Attributes

unsigned char red
unsigned char green
unsigned char blue
unsigned char dummy

Detailed Description

A 32-bit colour.

Deprecated The templated Rgba should be used instead (Rgba<byte> is exactly equivalent).

Definition at line 33 of file rgb8.h.


Constructor & Destructor Documentation

CVD::Rgb8::Rgb8 ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a = 0 
) [inline, explicit]

Construct an Rgb8 as specified.

Parameters:
rThe red component
gThe green component
bThe blue component
aThe dummy byte (defaults to zero)

Definition at line 48 of file rgb8.h.


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