torque Torque Game Engine Documentation
TGE Version 1.5.2

engine/platformMacCarb/platformGL.h File Reference

#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <OpenGL/glext.h>
#include "platformMacCarb/macCarbOutlineGL.h"

Data Structures

struct  GLState
 GL state information. More...

Defines

#define GL_V12MTVFMT_EXT   0x8702
#define GL_V12MTNVFMT_EXT   0x8703
#define GL_V12FTVFMT_EXT   0x8704
#define GL_V12FMTVFMT_EXT   0x8705
#define GL_CLAMP_TO_EDGE_EXT   0x812F
#define ATI_FSAA_LEVEL   ((unsigned long)510)
 For radeon cards we can do fast FSAA mode switching.

Functions

GLboolean glAvailableVertexBufferEXT ()
 This is legacy stuff for the d3d wrapper layer.
GLint glAllocateVertexBufferEXT (GLsizei size, GLint format, GLboolean preserve)
voidglLockVertexBufferEXT (GLint handle, GLsizei size)
void glUnlockVertexBufferEXT (GLint handle)
void glSetVertexBufferEXT (GLint handle)
void glOffsetVertexBufferEXT (GLint handle, GLuint offset)
void glFillVertexBufferEXT (GLint handle, GLint first, GLsizei count)
void glFreeVertexBufferEXT (GLint handle)
void dglSetRenderPrimType (unsigned int type)
 Inline state getters for dgl.
void dglClearPrimMetrics ()
bool dglDoesSupportPalettedTexture ()
bool dglDoesSupportCompiledVertexArray ()
bool dglDoesSupportTextureEnvCombine ()
bool dglDoesSupportARBMultitexture ()
bool dglDoesSupportEXTBlendColor ()
bool dglDoesSupportEXTBlendMinMax ()
bool dglDoesSupportVertexArrayRange ()
bool dglDoesSupportFogCoord ()
bool dglDoesSupportEdgeClamp ()
bool dglDoesSupportTextureCompression ()
bool dglDoesSupportS3TC ()
bool dglDoesSupportFXT1 ()
bool dglDoesSupportTexEnvAdd ()
bool dglDoesSupportTexAnisotropy ()
bool dglDoesSupportVertexBuffer ()
GLfloat dglGetMaxAnisotropy ()
GLint dglGetMaxTextureUnits ()
void dglSetFSAASamples (GLint aasamp)

Variables

GLState gGLState
bool gOpenGLDisablePT
bool gOpenGLDisableCVA
bool gOpenGLDisableTEC
bool gOpenGLDisableARBMT
bool gOpenGLDisableFC
bool gOpenGLDisableTCompress
bool gOpenGLNoEnvColor
float gOpenGLGammaCorrection
bool gOpenGLNoDrawArraysAlpha


Define Documentation

#define GL_V12MTVFMT_EXT   0x8702

#define GL_V12MTNVFMT_EXT   0x8703

#define GL_V12FTVFMT_EXT   0x8704

#define GL_V12FMTVFMT_EXT   0x8705

#define GL_CLAMP_TO_EDGE_EXT   0x812F

#define ATI_FSAA_LEVEL   ((unsigned long)510)

For radeon cards we can do fast FSAA mode switching.

Sets Full Scene Anti-Aliasing (FSAA) samples ( 1x, 2x, 4x ) via aglSetInteger()


Function Documentation

GLboolean glAvailableVertexBufferEXT (  ) 

This is legacy stuff for the d3d wrapper layer.

Must be included AFTER all the OpenGL headers.

GLint glAllocateVertexBufferEXT ( GLsizei  size,
GLint  format,
GLboolean  preserve 
)

void* glLockVertexBufferEXT ( GLint  handle,
GLsizei  size 
)

void glUnlockVertexBufferEXT ( GLint  handle  ) 

void glSetVertexBufferEXT ( GLint  handle  ) 

void glOffsetVertexBufferEXT ( GLint  handle,
GLuint  offset 
)

void glFillVertexBufferEXT ( GLint  handle,
GLint  first,
GLsizei  count 
)

void glFreeVertexBufferEXT ( GLint  handle  ) 

void dglSetRenderPrimType ( unsigned int  type  )  [inline]

Inline state getters for dgl.

void dglClearPrimMetrics (  )  [inline]

bool dglDoesSupportPalettedTexture (  )  [inline]

bool dglDoesSupportCompiledVertexArray (  )  [inline]

bool dglDoesSupportTextureEnvCombine (  )  [inline]

bool dglDoesSupportARBMultitexture (  )  [inline]

bool dglDoesSupportEXTBlendColor (  )  [inline]

bool dglDoesSupportEXTBlendMinMax (  )  [inline]

bool dglDoesSupportVertexArrayRange (  )  [inline]

bool dglDoesSupportFogCoord (  )  [inline]

bool dglDoesSupportEdgeClamp (  )  [inline]

bool dglDoesSupportTextureCompression (  )  [inline]

bool dglDoesSupportS3TC (  )  [inline]

bool dglDoesSupportFXT1 (  )  [inline]

bool dglDoesSupportTexEnvAdd (  )  [inline]

bool dglDoesSupportTexAnisotropy (  )  [inline]

bool dglDoesSupportVertexBuffer (  )  [inline]

GLfloat dglGetMaxAnisotropy (  )  [inline]

GLint dglGetMaxTextureUnits (  )  [inline]

void dglSetFSAASamples ( GLint  aasamp  ) 


Variable Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen