Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Typedefs | Functions | Variables
glexts.hpp File Reference
#include <SDL.h>
#include <SDL_opengl.h>

Go to the source code of this file.

Macros

#define glActiveTexture_   glActiveTexture
 OpenGL extension checks: check whether certain features are available for your graphics-hardware/platform(driver) More...
 
#define glBlendEquation_   glBlendEquation
 
#define glBlendColor_   glBlendColor
 
#define glTexImage3D_   glTexImage3D
 
#define glTexSubImage3D_   glTexSubImage3D
 
#define glCopyTexSubImage3D_   glCopyTexSubImage3D
 
#define glCompressedTexImage3D_   glCompressedTexImage3D
 
#define glCompressedTexImage2D_   glCompressedTexImage2D
 
#define glCompressedTexImage1D_   glCompressedTexImage1D
 
#define glCompressedTexSubImage3D_   glCompressedTexSubImage3D
 
#define glCompressedTexSubImage2D_   glCompressedTexSubImage2D
 
#define glCompressedTexSubImage1D_   glCompressedTexSubImage1D
 
#define glGetCompressedTexImage_   glGetCompressedTexImage
 
#define glDrawRangeElements_   glDrawRangeElements
 
#define GL_VERSION_2_1   1
 
#define GL_FLOAT_MAT2x3   0x8B65
 
#define GL_FLOAT_MAT2x4   0x8B66
 
#define GL_FLOAT_MAT3x2   0x8B67
 
#define GL_FLOAT_MAT3x4   0x8B68
 
#define GL_FLOAT_MAT4x2   0x8B69
 
#define GL_FLOAT_MAT4x3   0x8B6A
 
#define GL_ARB_framebuffer_object   1
 
#define GL_DEPTH_STENCIL_ATTACHMENT   0x821A
 
#define GL_DEPTH_STENCIL   0x84F9
 
#define GL_UNSIGNED_INT_24_8   0x84FA
 
#define GL_DEPTH24_STENCIL8   0x88F0
 
#define GL_READ_FRAMEBUFFER   0x8CA8
 
#define GL_DRAW_FRAMEBUFFER   0x8CA9
 
#define GL_FRAMEBUFFER_COMPLETE   0x8CD5
 
#define GL_COLOR_ATTACHMENT0   0x8CE0
 
#define GL_COLOR_ATTACHMENT1   0x8CE1
 
#define GL_DEPTH_ATTACHMENT   0x8D00
 
#define GL_STENCIL_ATTACHMENT   0x8D20
 
#define GL_FRAMEBUFFER   0x8D40
 
#define GL_RENDERBUFFER   0x8D41
 
#define GL_ARB_texture_rg   1
 
#define GL_RG   0x8227
 
#define GL_RG_INTEGER   0x8228
 
#define GL_R8   0x8229
 
#define GL_R16   0x822A
 
#define GL_RG8   0x822B
 
#define GL_RG16   0x822C
 
#define GL_R16F   0x822D
 
#define GL_R32F   0x822E
 
#define GL_RG16F   0x822F
 
#define GL_RG32F   0x8230
 
#define GL_R8I   0x8231
 
#define GL_R8UI   0x8232
 
#define GL_R16I   0x8233
 
#define GL_R16UI   0x8234
 
#define GL_R32I   0x8235
 
#define GL_R32UI   0x8236
 
#define GL_RG8I   0x8237
 
#define GL_RG8UI   0x8238
 
#define GL_RG16I   0x8239
 
#define GL_RG16UI   0x823A
 
#define GL_RG32I   0x823B
 
#define GL_RG32UI   0x823C
 
#define GL_MAP_READ_BIT   0x0001
 
#define GL_MAP_WRITE_BIT   0x0002
 
#define GL_MAP_INVALIDATE_RANGE_BIT   0x0004
 
#define GL_MAP_INVALIDATE_BUFFER_BIT   0x0008
 
#define GL_MAP_FLUSH_EXPLICIT_BIT   0x0010
 
#define GL_MAP_UNSYNCHRONIZED_BIT   0x0020
 
#define GL_ARB_uniform_buffer_object   1
 
#define GL_UNIFORM_BUFFER   0x8A11
 
#define GL_UNIFORM_BUFFER_BINDING   0x8A28
 
#define GL_UNIFORM_BUFFER_START   0x8A29
 
#define GL_UNIFORM_BUFFER_SIZE   0x8A2A
 
#define GL_MAX_VERTEX_UNIFORM_BLOCKS   0x8A2B
 
#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS   0x8A2C
 
#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS   0x8A2D
 
#define GL_MAX_COMBINED_UNIFORM_BLOCKS   0x8A2E
 
#define GL_MAX_UNIFORM_BUFFER_BINDINGS   0x8A2F
 
#define GL_MAX_UNIFORM_BLOCK_SIZE   0x8A30
 
#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS   0x8A31
 
#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS   0x8A32
 
#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS   0x8A33
 
#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT   0x8A34
 
#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH   0x8A35
 
#define GL_ACTIVE_UNIFORM_BLOCKS   0x8A36
 
#define GL_UNIFORM_TYPE   0x8A37
 
#define GL_UNIFORM_SIZE   0x8A38
 
#define GL_UNIFORM_NAME_LENGTH   0x8A39
 
#define GL_UNIFORM_BLOCK_INDEX   0x8A3A
 
#define GL_UNIFORM_OFFSET   0x8A3B
 
#define GL_UNIFORM_ARRAY_STRIDE   0x8A3C
 
#define GL_UNIFORM_MATRIX_STRIDE   0x8A3D
 
#define GL_UNIFORM_IS_ROW_MAJOR   0x8A3E
 
#define GL_UNIFORM_BLOCK_BINDING   0x8A3F
 
#define GL_UNIFORM_BLOCK_DATA_SIZE   0x8A40
 
#define GL_UNIFORM_BLOCK_NAME_LENGTH   0x8A41
 
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS   0x8A42
 
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES   0x8A43
 
#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER   0x8A44
 
#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER   0x8A45
 
#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER   0x8A46
 
#define GL_INVALID_INDEX   0xFFFFFFFFu
 
#define GL_VERSION_3_0   1
 
#define GL_RGBA32F   0x8814
 
#define GL_RGB32F   0x8815
 
#define GL_RGBA16F   0x881A
 
#define GL_RGB16F   0x881B
 
#define GL_VERSION_3_1   1
 
#define GL_TEXTURE_RECTANGLE   0x84F5
 
#define GL_ARB_vertex_array_object   1
 
#define GL_VERTEX_ARRAY_BINDING   0x85B5
 

Typedefs

typedef GLsizei count
 
typedef GLsizei GLboolean transpose
 
typedef GLsizei GLboolean
const GLfloat * 
value
 
typedef GLuint renderbuffer
 
typedef const GLuintrenderbuffers
 
typedef GLenum internalformat
 
typedef GLenum GLsizei width
 
typedef GLenum GLsizei GLsizei height
 
typedef GLuint framebuffer
 
typedef const GLuintframebuffers
 
typedef GLenum attachment
 
typedef GLenum GLenum textarget
 
typedef GLenum GLenum GLuint texture
 
typedef GLenum GLenum GLuint GLint level
 
typedef GLenum GLenum renderbuffertarget
 
typedef GLint srcY0
 
typedef GLint GLint srcX1
 
typedef GLint GLint GLint srcY1
 
typedef GLint GLint GLint GLint dstX0
 
typedef GLint GLint GLint
GLint GLint 
dstY0
 
typedef GLint GLint GLint
GLint GLint GLint 
dstX1
 
typedef GLint GLint GLint
GLint GLint GLint GLint 
dstY1
 
typedef GLint GLint GLint
GLint GLint GLint GLint
GLbitfield 
mask
 
typedef GLint GLint GLint
GLint GLint GLint GLint
GLbitfield GLenum 
filter
 
typedef GLvoid *APIENTRYP PFNGLMAPBUFFERRANGEPROC (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
 
typedef GLintptr offset
 
typedef GLintptr GLsizeiptr length
 
typedef GLsizei uniformCount
 
typedef GLsizei const GLchar ** uniformNames
 
typedef GLsizei const GLchar
GLuint
uniformIndices
 
typedef GLsizei const GLuint GLenum pname
 
typedef GLsizei const GLuint
GLenum GLint * 
params
 
typedef const GLchar * uniformBlockName
 
typedef GLuint uniformBlockIndex
 
typedef GLuint GLuint uniformBlockBinding
 
typedef GLuint index
 
typedef GLuint GLuint buffer
 
typedef GLuint GLuint GLintptr
GLsizeiptr 
size
 
typedef const GLuintarrays
 

Functions

typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC)(GLint location
 
typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target)
 
typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC)(GLuint program
 
typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC)(GLuint array)
 

Variables

PFNGLMULTIDRAWARRAYSPROC glMultiDrawArrays_
 
PFNGLMULTIDRAWELEMENTSPROC glMultiDrawElements_
 
PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate_
 
PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate_
 
PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate_
 
PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate_
 
PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate_
 
PFNGLGENBUFFERSPROC glGenBuffers_
 
PFNGLBINDBUFFERPROC glBindBuffer_
 
PFNGLMAPBUFFERPROC glMapBuffer_
 
PFNGLUNMAPBUFFERPROC glUnmapBuffer_
 
PFNGLBUFFERDATAPROC glBufferData_
 
PFNGLBUFFERSUBDATAPROC glBufferSubData_
 
PFNGLDELETEBUFFERSPROC glDeleteBuffers_
 
PFNGLGETBUFFERSUBDATAPROC glGetBufferSubData_
 
PFNGLGENQUERIESPROC glGenQueries_
 
PFNGLDELETEQUERIESPROC glDeleteQueries_
 
PFNGLBEGINQUERYPROC glBeginQuery_
 
PFNGLENDQUERYPROC glEndQuery_
 
PFNGLGETQUERYIVPROC glGetQueryiv_
 
PFNGLGETQUERYOBJECTIVPROC glGetQueryObjectiv_
 
PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv_
 
PFNGLCREATEPROGRAMPROC glCreateProgram_
 
PFNGLDELETEPROGRAMPROC glDeleteProgram_
 
PFNGLUSEPROGRAMPROC glUseProgram_
 
PFNGLCREATESHADERPROC glCreateShader_
 
PFNGLDELETESHADERPROC glDeleteShader_
 
PFNGLSHADERSOURCEPROC glShaderSource_
 
PFNGLCOMPILESHADERPROC glCompileShader_
 
PFNGLGETSHADERIVPROC glGetShaderiv_
 
PFNGLGETPROGRAMIVPROC glGetProgramiv_
 
PFNGLATTACHSHADERPROC glAttachShader_
 
PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog_
 
PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog_
 
PFNGLLINKPROGRAMPROC glLinkProgram_
 
PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation_
 
PFNGLUNIFORM1FPROC glUniform1f_
 
PFNGLUNIFORM2FPROC glUniform2f_
 
PFNGLUNIFORM3FPROC glUniform3f_
 
PFNGLUNIFORM4FPROC glUniform4f_
 
PFNGLUNIFORM1FVPROC glUniform1fv_
 
PFNGLUNIFORM2FVPROC glUniform2fv_
 
PFNGLUNIFORM3FVPROC glUniform3fv_
 
PFNGLUNIFORM4FVPROC glUniform4fv_
 
PFNGLUNIFORM1IPROC glUniform1i_
 
PFNGLUNIFORM2IPROC glUniform2i_
 
PFNGLUNIFORM3IPROC glUniform3i_
 
PFNGLUNIFORM4IPROC glUniform4i_
 
PFNGLUNIFORM1IVPROC glUniform1iv_
 
PFNGLUNIFORM2IVPROC glUniform2iv_
 
PFNGLUNIFORM3IVPROC glUniform3iv_
 
PFNGLUNIFORM4IVPROC glUniform4iv_
 
PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv_
 
PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv_
 
PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv_
 
PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation_
 
PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform_
 
PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray_
 
PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray_
 
PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f_
 
PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv_
 
PFNGLVERTEXATTRIB1SPROC glVertexAttrib1s_
 
PFNGLVERTEXATTRIB1SVPROC glVertexAttrib1sv_
 
PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f_
 
PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv_
 
PFNGLVERTEXATTRIB2SPROC glVertexAttrib2s_
 
PFNGLVERTEXATTRIB2SVPROC glVertexAttrib2sv_
 
PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f_
 
PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv_
 
PFNGLVERTEXATTRIB3SPROC glVertexAttrib3s_
 
PFNGLVERTEXATTRIB3SVPROC glVertexAttrib3sv_
 
PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f_
 
PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv_
 
PFNGLVERTEXATTRIB4SPROC glVertexAttrib4s_
 
PFNGLVERTEXATTRIB4SVPROC glVertexAttrib4sv_
 
PFNGLVERTEXATTRIB4BVPROC glVertexAttrib4bv_
 
PFNGLVERTEXATTRIB4IVPROC glVertexAttrib4iv_
 
PFNGLVERTEXATTRIB4UBVPROC glVertexAttrib4ubv_
 
PFNGLVERTEXATTRIB4UIVPROC glVertexAttrib4uiv_
 
PFNGLVERTEXATTRIB4USVPROC glVertexAttrib4usv_
 
PFNGLVERTEXATTRIB4NBVPROC glVertexAttrib4Nbv_
 
PFNGLVERTEXATTRIB4NIVPROC glVertexAttrib4Niv_
 
PFNGLVERTEXATTRIB4NUBPROC glVertexAttrib4Nub_
 
PFNGLVERTEXATTRIB4NUBVPROC glVertexAttrib4Nubv_
 
PFNGLVERTEXATTRIB4NUIVPROC glVertexAttrib4Nuiv_
 
PFNGLVERTEXATTRIB4NUSVPROC glVertexAttrib4Nusv_
 
PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer_
 
PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv_
 
PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv_
 
PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv_
 
PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv_
 
PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv_
 
PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv_
 
PFNGLDRAWBUFFERSPROC glDrawBuffers_
 
PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer_
 
PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers_
 
PFNGLGENFRAMEBUFFERSPROC glGenRenderbuffers_
 
PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage_
 
PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus_
 
PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer_
 
PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers_
 
PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers_
 
PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D_
 
PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer_
 
PFNGLGENERATEMIPMAPPROC glGenerateMipmap_
 
PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer_
 
PFNGLMAPBUFFERRANGEPROC glMapBufferRange_
 
PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange_
 
PFNGLGETUNIFORMINDICESPROC glGetUniformIndices_
 
PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv_
 
PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex_
 
PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv_
 
PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding_
 
PFNGLBINDBUFFERBASEPROC glBindBufferBase_
 
PFNGLBINDBUFFERRANGEPROC glBindBufferRange_
 
PFNGLBINDVERTEXARRAYPROC glBindVertexArray_
 
PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays_
 
PFNGLGENVERTEXARRAYSPROC glGenVertexArrays_
 
PFNGLISVERTEXARRAYPROC glIsVertexArray_
 

Macro Definition Documentation

#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH   0x8A35
#define GL_ACTIVE_UNIFORM_BLOCKS   0x8A36
#define GL_ARB_framebuffer_object   1
#define GL_ARB_texture_rg   1
#define GL_ARB_uniform_buffer_object   1
#define GL_ARB_vertex_array_object   1
#define GL_COLOR_ATTACHMENT0   0x8CE0
#define GL_COLOR_ATTACHMENT1   0x8CE1
#define GL_DEPTH24_STENCIL8   0x88F0

Referenced by createtexture(), and genwatertex().

#define GL_DEPTH_ATTACHMENT   0x8D00
#define GL_DEPTH_STENCIL   0x84F9

Referenced by createtexture(), and genwatertex().

#define GL_DEPTH_STENCIL_ATTACHMENT   0x821A
#define GL_DRAW_FRAMEBUFFER   0x8CA9

Referenced by recorder::readbuffer().

#define GL_FLOAT_MAT2x3   0x8B65
#define GL_FLOAT_MAT2x4   0x8B66
#define GL_FLOAT_MAT3x2   0x8B67
#define GL_FLOAT_MAT3x4   0x8B68
#define GL_FLOAT_MAT4x2   0x8B69
#define GL_FLOAT_MAT4x3   0x8B6A
#define GL_FRAMEBUFFER   0x8D40
#define GL_FRAMEBUFFER_COMPLETE   0x8CD5

Referenced by genwatertex(), and rendertarget::setup().

#define GL_INVALID_INDEX   0xFFFFFFFFu

Referenced by bindglsluniform().

#define GL_MAP_FLUSH_EXPLICIT_BIT   0x0010
#define GL_MAP_INVALIDATE_BUFFER_BIT   0x0008
#define GL_MAP_INVALIDATE_RANGE_BIT   0x0004
#define GL_MAP_READ_BIT   0x0001
#define GL_MAP_UNSYNCHRONIZED_BIT   0x0020
#define GL_MAP_WRITE_BIT   0x0002
#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS   0x8A33
#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS   0x8A32
#define GL_MAX_COMBINED_UNIFORM_BLOCKS   0x8A2E
#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS   0x8A31
#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS   0x8A2D
#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS   0x8A2C
#define GL_MAX_UNIFORM_BLOCK_SIZE   0x8A30
#define GL_MAX_UNIFORM_BUFFER_BINDINGS   0x8A2F
#define GL_MAX_VERTEX_UNIFORM_BLOCKS   0x8A2B
#define GL_R16   0x822A

Referenced by createtexture().

#define GL_R16F   0x822D

Referenced by createtexture().

#define GL_R16I   0x8233
#define GL_R16UI   0x8234
#define GL_R32F   0x822E

Referenced by createtexture().

#define GL_R32I   0x8235
#define GL_R32UI   0x8236
#define GL_R8   0x8229
#define GL_R8I   0x8231
#define GL_R8UI   0x8232
#define GL_READ_FRAMEBUFFER   0x8CA8

Referenced by recorder::readbuffer().

#define GL_RENDERBUFFER   0x8D41
#define GL_RG   0x8227

Referenced by createtexture().

#define GL_RG16   0x822C

Referenced by createtexture().

#define GL_RG16F   0x822F
#define GL_RG16I   0x8239
#define GL_RG16UI   0x823A
#define GL_RG32F   0x8230

Referenced by createtexture().

#define GL_RG32I   0x823B
#define GL_RG32UI   0x823C
#define GL_RG8   0x822B

Referenced by createtexture().

#define GL_RG8I   0x8237
#define GL_RG8UI   0x8238
#define GL_RG_INTEGER   0x8228
#define GL_RGB16F   0x881B
#define GL_RGB32F   0x8815

Referenced by createtexture().

#define GL_RGBA16F   0x881A
#define GL_RGBA32F   0x8814

Referenced by createtexture().

#define GL_STENCIL_ATTACHMENT   0x8D20

Referenced by genwatertex().

#define GL_TEXTURE_RECTANGLE   0x84F5
#define GL_UNIFORM_ARRAY_STRIDE   0x8A3C

Referenced by bindglsluniform().

#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES   0x8A43
#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS   0x8A42
#define GL_UNIFORM_BLOCK_BINDING   0x8A3F
#define GL_UNIFORM_BLOCK_DATA_SIZE   0x8A40

Referenced by bindglsluniform().

#define GL_UNIFORM_BLOCK_INDEX   0x8A3A
#define GL_UNIFORM_BLOCK_NAME_LENGTH   0x8A41
#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER   0x8A46
#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER   0x8A45
#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER   0x8A44
#define GL_UNIFORM_BUFFER   0x8A11
#define GL_UNIFORM_BUFFER_BINDING   0x8A28
#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT   0x8A34
#define GL_UNIFORM_BUFFER_SIZE   0x8A2A
#define GL_UNIFORM_BUFFER_START   0x8A29
#define GL_UNIFORM_IS_ROW_MAJOR   0x8A3E
#define GL_UNIFORM_MATRIX_STRIDE   0x8A3D
#define GL_UNIFORM_NAME_LENGTH   0x8A39
#define GL_UNIFORM_OFFSET   0x8A3B

Referenced by bindglsluniform().

#define GL_UNIFORM_SIZE   0x8A38
#define GL_UNIFORM_TYPE   0x8A37
#define GL_UNSIGNED_INT_24_8   0x84FA

Referenced by createtexture().

#define GL_VERSION_2_1   1
#define GL_VERSION_3_0   1
#define GL_VERSION_3_1   1
#define GL_VERTEX_ARRAY_BINDING   0x85B5
#define glActiveTexture_   glActiveTexture

OpenGL extension checks: check whether certain features are available for your graphics-hardware/platform(driver)

Referenced by animmodel::skin::bind(), binddepthfxtex(), changebatchtmus(), changeslottmus(), gl_checkextensions(), pushshadowmap(), rendergrass(), rendermaterials(), renderpostfx(), renderwater(), setupcaustics(), and setupgeom().

#define glBlendColor_   glBlendColor

Referenced by gl_checkextensions().

#define glBlendEquation_   glBlendEquation
#define glCompressedTexImage1D_   glCompressedTexImage1D
#define glCompressedTexImage2D_   glCompressedTexImage2D
#define glCompressedTexImage3D_   glCompressedTexImage3D

Referenced by gl_checkextensions().

#define glCompressedTexSubImage1D_   glCompressedTexSubImage1D

Referenced by gl_checkextensions().

#define glCompressedTexSubImage2D_   glCompressedTexSubImage2D

Referenced by gl_checkextensions().

#define glCompressedTexSubImage3D_   glCompressedTexSubImage3D

Referenced by gl_checkextensions().

#define glCopyTexSubImage3D_   glCopyTexSubImage3D

Referenced by gl_checkextensions().

#define glDrawRangeElements_   glDrawRangeElements
#define glGetCompressedTexImage_   glGetCompressedTexImage

Referenced by gendds(), and gl_checkextensions().

#define glTexImage3D_   glTexImage3D

Referenced by gl_checkextensions().

#define glTexSubImage3D_   glTexSubImage3D

Referenced by gl_checkextensions().

Typedef Documentation

typedef GLuint * arrays
typedef GLenum attachment
typedef GLuint GLuint buffer
typedef GLsizei count
typedef GLint GLint GLint GLint dstX0
typedef GLint GLint GLint GLint GLint GLint dstX1
typedef GLint GLint GLint GLint GLint dstY0
typedef GLint GLint GLint GLint GLint GLint GLint dstY1
typedef GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
typedef GLuint * framebuffers
typedef GLenum GLsizei GLsizei height
typedef GLuint index
typedef GLintptr GLsizeiptr length
typedef GLenum GLenum GLuint GLint level
typedef GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
typedef GLuint GLuint GLintptr offset
typedef GLuint GLenum GLint * params
typedef GLvoid* APIENTRYP PFNGLMAPBUFFERRANGEPROC(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
typedef GLuint GLenum pname
typedef GLuint * renderbuffers
typedef GLuint GLuint GLintptr GLsizeiptr size
typedef GLint GLint srcX1
typedef GLint srcY0
typedef GLint GLint GLint srcY1
typedef GLsizei GLboolean transpose
typedef const GLchar* uniformBlockName
typedef GLsizei uniformCount
typedef GLsizei const GLuint * uniformIndices
typedef GLsizei const GLchar* * uniformNames
typedef GLsizei GLboolean const GLfloat * value
typedef GLenum GLsizei width

Function Documentation

typedef GLboolean ( APIENTRYP  PFNGLISVERTEXARRAYPROC)
typedef GLenum ( APIENTRYP  PFNGLCHECKFRAMEBUFFERSTATUSPROC)
typedef GLuint ( APIENTRYP  PFNGLGETUNIFORMBLOCKINDEXPROC)
typedef void ( APIENTRYP  PFNGLUNIFORMMATRIX2X3FVPROC)

Referenced by ImageData::wrap().

Variable Documentation

PFNGLATTACHSHADERPROC glAttachShader_
PFNGLBEGINQUERYPROC glBeginQuery_

Referenced by gl_checkextensions().

PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation_
PFNGLBINDBUFFERPROC glBindBuffer_
PFNGLBINDBUFFERBASEPROC glBindBufferBase_

Referenced by gl_checkextensions().

PFNGLBINDBUFFERRANGEPROC glBindBufferRange_

Referenced by gl_checkextensions().

PFNGLBINDFRAMEBUFFERPROC glBindFramebuffer_
PFNGLBINDRENDERBUFFERPROC glBindRenderbuffer_
PFNGLBINDVERTEXARRAYPROC glBindVertexArray_

Referenced by gl_checkextensions(), and gle::setup().

PFNGLBLENDEQUATIONSEPARATEPROC glBlendEquationSeparate_

Referenced by gl_checkextensions().

PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate_

Referenced by gl_checkextensions().

PFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer_
PFNGLBUFFERDATAPROC glBufferData_
PFNGLBUFFERSUBDATAPROC glBufferSubData_
PFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus_
PFNGLCOMPILESHADERPROC glCompileShader_
PFNGLCREATEPROGRAMPROC glCreateProgram_
PFNGLCREATESHADERPROC glCreateShader_
PFNGLDELETEBUFFERSPROC glDeleteBuffers_
PFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers_
PFNGLDELETEPROGRAMPROC glDeleteProgram_
PFNGLDELETEQUERIESPROC glDeleteQueries_
PFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers_
PFNGLDELETESHADERPROC glDeleteShader_
PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays_

Referenced by gle::cleanup(), and gl_checkextensions().

PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray_
PFNGLDRAWBUFFERSPROC glDrawBuffers_

Referenced by gl_checkextensions().

PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray_
PFNGLENDQUERYPROC glEndQuery_

Referenced by gl_checkextensions().

PFNGLFLUSHMAPPEDBUFFERRANGEPROC glFlushMappedBufferRange_

Referenced by gl_checkextensions().

PFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer_
PFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D_
PFNGLGENBUFFERSPROC glGenBuffers_
PFNGLGENERATEMIPMAPPROC glGenerateMipmap_

Referenced by gl_checkextensions().

PFNGLGENFRAMEBUFFERSPROC glGenFramebuffers_
PFNGLGENQUERIESPROC glGenQueries_
PFNGLGENFRAMEBUFFERSPROC glGenRenderbuffers_
PFNGLGENVERTEXARRAYSPROC glGenVertexArrays_

Referenced by gl_checkextensions(), and gle::setup().

PFNGLGETACTIVEUNIFORMPROC glGetActiveUniform_
PFNGLGETACTIVEUNIFORMBLOCKIVPROC glGetActiveUniformBlockiv_
PFNGLGETACTIVEUNIFORMSIVPROC glGetActiveUniformsiv_
PFNGLGETBUFFERSUBDATAPROC glGetBufferSubData_

Referenced by gl_checkextensions(), and readva().

PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog_

Referenced by gl_checkextensions(), and showglslinfo().

PFNGLGETPROGRAMIVPROC glGetProgramiv_
PFNGLGETQUERYIVPROC glGetQueryiv_

Referenced by gl_checkextensions().

PFNGLGETQUERYOBJECTIVPROC glGetQueryObjectiv_

Referenced by checkquery(), and gl_checkextensions().

PFNGLGETQUERYOBJECTUIVPROC glGetQueryObjectuiv_

Referenced by checkquery(), and gl_checkextensions().

PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog_

Referenced by gl_checkextensions(), and showglslinfo().

PFNGLGETSHADERIVPROC glGetShaderiv_
PFNGLGETUNIFORMBLOCKINDEXPROC glGetUniformBlockIndex_
PFNGLGETUNIFORMINDICESPROC glGetUniformIndices_
PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation_
PFNGLISVERTEXARRAYPROC glIsVertexArray_

Referenced by gl_checkextensions().

PFNGLLINKPROGRAMPROC glLinkProgram_
PFNGLMAPBUFFERPROC glMapBuffer_

Referenced by gl_checkextensions().

PFNGLMAPBUFFERRANGEPROC glMapBufferRange_
PFNGLMULTIDRAWARRAYSPROC glMultiDrawArrays_

Referenced by gle::end(), and gl_checkextensions().

PFNGLMULTIDRAWELEMENTSPROC glMultiDrawElements_

Referenced by gl_checkextensions().

PFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage_
PFNGLSHADERSOURCEPROC glShaderSource_
PFNGLSTENCILFUNCSEPARATEPROC glStencilFuncSeparate_

Referenced by gl_checkextensions().

PFNGLSTENCILMASKSEPARATEPROC glStencilMaskSeparate_

Referenced by gl_checkextensions().

PFNGLSTENCILOPSEPARATEPROC glStencilOpSeparate_

Referenced by gl_checkextensions().

PFNGLUNIFORM1FPROC glUniform1f_
PFNGLUNIFORM1FVPROC glUniform1fv_
PFNGLUNIFORM1IPROC glUniform1i_
PFNGLUNIFORM1IVPROC glUniform1iv_
PFNGLUNIFORM2FPROC glUniform2f_
PFNGLUNIFORM2FVPROC glUniform2fv_
PFNGLUNIFORM2IPROC glUniform2i_
PFNGLUNIFORM2IVPROC glUniform2iv_
PFNGLUNIFORM3FPROC glUniform3f_
PFNGLUNIFORM3FVPROC glUniform3fv_
PFNGLUNIFORM3IPROC glUniform3i_
PFNGLUNIFORM3IVPROC glUniform3iv_
PFNGLUNIFORM4FPROC glUniform4f_
PFNGLUNIFORM4FVPROC glUniform4fv_
PFNGLUNIFORM4IPROC glUniform4i_
PFNGLUNIFORM4IVPROC glUniform4iv_
PFNGLUNIFORMBLOCKBINDINGPROC glUniformBlockBinding_
PFNGLUNIFORMMATRIX2FVPROC glUniformMatrix2fv_
PFNGLUNIFORMMATRIX2X3FVPROC glUniformMatrix2x3fv_

Referenced by gl_checkextensions().

PFNGLUNIFORMMATRIX2X4FVPROC glUniformMatrix2x4fv_

Referenced by gl_checkextensions().

PFNGLUNIFORMMATRIX3FVPROC glUniformMatrix3fv_
PFNGLUNIFORMMATRIX3X2FVPROC glUniformMatrix3x2fv_

Referenced by gl_checkextensions().

PFNGLUNIFORMMATRIX3X4FVPROC glUniformMatrix3x4fv_

Referenced by gl_checkextensions().

PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv_
PFNGLUNIFORMMATRIX4X2FVPROC glUniformMatrix4x2fv_

Referenced by gl_checkextensions().

PFNGLUNIFORMMATRIX4X3FVPROC glUniformMatrix4x3fv_

Referenced by gl_checkextensions().

PFNGLUNMAPBUFFERPROC glUnmapBuffer_
PFNGLUSEPROGRAMPROC glUseProgram_
PFNGLVERTEXATTRIB1FPROC glVertexAttrib1f_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB1FVPROC glVertexAttrib1fv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB1SPROC glVertexAttrib1s_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB1SVPROC glVertexAttrib1sv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB2FPROC glVertexAttrib2f_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB2FVPROC glVertexAttrib2fv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB2SPROC glVertexAttrib2s_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB2SVPROC glVertexAttrib2sv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB3FPROC glVertexAttrib3f_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB3FVPROC glVertexAttrib3fv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB3SPROC glVertexAttrib3s_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB3SVPROC glVertexAttrib3sv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4BVPROC glVertexAttrib4bv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4FPROC glVertexAttrib4f_
PFNGLVERTEXATTRIB4FVPROC glVertexAttrib4fv_

Referenced by gl_checkextensions(), and gle::tangent().

PFNGLVERTEXATTRIB4IVPROC glVertexAttrib4iv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4NBVPROC glVertexAttrib4Nbv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4NIVPROC glVertexAttrib4Niv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4NUBPROC glVertexAttrib4Nub_

Referenced by gle::color(), and gl_checkextensions().

PFNGLVERTEXATTRIB4NUBVPROC glVertexAttrib4Nubv_

Referenced by gle::color(), and gl_checkextensions().

PFNGLVERTEXATTRIB4NUIVPROC glVertexAttrib4Nuiv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4NUSVPROC glVertexAttrib4Nusv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4SPROC glVertexAttrib4s_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4SVPROC glVertexAttrib4sv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4UBVPROC glVertexAttrib4ubv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4UIVPROC glVertexAttrib4uiv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIB4USVPROC glVertexAttrib4usv_

Referenced by gl_checkextensions().

PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer_