Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Color Struct Reference

#include "OVR_Color.h"

Collaboration diagram for OVR::Color:
Collaboration graph

Public Member Functions

 Color ()
 
 Color (unsigned char r, unsigned char g, unsigned char b, unsigned char a=0xFF)
 
 Color (unsigned c)
 
bool operator== (const Color &b) const
 
void GetRGBA (float *r, float *g, float *b, float *a) const
 

Data Fields

UByte R
 
UByte G
 
UByte B
 
UByte A
 

Detailed Description

Definition at line 34 of file OVR_Color.h.

Constructor & Destructor Documentation

OVR::Color::Color ( )
inline

Definition at line 38 of file OVR_Color.h.

OVR::Color::Color ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a = 0xFF 
)
inline

Definition at line 42 of file OVR_Color.h.

OVR::Color::Color ( unsigned  c)
inline

Definition at line 46 of file OVR_Color.h.

Member Function Documentation

void OVR::Color::GetRGBA ( float *  r,
float *  g,
float *  b,
float *  a 
) const
inline

Definition at line 55 of file OVR_Color.h.

bool OVR::Color::operator== ( const Color b) const
inline

Definition at line 50 of file OVR_Color.h.

Field Documentation

UByte OVR::Color::A

Definition at line 36 of file OVR_Color.h.

UByte OVR::Color::B

Definition at line 36 of file OVR_Color.h.

UByte OVR::Color::G

Definition at line 36 of file OVR_Color.h.

UByte OVR::Color::R

Definition at line 36 of file OVR_Color.h.


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