A module which wraps a runtime-binding of the standard OpenGL functions. Provides convenience functions for querying availabiliy of extensions, rendering text and error-checking. More...
#include <igl.h>
Public Member Functions | |
INTEGER_CONSTANT (Version, 2) | |
STRING_CONSTANT (Name,"qgl") | |
OpenGLBinding () | |
void | drawString (const std::string string) const |
Renders string at the current raster-position of the current context. | |
void | drawChar (char character) const |
Renders character at the current raster-position of the current context. | |
void | perspective (GLdouble fovy, GLdouble yaspect, GLdouble zNear, GLdouble zFar) |
void (QGL_DLLEXPORT *m_glActiveTexture)(GLenum texture) | |
void (QGL_DLLEXPORT *m_glClientActiveTexture)(GLenum texture) | |
bool | ARB_multitexture () |
bool | ARB_texture_compression () |
bool | EXT_texture_compression_s3tc () |
bool | GL_1_2 () |
bool | GL_1_3 () |
bool | GL_1_4 () |
bool | GL_1_5 () |
bool | ARB_vertex_program () |
bool | ARB_fragment_program () |
bool | ARB_shader_objects () |
bool | ARB_vertex_shader () |
bool | ARB_fragment_shader () |
bool | ARB_shading_language_100 () |
Data Fields | |
int | major_version |
OpenGL version, extracted from the GL_VERSION string. | |
int | minor_version |
bool | contextValid |
Is true if the global shared OpenGL context is valid. | |
void(* | assertNoErrors )() |
Asserts that there no OpenGL errors have occurred since the last call to glGetError. | |
GLuint | m_font |
int | m_fontHeight |
bool | support_ARB_multitexture |
bool | support_ARB_texture_compression |
bool | support_EXT_texture_compression_s3tc |
bool | support_GL_1_2 |
bool | support_GL_1_3 |
bool | support_GL_1_4 |
bool | support_GL_1_5 |
bool | support_ARB_vertex_program |
bool | support_ARB_fragment_program |
bool | support_ARB_shader_objects |
bool | support_ARB_vertex_shader |
bool | support_ARB_fragment_shader |
bool | support_ARB_shading_language_100 |
A module which wraps a runtime-binding of the standard OpenGL functions. Provides convenience functions for querying availabiliy of extensions, rendering text and error-checking.
Definition at line 47 of file igl.h.
bool OpenGLBinding::ARB_fragment_program | ( | ) | [inline] |
Definition at line 157 of file igl.h.
References support_ARB_fragment_program.
bool OpenGLBinding::ARB_fragment_shader | ( | ) | [inline] |
Definition at line 178 of file igl.h.
References support_ARB_fragment_shader.
bool OpenGLBinding::ARB_multitexture | ( | ) | [inline] |
Definition at line 101 of file igl.h.
References support_ARB_multitexture.
bool OpenGLBinding::ARB_shader_objects | ( | ) | [inline] |
Definition at line 164 of file igl.h.
References support_ARB_shader_objects.
bool OpenGLBinding::ARB_shading_language_100 | ( | ) | [inline] |
Definition at line 185 of file igl.h.
References support_ARB_shading_language_100.
bool OpenGLBinding::ARB_texture_compression | ( | ) | [inline] |
Definition at line 108 of file igl.h.
References support_ARB_texture_compression.
bool OpenGLBinding::ARB_vertex_program | ( | ) | [inline] |
Definition at line 150 of file igl.h.
References support_ARB_vertex_program.
bool OpenGLBinding::ARB_vertex_shader | ( | ) | [inline] |
Definition at line 171 of file igl.h.
References support_ARB_vertex_shader.
void OpenGLBinding::drawChar | ( | char | character | ) | const [inline] |
void OpenGLBinding::drawString | ( | const std::string | string | ) | const [inline] |
Renders string
at the current raster-position of the current context.
Definition at line 70 of file igl.h.
References GLsizei, and m_font.
Referenced by RenderableNamedEntity::render().
bool OpenGLBinding::EXT_texture_compression_s3tc | ( | ) | [inline] |
Definition at line 115 of file igl.h.
References support_EXT_texture_compression_s3tc.
bool OpenGLBinding::GL_1_2 | ( | ) | [inline] |
Definition at line 122 of file igl.h.
References support_GL_1_2.
bool OpenGLBinding::GL_1_3 | ( | ) | [inline] |
Definition at line 129 of file igl.h.
References support_GL_1_3.
bool OpenGLBinding::GL_1_4 | ( | ) | [inline] |
Definition at line 136 of file igl.h.
References support_GL_1_4.
bool OpenGLBinding::GL_1_5 | ( | ) | [inline] |
Definition at line 143 of file igl.h.
References support_GL_1_5.
OpenGLBinding::INTEGER_CONSTANT | ( | Version | , | |
2 | ||||
) |
void OpenGLBinding::perspective | ( | GLdouble | fovy, | |
GLdouble | yaspect, | |||
GLdouble | zNear, | |||
GLdouble | zFar | |||
) | [inline] |
OpenGLBinding::STRING_CONSTANT | ( | Name | , | |
"qgl" | ||||
) |
OpenGLBinding::void | ( | QGL_DLLEXPORT * | m_glClientActiveTexture | ) |
OpenGLBinding::void | ( | QGL_DLLEXPORT * | m_glActiveTexture | ) |
void(* OpenGLBinding::assertNoErrors)() |
Asserts that there no OpenGL errors have occurred since the last call to glGetError.
GLuint OpenGLBinding::m_font |
Definition at line 66 of file igl.h.
Referenced by drawChar(), and drawString().
Definition at line 156 of file igl.h.
Referenced by ARB_fragment_program().
Definition at line 177 of file igl.h.
Referenced by ARB_fragment_shader().
Definition at line 100 of file igl.h.
Referenced by ARB_multitexture().
Definition at line 163 of file igl.h.
Referenced by ARB_shader_objects().
Definition at line 184 of file igl.h.
Referenced by ARB_shading_language_100().
Definition at line 107 of file igl.h.
Referenced by ARB_texture_compression().
Definition at line 149 of file igl.h.
Referenced by ARB_vertex_program().
Definition at line 170 of file igl.h.
Referenced by ARB_vertex_shader().
Definition at line 114 of file igl.h.
Referenced by EXT_texture_compression_s3tc().