Support Forum G3D Web Page |
G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...
Namespaces | |
G3D | |
Macros | |
#define | debugAssertGLOk() |
Produces a debugAssert that no OpenGL error has been produced. More... | |
Typedefs | |
typedef HGLRC | G3D::GLContext |
OpenGL context (argument to glMakeCurrent, return value of glGetCurrentContext). More... | |
Functions | |
void | G3D::glClipToBox (const class AABox &box) |
Configure (and enable) OpenGL clipping planes to clip to the inside of this box. More... | |
void | G3D::glColor (const G3D::Color3 &c) |
void | G3D::glColor (const G3D::Color4 &c) |
void | G3D::glColor (float r, float g, float b, float a) |
void | G3D::glColor (float r, float g, float b) |
void | G3D::glDisableAllClipping () |
Turn off all OpenGL clipping planes. More... | |
void | G3D::glDisableAllTextures () |
Calls glDisable() for all supported texture types: 1D, 2D, 3D, cube, rectangle. More... | |
GLboolean | G3D::glGetBoolean (GLenum which) |
A functional version of glGetDoublev More... | |
GLContext | G3D::glGetCurrentContext () |
Returns the current OpenGL context if more than one is in use. More... | |
GLdouble | G3D::glGetDouble (GLenum which) |
A functional version of glGetDoublev More... | |
void | G3D::glGetErrors () |
Read all errors off the OpenGL stack and ignore them. More... | |
GLfloat | G3D::glGetFloat (GLenum which) |
A functional version of glGetFloatv More... | |
GLint | G3D::glGetInteger (GLenum which) |
A functional version of glGetIntegerv More... | |
void | G3D::glGetMatrix (GLenum name, Matrix4 &m) |
Matrix4 | G3D::glGetMatrix (GLenum name) |
void * | G3D::glGetProcAddress (const char *name) |
Platform independent version of wglGetProcAddress/glXGetProcAddress/NSGLGetProcAddress. More... | |
Vector2 | G3D::glGetVector2 (GLenum which) |
Safe to call even if the glGet would return more than 2 values. More... | |
Vector3 | G3D::glGetVector3 (GLenum which) |
Vector4 | G3D::glGetVector4 (GLenum which) |
void | G3D::glLoadInvMatrix (const CoordinateFrame &cf) |
Loads the inverse of a coordinate frame into the current OpenGL matrix slot. More... | |
void | G3D::glLoadMatrix (const CoordinateFrame &cf) |
Loads a coordinate frame into the current OpenGL matrix slot. More... | |
void | G3D::glLoadMatrix (const Matrix4 &m) |
void | G3D::glMakeCurrent (const GLContext &c) |
This is a platform-independent version of the function to set the current OpenGL context for a thread. More... | |
void | G3D::glMultInvMatrix (const CoordinateFrame &cf) |
Multiplies the current GL matrix slot by the inverse of a matrix. More... | |
void | G3D::glMultiTexCoord (GLint unit, float v) |
void | G3D::glMultiTexCoord (GLint unit, const G3D::Vector2 &v) |
void | G3D::glMultiTexCoord (GLint unit, const G3D::Vector2int16 &v) |
void | G3D::glMultiTexCoord (GLint unit, const G3D::Vector3 &v) |
void | G3D::glMultiTexCoord (GLint unit, const G3D::Vector3int16 &v) |
void | G3D::glMultiTexCoord (GLint unit, const G3D::Vector4 &v) |
void | G3D::glMultMatrix (const CoordinateFrame &cf) |
Multiplies the current GL matrix slot by this matrix. More... | |
void | G3D::glNormal (const G3D::Vector3 &n) |
void | G3D::glTexCoord (const G3D::Vector4 &t) |
void | G3D::glTexCoord (const G3D::Vector3 &t) |
void | G3D::glTexCoord (const G3D::Vector2 &t) |
void | G3D::glTexCoord (const float t) |
Vector4 | G3D::glToScreen (const Vector4 &v) |
Takes an object space point to screen space using the current MODELVIEW and PROJECTION matrices. More... | |
void | G3D::glVertex (const G3D::Vector2 &v) |
void | G3D::glVertex (const G3D::Vector2int16 &v) |
void | G3D::glVertex (const G3D::Vector3 &v) |
void | G3D::glVertex (const G3D::Vector3int16 &v) |
void | G3D::glVertex (const G3D::Vector4 &v) |
Variables | |
HDC | G3D::OpenGLWindowHDC |
The HDC that wglMakeCurrent will use on Windows. More... | |
G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.
#define debugAssertGLOk | ( | ) |
Produces a debugAssert that no OpenGL error has been produced.
Only appears when compiling with _DEBUG. Note that this can cause Alternate Frame Rendering systems (e.g., SLI, Crossfire) to block at the emitted glGetErrorCall, thus decreasing GPU performance radically in the debug build.