Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OpenGLExtensions.h File Reference

Hardware query and runtime management of OpenGL API extension function pointers used within OpenGLRenderer and OpenGLShader classes. More...

#include <GL/gl.h>

Go to the source code of this file.

Compounds

class  OpenGLExtensions
 Manages the use of OpenGL extensions, provides queries, OS-specific function pointer setup, and some OpenGL state management. More...


Defines

#define GL_GLEXT_PROTOTYPES   1
#define GLX_GLXEXT_PROTOTYPES   1
#define GLAPI   extern
#define VMDUSEGETPROCADDRESS   1
#define GLLOCKARRAYSEXT   ext->p_glLockArraysEXT
#define GLUNLOCKARRAYSEXT   ext->p_glUnlockArraysEXT
#define GLMULTIDRAWELEMENTSEXT   ext->p_glMultiDrawElementsEXT
#define GLPOINTPARAMETERFARB   ext->p_glPointParameterfARB
#define GLPOINTPARAMETERFVARB   ext->p_glPointParameterfvARB
#define GLCREATESHADEROBJECTARB   ext->p_glCreateShaderObjectARB
#define GLCREATEPROGRAMOBJECTARB   ext->p_glCreateProgramObjectARB
#define GLUSEPROGRAMOBJECTARB   ext->p_glUseProgramObjectARB
#define GLDETACHOBJECTARB   ext->p_glDetachObjectARB
#define GLGETINFOLOGARB   ext->p_glGetInfoLogARB
#define GLGETOBJECTPARAMETERIVARB   ext->p_glGetObjectParameterivARB
#define GLLINKPROGRAMARB   ext->p_glLinkProgramARB
#define GLDELETEOBJECTARB   ext->p_glDeleteObjectARB
#define GLATTACHOBJECTARB   ext->p_glAttachObjectARB
#define GLCOMPILESHADERARB   ext->p_glCompileShaderARB
#define GLSHADERSOURCEARB   ext->p_glShaderSourceARB
#define GLGETUNIFORMLOCATIONARB   ext->p_glGetUniformLocationARB
#define GLUNIFORM1IARB   ext->p_glUniform1iARB
#define GLUNIFORM1FVARB   ext->p_glUniform1fvARB
#define GLUNIFORM2FVARB   ext->p_glUniform2fvARB
#define GLUNIFORM3FVARB   ext->p_glUniform3fvARB
#define GLUNIFORM4FVARB   ext->p_glUniform4fvARB
#define GLTEXIMAGE3D   ext->p_glTexImage3D

Typedefs

typedef void(APIENTRY * VMDGLXextFuncPtr )(void)


Detailed Description

Hardware query and runtime management of OpenGL API extension function pointers used within OpenGLRenderer and OpenGLShader classes.

Definition in file OpenGLExtensions.h.


Define Documentation

#define GL_GLEXT_PROTOTYPES   1
 

Definition at line 34 of file OpenGLExtensions.h.

#define GLAPI   extern
 

Definition at line 71 of file OpenGLExtensions.h.

#define GLATTACHOBJECTARB   ext->p_glAttachObjectARB
 

Definition at line 104 of file OpenGLExtensions.h.

Referenced by glwin_compile_shaders.

#define GLCOMPILESHADERARB   ext->p_glCompileShaderARB
 

Definition at line 105 of file OpenGLExtensions.h.

Referenced by glwin_compile_shaders.

#define GLCREATEPROGRAMOBJECTARB   ext->p_glCreateProgramObjectARB
 

Definition at line 97 of file OpenGLExtensions.h.

#define GLCREATESHADEROBJECTARB   ext->p_glCreateShaderObjectARB
 

Definition at line 96 of file OpenGLExtensions.h.

#define GLDELETEOBJECTARB   ext->p_glDeleteObjectARB
 

Definition at line 103 of file OpenGLExtensions.h.

Referenced by glwin_compile_shaders, and glwin_destroy_shaders.

#define GLDETACHOBJECTARB   ext->p_glDetachObjectARB
 

Definition at line 99 of file OpenGLExtensions.h.

#define GLGETINFOLOGARB   ext->p_glGetInfoLogARB
 

Definition at line 100 of file OpenGLExtensions.h.

Referenced by glwin_print_glsl_infolog.

#define GLGETOBJECTPARAMETERIVARB   ext->p_glGetObjectParameterivARB
 

Definition at line 101 of file OpenGLExtensions.h.

Referenced by glwin_compile_shaders, and glwin_print_glsl_infolog.

#define GLGETUNIFORMLOCATIONARB   ext->p_glGetUniformLocationARB
 

Definition at line 107 of file OpenGLExtensions.h.

Referenced by OpenGLRenderer::update_shader_uniforms.

#define GLLINKPROGRAMARB   ext->p_glLinkProgramARB
 

Definition at line 102 of file OpenGLExtensions.h.

Referenced by glwin_compile_shaders.

#define GLLOCKARRAYSEXT   ext->p_glLockArraysEXT
 

Definition at line 89 of file OpenGLExtensions.h.

#define GLMULTIDRAWELEMENTSEXT   ext->p_glMultiDrawElementsEXT
 

Definition at line 91 of file OpenGLExtensions.h.

#define GLPOINTPARAMETERFARB   ext->p_glPointParameterfARB
 

Definition at line 92 of file OpenGLExtensions.h.

#define GLPOINTPARAMETERFVARB   ext->p_glPointParameterfvARB
 

Definition at line 93 of file OpenGLExtensions.h.

#define GLSHADERSOURCEARB   ext->p_glShaderSourceARB
 

Definition at line 106 of file OpenGLExtensions.h.

Referenced by glwin_compile_shaders.

#define GLTEXIMAGE3D   ext->p_glTexImage3D
 

Definition at line 147 of file OpenGLExtensions.h.

Referenced by OpenGLRenderer::build3Dmipmaps, and OpenGLRenderer::setup_initial_opengl_state.

#define GLUNIFORM1FVARB   ext->p_glUniform1fvARB
 

Definition at line 109 of file OpenGLExtensions.h.

Referenced by OpenGLRenderer::update_shader_uniforms.

#define GLUNIFORM1IARB   ext->p_glUniform1iARB
 

Definition at line 108 of file OpenGLExtensions.h.

Referenced by OpenGLRenderer::update_shader_uniforms.

#define GLUNIFORM2FVARB   ext->p_glUniform2fvARB
 

Definition at line 110 of file OpenGLExtensions.h.

#define GLUNIFORM3FVARB   ext->p_glUniform3fvARB
 

Definition at line 111 of file OpenGLExtensions.h.

Referenced by OpenGLRenderer::update_shader_uniforms.

#define GLUNIFORM4FVARB   ext->p_glUniform4fvARB
 

Definition at line 112 of file OpenGLExtensions.h.

Referenced by OpenGLRenderer::update_shader_uniforms.

#define GLUNLOCKARRAYSEXT   ext->p_glUnlockArraysEXT
 

Definition at line 90 of file OpenGLExtensions.h.

#define GLUSEPROGRAMOBJECTARB   ext->p_glUseProgramObjectARB
 

Definition at line 98 of file OpenGLExtensions.h.

#define GLX_GLXEXT_PROTOTYPES   1
 

Definition at line 35 of file OpenGLExtensions.h.

#define VMDUSEGETPROCADDRESS   1
 

Definition at line 88 of file OpenGLExtensions.h.


Typedef Documentation

typedef void(APIENTRY * VMDGLXextFuncPtr)(void)
 

Definition at line 80 of file OpenGLExtensions.h.

Referenced by OpenGLExtensions::vmdGetProcAddress.


Generated on Sat Nov 9 02:46:02 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002