src/render/rGLuintObject.h File Reference

#include "rGL.h"
#include "tError.h"

Include dependency graph for rGLuintObject.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rGLuintObject
 safe wrapper for GL objects classifed by GLuints (textures, render buffers) More...
class  rGluintObjectDummy
 unusable dummy wrapper More...

Defines

#define rDEFINE_GLUINTOBJECT(CLASS, FUNCTION)
#define rDEFINE_GLUINTOBJECT_EXT(CLASS, FUNCTION)   typedef rGluintObjectDummy CLASS

Functions

 rDEFINE_GLUINTOBJECT (rGLuintObjectTexture, Textures)
 declare safe wrapper for texturs
 rDEFINE_GLUINTOBJECT_EXT (rGLuintObjectRenderbuffer, RenderbuffersEXT)
 declare safe wrapper for render buffers
 rDEFINE_GLUINTOBJECT_EXT (rGLuintObjectFramebuffer, FramebuffersEXT)
 declare safe wrapper for frame buffers


Define Documentation

#define rDEFINE_GLUINTOBJECT ( CLASS,
FUNCTION   ) 

Value:

class CLASS: public rGLuintObject \
{ \
public: \
        ~CLASS(){ Delete(); } \
private: \
        virtual void DoGen(){ glGen##FUNCTION( 1, &object_ ); } \
        virtual void DoDelete(){ glDelete##FUNCTION( 1, &object_ ); } \
}
declare safe wrapper classes for GL objects handled by GLuints. argument CLASS: the name of the wrapper class FUNCTION: the name of the functions that hanlde the object; glGen resp. glDelete will be prepended.

Definition at line 72 of file rGLuintObject.h.

#define rDEFINE_GLUINTOBJECT_EXT ( CLASS,
FUNCTION   )     typedef rGluintObjectDummy CLASS

declare safe wrapper classes for GL objects handled by GLuints initialized by extensions argument CLASS: the name of the wrapper class FUNCTION: the name of the functions that hanlde the object; glGen resp. glDelete will be prepended.

Definition at line 92 of file rGLuintObject.h.


Function Documentation

rDEFINE_GLUINTOBJECT ( rGLuintObjectTexture  ,
Textures   
)

declare safe wrapper for texturs

rDEFINE_GLUINTOBJECT_EXT ( rGLuintObjectFramebuffer  ,
FramebuffersEXT   
)

declare safe wrapper for frame buffers

rDEFINE_GLUINTOBJECT_EXT ( rGLuintObjectRenderbuffer  ,
RenderbuffersEXT   
)

declare safe wrapper for render buffers


Generated on Sat Mar 15 23:03:03 2008 for Armagetron Advanced by  doxygen 1.5.4