Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ColTraitBase Struct Reference

Inheritance diagram for ColTraitBase:

Inheritance graph
[legend]
Collaboration diagram for ColTraitBase:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void(OSG_APIENTRY * pumpFunc )(GLubyte *data)
enum  { numFormats = GL_DOUBLE - GL_BYTE + 1 }

Static Public Attributes

const int formatBase = GL_BYTE
char * formatNames []
pumpFunc ColorFuncs [numFormats][4]

Detailed Description

Color trait base, keep the static data needed for color handling


Member Typedef Documentation

typedef void(OSG_APIENTRY * ColTraitBase::pumpFunc)( GLubyte * data )
 


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
numFormats 


Member Data Documentation

const int ColTraitBase::formatBase = GL_BYTE [static]
 

char * ColTraitBase::formatNames [static]
 

Initial value:

 
{   "GL_BYTE", "GL_UNSIGNED_BYTE", "GL_SHORT", "GL_UNSIGNED_SHORT", 
    "GL_INT", "GL_UNSIGNED_INT", "GL_FLOAT", "GL_2_BYTES", 
    "GL_3_BYTES", "GL_4_BYTES", "GL_DOUBLE"
}

ColTraitBase::pumpFunc ColTraitBase::ColorFuncs [static]
 

Initial value:

 {
    { NULL, NULL, 
      (pumpFunc)glColor3bv, (pumpFunc)glColor4bv },   
    { NULL, NULL, 
      (pumpFunc)glColor3ubv,(pumpFunc)glColor4ubv },  
    { NULL, NULL, 
      (pumpFunc)glColor3sv, (pumpFunc)glColor4sv },   
    { NULL, NULL,  
      (pumpFunc)glColor3usv,(pumpFunc)glColor4usv },  
    { NULL, NULL,  
      (pumpFunc)glColor3iv, (pumpFunc)glColor4iv },   
    { NULL, NULL,  
      (pumpFunc)glColor3uiv,(pumpFunc)glColor4uiv },  
    { NULL, NULL,  
      (pumpFunc)glColor3fv, (pumpFunc)glColor4fv },   
    { NULL, NULL, NULL, NULL },                       
    { NULL, NULL, NULL, NULL },                       
    { NULL, NULL, NULL, NULL },                       
    { NULL, NULL,  
      (pumpFunc)glColor3dv, (pumpFunc)glColor4dv },   
}


The documentation for this struct was generated from the following file:
Generated on Wed Jul 3 16:22:18 2002 for OpenSG by doxygen1.2.16