HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_OGLRender.h File Reference
#include "RE_API.h"
#include <SYS/SYS_Floor.h>
#include <SYS/SYS_Types.h>
#include <UT/UT_Array.h>
#include <UT/UT_Assert.h>
#include <UT/UT_Color.h>
#include <UT/UT_IntArray.h>
#include <UT/UT_ArrayMap.h>
#include <UT/UT_Pixel.h>
#include <UT/UT_Rect.h>
#include <UT/UT_SpinLock.h>
#include <UT/UT_Thread.h>
#include <UT/UT_ThreadSpecificValue.h>
#include <UT/UT_Vector2.h>
#include <UT/UT_VectorTypes.h>
#include <PXL/PXL_Common.h>
#include "RE_Extension.h"
#include "RE_Material.h"
#include "RE_OGL.h"
#include "RE_OGLExt.h"
#include "RE_OGLState.h"
#include "RE_RenderFlush.h"
#include "RE_Texture.h"
#include "RE_TextureTypes.h"
#include "RE_Uniform.h"
+ Include dependency graph for RE_OGLRender.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_Pair< T1, T2 >
 
class  UT_StringMap< T >
 
class  RE_OGLRender
 
class  RE_OGLRender::re_ConstVertexAttrib
 
class  RE_RenderAutoLock
 

Macros

#define OPEN_GL
 
#define RE_DRIVER_INFO_VENDOR   "OpenGL Vendor"
 
#define RE_DRIVER_INFO_RENDERER   "OpenGL Renderer"
 
#define RE_DRIVER_INFO_VERSION   "OpenGL Version"
 
#define RE_DRIVER_INFO_SHADING_LANGUAGE   "OpenGL Shading Language"
 
#define RE_DRIVER_INFO_DETECTED   "Detected"
 
#define RE_FLAG_STATE(RE_NAME, GL_FLAG)
 
#define RE_FLAG_11_STATE(RE_NAME, GL_FLAG)
 

Macro Definition Documentation

#define OPEN_GL

Definition at line 96 of file RE_OGLRender.h.

#define RE_DRIVER_INFO_DETECTED   "Detected"

Definition at line 103 of file RE_OGLRender.h.

#define RE_DRIVER_INFO_RENDERER   "OpenGL Renderer"

Definition at line 100 of file RE_OGLRender.h.

#define RE_DRIVER_INFO_SHADING_LANGUAGE   "OpenGL Shading Language"

Definition at line 102 of file RE_OGLRender.h.

#define RE_DRIVER_INFO_VENDOR   "OpenGL Vendor"

Definition at line 99 of file RE_OGLRender.h.

#define RE_DRIVER_INFO_VERSION   "OpenGL Version"

Definition at line 101 of file RE_OGLRender.h.

#define RE_FLAG_11_STATE (   RE_NAME,
  GL_FLAG 
)
Value:
void enable##RE_NAME () { if( (myState.my##RE_NAME##State) != 1 && hasGL11() ) {::glEnable( GLenum(GL_FLAG) ); myState.my##RE_NAME##State = 1; } } \
void disable##RE_NAME () { if( myState.my##RE_NAME##State && hasGL11() ) { ::glDisable( GLenum(GL_FLAG) ); myState.my##RE_NAME##State = 0; } } \
bool get##RE_NAME () { if(myState.my##RE_NAME##State == 3) update##RE_NAME(); return (myState.my##RE_NAME##State==1) ; } \
void update##RE_NAME () { if( hasGL11() ) { myState.my##RE_NAME##State = ::glIsEnabled( GLenum(GL_FLAG) ); } else { myState.my##RE_NAME##State = 0; } } \
void invalidate##RE_NAME() { if(hasGL11()) myState.my##RE_NAME##State=3; }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLAPI void APIENTRY glEnable(GLenum cap)
unsigned int GLenum
Definition: cl.hpp:166
GLAPI GLboolean APIENTRY glIsEnabled(GLenum cap)
GLAPI void APIENTRY glDisable(GLenum cap)

Definition at line 1032 of file RE_OGLRender.h.

#define RE_FLAG_STATE (   RE_NAME,
  GL_FLAG 
)
Value:
void enable##RE_NAME () { if( myState.my##RE_NAME##State != 1 ) { ::glEnable( GL_FLAG ); myState.my##RE_NAME##State = 1; } } \
void disable##RE_NAME () { if( myState.my##RE_NAME##State != 0 ) { ::glDisable( GL_FLAG ); myState.my##RE_NAME##State = 0; } } \
bool get##RE_NAME () { if(myState.my##RE_NAME##State == 3) update##RE_NAME(); return (myState.my##RE_NAME##State ==1); } \
void update##RE_NAME () { myState.my##RE_NAME##State = ::glIsEnabled( GL_FLAG ); } \
void invalidate##RE_NAME() { myState.my##RE_NAME##State = 3; }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLAPI void APIENTRY glEnable(GLenum cap)
GLAPI GLboolean APIENTRY glIsEnabled(GLenum cap)
GLAPI void APIENTRY glDisable(GLenum cap)

Definition at line 1020 of file RE_OGLRender.h.