gfx_typesig_defs.hh

Go to the documentation of this file.
00001 /*
00008  * LEGAL:   COPYRIGHT (C) 2004 JIM E. BROOKS
00009  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
00010  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
00011  *****************************************************************************/
00012 
00013 #ifndef GFX_TYPESIG_DEFS_HH
00014 #define GFX_TYPESIG_DEFS_HH 1
00015 
00016 namespace gfx {
00017 
00018 enum
00019 {
00020     // -------------------------------------------------------------------------
00021     // typesigs reserved for this gfx library.
00022 
00023   //TYPESIG_VECTOR3,       // cannot have a typesig, see Vector3 class
00024   //TYPESIG_VERTEX_EYE,    // cannot have a typesig, sizeof(EyeVertex) must equal sizeof(GLfloat[3])
00025 
00026     TYPESIG_VERTEX_LOCAL   = TYPESIG_BASE_USER,
00027     TYPESIG_VERTEX_WORLD,
00028     TYPESIG_VERTEX_NORMAL,  // NormalVertex (vertex)
00029     TYPESIG_NORMAL,         // Normal (vertex, vix of normal's origin)
00030     TYPESIG_TEXTURE,
00031 
00032     // -------------------------------------------------------------------------
00033 
00034     // -------------------------------------------------------------------------
00035     // typesigs >= TYPESIG_USER available to non-gfx code.
00036     TYPESIG_GFX_USER,
00037     // -------------------------------------------------------------------------
00038 };
00039 
00040 } // namespace gfx
00041 
00042 #endif // GFX_TYPESIG_DEFS_HH
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:11 2007