#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glad/gl.h>
#ifndef GLAD_IMPL_UTIL_C_
#define GLAD_IMPL_UTIL_C_
#ifdef _MSC_VER
#define GLAD_IMPL_UTIL_SSCANF …
#else
#define GLAD_IMPL_UTIL_SSCANF …
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
int GLAD_GL_VERSION_1_0 = …;
int GLAD_GL_VERSION_1_1 = …;
int GLAD_GL_VERSION_1_2 = …;
int GLAD_GL_VERSION_1_3 = …;
int GLAD_GL_VERSION_1_4 = …;
int GLAD_GL_VERSION_1_5 = …;
int GLAD_GL_VERSION_2_0 = …;
int GLAD_GL_VERSION_2_1 = …;
int GLAD_GL_EXT_framebuffer_object = …;
PFNGLACCUMPROC glad_glAccum = …;
PFNGLACTIVETEXTUREPROC glad_glActiveTexture = …;
PFNGLALPHAFUNCPROC glad_glAlphaFunc = …;
PFNGLARETEXTURESRESIDENTPROC glad_glAreTexturesResident = …;
PFNGLARRAYELEMENTPROC glad_glArrayElement = …;
PFNGLATTACHSHADERPROC glad_glAttachShader = …;
PFNGLBEGINPROC glad_glBegin = …;
PFNGLBEGINQUERYPROC glad_glBeginQuery = …;
PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation = …;
PFNGLBINDBUFFERPROC glad_glBindBuffer = …;
PFNGLBINDFRAMEBUFFEREXTPROC glad_glBindFramebufferEXT = …;
PFNGLBINDRENDERBUFFEREXTPROC glad_glBindRenderbufferEXT = …;
PFNGLBINDTEXTUREPROC glad_glBindTexture = …;
PFNGLBITMAPPROC glad_glBitmap = …;
PFNGLBLENDCOLORPROC glad_glBlendColor = …;
PFNGLBLENDEQUATIONPROC glad_glBlendEquation = …;
PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate = …;
PFNGLBLENDFUNCPROC glad_glBlendFunc = …;
PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate = …;
PFNGLBUFFERDATAPROC glad_glBufferData = …;
PFNGLBUFFERSUBDATAPROC glad_glBufferSubData = …;
PFNGLCALLLISTPROC glad_glCallList = …;
PFNGLCALLLISTSPROC glad_glCallLists = …;
PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC glad_glCheckFramebufferStatusEXT = …;
PFNGLCLEARPROC glad_glClear = …;
PFNGLCLEARACCUMPROC glad_glClearAccum = …;
PFNGLCLEARCOLORPROC glad_glClearColor = …;
PFNGLCLEARDEPTHPROC glad_glClearDepth = …;
PFNGLCLEARINDEXPROC glad_glClearIndex = …;
PFNGLCLEARSTENCILPROC glad_glClearStencil = …;
PFNGLCLIENTACTIVETEXTUREPROC glad_glClientActiveTexture = …;
PFNGLCLIPPLANEPROC glad_glClipPlane = …;
PFNGLCOLOR3BPROC glad_glColor3b = …;
PFNGLCOLOR3BVPROC glad_glColor3bv = …;
PFNGLCOLOR3DPROC glad_glColor3d = …;
PFNGLCOLOR3DVPROC glad_glColor3dv = …;
PFNGLCOLOR3FPROC glad_glColor3f = …;
PFNGLCOLOR3FVPROC glad_glColor3fv = …;
PFNGLCOLOR3IPROC glad_glColor3i = …;
PFNGLCOLOR3IVPROC glad_glColor3iv = …;
PFNGLCOLOR3SPROC glad_glColor3s = …;
PFNGLCOLOR3SVPROC glad_glColor3sv = …;
PFNGLCOLOR3UBPROC glad_glColor3ub = …;
PFNGLCOLOR3UBVPROC glad_glColor3ubv = …;
PFNGLCOLOR3UIPROC glad_glColor3ui = …;
PFNGLCOLOR3UIVPROC glad_glColor3uiv = …;
PFNGLCOLOR3USPROC glad_glColor3us = …;
PFNGLCOLOR3USVPROC glad_glColor3usv = …;
PFNGLCOLOR4BPROC glad_glColor4b = …;
PFNGLCOLOR4BVPROC glad_glColor4bv = …;
PFNGLCOLOR4DPROC glad_glColor4d = …;
PFNGLCOLOR4DVPROC glad_glColor4dv = …;
PFNGLCOLOR4FPROC glad_glColor4f = …;
PFNGLCOLOR4FVPROC glad_glColor4fv = …;
PFNGLCOLOR4IPROC glad_glColor4i = …;
PFNGLCOLOR4IVPROC glad_glColor4iv = …;
PFNGLCOLOR4SPROC glad_glColor4s = …;
PFNGLCOLOR4SVPROC glad_glColor4sv = …;
PFNGLCOLOR4UBPROC glad_glColor4ub = …;
PFNGLCOLOR4UBVPROC glad_glColor4ubv = …;
PFNGLCOLOR4UIPROC glad_glColor4ui = …;
PFNGLCOLOR4UIVPROC glad_glColor4uiv = …;
PFNGLCOLOR4USPROC glad_glColor4us = …;
PFNGLCOLOR4USVPROC glad_glColor4usv = …;
PFNGLCOLORMASKPROC glad_glColorMask = …;
PFNGLCOLORMATERIALPROC glad_glColorMaterial = …;
PFNGLCOLORPOINTERPROC glad_glColorPointer = …;
PFNGLCOMPILESHADERPROC glad_glCompileShader = …;
PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D = …;
PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D = …;
PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D = …;
PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D = …;
PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D = …;
PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D = …;
PFNGLCOPYPIXELSPROC glad_glCopyPixels = …;
PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D = …;
PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D = …;
PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D = …;
PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D = …;
PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D = …;
PFNGLCREATEPROGRAMPROC glad_glCreateProgram = …;
PFNGLCREATESHADERPROC glad_glCreateShader = …;
PFNGLCULLFACEPROC glad_glCullFace = …;
PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers = …;
PFNGLDELETEFRAMEBUFFERSEXTPROC glad_glDeleteFramebuffersEXT = …;
PFNGLDELETELISTSPROC glad_glDeleteLists = …;
PFNGLDELETEPROGRAMPROC glad_glDeleteProgram = …;
PFNGLDELETEQUERIESPROC glad_glDeleteQueries = …;
PFNGLDELETERENDERBUFFERSEXTPROC glad_glDeleteRenderbuffersEXT = …;
PFNGLDELETESHADERPROC glad_glDeleteShader = …;
PFNGLDELETETEXTURESPROC glad_glDeleteTextures = …;
PFNGLDEPTHFUNCPROC glad_glDepthFunc = …;
PFNGLDEPTHMASKPROC glad_glDepthMask = …;
PFNGLDEPTHRANGEPROC glad_glDepthRange = …;
PFNGLDETACHSHADERPROC glad_glDetachShader = …;
PFNGLDISABLEPROC glad_glDisable = …;
PFNGLDISABLECLIENTSTATEPROC glad_glDisableClientState = …;
PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray = …;
PFNGLDRAWARRAYSPROC glad_glDrawArrays = …;
PFNGLDRAWBUFFERPROC glad_glDrawBuffer = …;
PFNGLDRAWBUFFERSPROC glad_glDrawBuffers = …;
PFNGLDRAWELEMENTSPROC glad_glDrawElements = …;
PFNGLDRAWPIXELSPROC glad_glDrawPixels = …;
PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements = …;
PFNGLEDGEFLAGPROC glad_glEdgeFlag = …;
PFNGLEDGEFLAGPOINTERPROC glad_glEdgeFlagPointer = …;
PFNGLEDGEFLAGVPROC glad_glEdgeFlagv = …;
PFNGLENABLEPROC glad_glEnable = …;
PFNGLENABLECLIENTSTATEPROC glad_glEnableClientState = …;
PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray = …;
PFNGLENDPROC glad_glEnd = …;
PFNGLENDLISTPROC glad_glEndList = …;
PFNGLENDQUERYPROC glad_glEndQuery = …;
PFNGLEVALCOORD1DPROC glad_glEvalCoord1d = …;
PFNGLEVALCOORD1DVPROC glad_glEvalCoord1dv = …;
PFNGLEVALCOORD1FPROC glad_glEvalCoord1f = …;
PFNGLEVALCOORD1FVPROC glad_glEvalCoord1fv = …;
PFNGLEVALCOORD2DPROC glad_glEvalCoord2d = …;
PFNGLEVALCOORD2DVPROC glad_glEvalCoord2dv = …;
PFNGLEVALCOORD2FPROC glad_glEvalCoord2f = …;
PFNGLEVALCOORD2FVPROC glad_glEvalCoord2fv = …;
PFNGLEVALMESH1PROC glad_glEvalMesh1 = …;
PFNGLEVALMESH2PROC glad_glEvalMesh2 = …;
PFNGLEVALPOINT1PROC glad_glEvalPoint1 = …;
PFNGLEVALPOINT2PROC glad_glEvalPoint2 = …;
PFNGLFEEDBACKBUFFERPROC glad_glFeedbackBuffer = …;
PFNGLFINISHPROC glad_glFinish = …;
PFNGLFLUSHPROC glad_glFlush = …;
PFNGLFOGCOORDPOINTERPROC glad_glFogCoordPointer = …;
PFNGLFOGCOORDDPROC glad_glFogCoordd = …;
PFNGLFOGCOORDDVPROC glad_glFogCoorddv = …;
PFNGLFOGCOORDFPROC glad_glFogCoordf = …;
PFNGLFOGCOORDFVPROC glad_glFogCoordfv = …;
PFNGLFOGFPROC glad_glFogf = …;
PFNGLFOGFVPROC glad_glFogfv = …;
PFNGLFOGIPROC glad_glFogi = …;
PFNGLFOGIVPROC glad_glFogiv = …;
PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC glad_glFramebufferRenderbufferEXT = …;
PFNGLFRAMEBUFFERTEXTURE1DEXTPROC glad_glFramebufferTexture1DEXT = …;
PFNGLFRAMEBUFFERTEXTURE2DEXTPROC glad_glFramebufferTexture2DEXT = …;
PFNGLFRAMEBUFFERTEXTURE3DEXTPROC glad_glFramebufferTexture3DEXT = …;
PFNGLFRONTFACEPROC glad_glFrontFace = …;
PFNGLFRUSTUMPROC glad_glFrustum = …;
PFNGLGENBUFFERSPROC glad_glGenBuffers = …;
PFNGLGENFRAMEBUFFERSEXTPROC glad_glGenFramebuffersEXT = …;
PFNGLGENLISTSPROC glad_glGenLists = …;
PFNGLGENQUERIESPROC glad_glGenQueries = …;
PFNGLGENRENDERBUFFERSEXTPROC glad_glGenRenderbuffersEXT = …;
PFNGLGENTEXTURESPROC glad_glGenTextures = …;
PFNGLGENERATEMIPMAPEXTPROC glad_glGenerateMipmapEXT = …;
PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib = …;
PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform = …;
PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders = …;
PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation = …;
PFNGLGETBOOLEANVPROC glad_glGetBooleanv = …;
PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv = …;
PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv = …;
PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData = …;
PFNGLGETCLIPPLANEPROC glad_glGetClipPlane = …;
PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage = …;
PFNGLGETDOUBLEVPROC glad_glGetDoublev = …;
PFNGLGETERRORPROC glad_glGetError = …;
PFNGLGETFLOATVPROC glad_glGetFloatv = …;
PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC glad_glGetFramebufferAttachmentParameterivEXT = …;
PFNGLGETINTEGERVPROC glad_glGetIntegerv = …;
PFNGLGETLIGHTFVPROC glad_glGetLightfv = …;
PFNGLGETLIGHTIVPROC glad_glGetLightiv = …;
PFNGLGETMAPDVPROC glad_glGetMapdv = …;
PFNGLGETMAPFVPROC glad_glGetMapfv = …;
PFNGLGETMAPIVPROC glad_glGetMapiv = …;
PFNGLGETMATERIALFVPROC glad_glGetMaterialfv = …;
PFNGLGETMATERIALIVPROC glad_glGetMaterialiv = …;
PFNGLGETPIXELMAPFVPROC glad_glGetPixelMapfv = …;
PFNGLGETPIXELMAPUIVPROC glad_glGetPixelMapuiv = …;
PFNGLGETPIXELMAPUSVPROC glad_glGetPixelMapusv = …;
PFNGLGETPOINTERVPROC glad_glGetPointerv = …;
PFNGLGETPOLYGONSTIPPLEPROC glad_glGetPolygonStipple = …;
PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog = …;
PFNGLGETPROGRAMIVPROC glad_glGetProgramiv = …;
PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv = …;
PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv = …;
PFNGLGETQUERYIVPROC glad_glGetQueryiv = …;
PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC glad_glGetRenderbufferParameterivEXT = …;
PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog = …;
PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource = …;
PFNGLGETSHADERIVPROC glad_glGetShaderiv = …;
PFNGLGETSTRINGPROC glad_glGetString = …;
PFNGLGETTEXENVFVPROC glad_glGetTexEnvfv = …;
PFNGLGETTEXENVIVPROC glad_glGetTexEnviv = …;
PFNGLGETTEXGENDVPROC glad_glGetTexGendv = …;
PFNGLGETTEXGENFVPROC glad_glGetTexGenfv = …;
PFNGLGETTEXGENIVPROC glad_glGetTexGeniv = …;
PFNGLGETTEXIMAGEPROC glad_glGetTexImage = …;
PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv = …;
PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv = …;
PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv = …;
PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv = …;
PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation = …;
PFNGLGETUNIFORMFVPROC glad_glGetUniformfv = …;
PFNGLGETUNIFORMIVPROC glad_glGetUniformiv = …;
PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv = …;
PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv = …;
PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv = …;
PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv = …;
PFNGLHINTPROC glad_glHint = …;
PFNGLINDEXMASKPROC glad_glIndexMask = …;
PFNGLINDEXPOINTERPROC glad_glIndexPointer = …;
PFNGLINDEXDPROC glad_glIndexd = …;
PFNGLINDEXDVPROC glad_glIndexdv = …;
PFNGLINDEXFPROC glad_glIndexf = …;
PFNGLINDEXFVPROC glad_glIndexfv = …;
PFNGLINDEXIPROC glad_glIndexi = …;
PFNGLINDEXIVPROC glad_glIndexiv = …;
PFNGLINDEXSPROC glad_glIndexs = …;
PFNGLINDEXSVPROC glad_glIndexsv = …;
PFNGLINDEXUBPROC glad_glIndexub = …;
PFNGLINDEXUBVPROC glad_glIndexubv = …;
PFNGLINITNAMESPROC glad_glInitNames = …;
PFNGLINTERLEAVEDARRAYSPROC glad_glInterleavedArrays = …;
PFNGLISBUFFERPROC glad_glIsBuffer = …;
PFNGLISENABLEDPROC glad_glIsEnabled = …;
PFNGLISFRAMEBUFFEREXTPROC glad_glIsFramebufferEXT = …;
PFNGLISLISTPROC glad_glIsList = …;
PFNGLISPROGRAMPROC glad_glIsProgram = …;
PFNGLISQUERYPROC glad_glIsQuery = …;
PFNGLISRENDERBUFFEREXTPROC glad_glIsRenderbufferEXT = …;
PFNGLISSHADERPROC glad_glIsShader = …;
PFNGLISTEXTUREPROC glad_glIsTexture = …;
PFNGLLIGHTMODELFPROC glad_glLightModelf = …;
PFNGLLIGHTMODELFVPROC glad_glLightModelfv = …;
PFNGLLIGHTMODELIPROC glad_glLightModeli = …;
PFNGLLIGHTMODELIVPROC glad_glLightModeliv = …;
PFNGLLIGHTFPROC glad_glLightf = …;
PFNGLLIGHTFVPROC glad_glLightfv = …;
PFNGLLIGHTIPROC glad_glLighti = …;
PFNGLLIGHTIVPROC glad_glLightiv = …;
PFNGLLINESTIPPLEPROC glad_glLineStipple = …;
PFNGLLINEWIDTHPROC glad_glLineWidth = …;
PFNGLLINKPROGRAMPROC glad_glLinkProgram = …;
PFNGLLISTBASEPROC glad_glListBase = …;
PFNGLLOADIDENTITYPROC glad_glLoadIdentity = …;
PFNGLLOADMATRIXDPROC glad_glLoadMatrixd = …;
PFNGLLOADMATRIXFPROC glad_glLoadMatrixf = …;
PFNGLLOADNAMEPROC glad_glLoadName = …;
PFNGLLOADTRANSPOSEMATRIXDPROC glad_glLoadTransposeMatrixd = …;
PFNGLLOADTRANSPOSEMATRIXFPROC glad_glLoadTransposeMatrixf = …;
PFNGLLOGICOPPROC glad_glLogicOp = …;
PFNGLMAP1DPROC glad_glMap1d = …;
PFNGLMAP1FPROC glad_glMap1f = …;
PFNGLMAP2DPROC glad_glMap2d = …;
PFNGLMAP2FPROC glad_glMap2f = …;
PFNGLMAPBUFFERPROC glad_glMapBuffer = …;
PFNGLMAPGRID1DPROC glad_glMapGrid1d = …;
PFNGLMAPGRID1FPROC glad_glMapGrid1f = …;
PFNGLMAPGRID2DPROC glad_glMapGrid2d = …;
PFNGLMAPGRID2FPROC glad_glMapGrid2f = …;
PFNGLMATERIALFPROC glad_glMaterialf = …;
PFNGLMATERIALFVPROC glad_glMaterialfv = …;
PFNGLMATERIALIPROC glad_glMateriali = …;
PFNGLMATERIALIVPROC glad_glMaterialiv = …;
PFNGLMATRIXMODEPROC glad_glMatrixMode = …;
PFNGLMULTMATRIXDPROC glad_glMultMatrixd = …;
PFNGLMULTMATRIXFPROC glad_glMultMatrixf = …;
PFNGLMULTTRANSPOSEMATRIXDPROC glad_glMultTransposeMatrixd = …;
PFNGLMULTTRANSPOSEMATRIXFPROC glad_glMultTransposeMatrixf = …;
PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays = …;
PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements = …;
PFNGLMULTITEXCOORD1DPROC glad_glMultiTexCoord1d = …;
PFNGLMULTITEXCOORD1DVPROC glad_glMultiTexCoord1dv = …;
PFNGLMULTITEXCOORD1FPROC glad_glMultiTexCoord1f = …;
PFNGLMULTITEXCOORD1FVPROC glad_glMultiTexCoord1fv = …;
PFNGLMULTITEXCOORD1IPROC glad_glMultiTexCoord1i = …;
PFNGLMULTITEXCOORD1IVPROC glad_glMultiTexCoord1iv = …;
PFNGLMULTITEXCOORD1SPROC glad_glMultiTexCoord1s = …;
PFNGLMULTITEXCOORD1SVPROC glad_glMultiTexCoord1sv = …;
PFNGLMULTITEXCOORD2DPROC glad_glMultiTexCoord2d = …;
PFNGLMULTITEXCOORD2DVPROC glad_glMultiTexCoord2dv = …;
PFNGLMULTITEXCOORD2FPROC glad_glMultiTexCoord2f = …;
PFNGLMULTITEXCOORD2FVPROC glad_glMultiTexCoord2fv = …;
PFNGLMULTITEXCOORD2IPROC glad_glMultiTexCoord2i = …;
PFNGLMULTITEXCOORD2IVPROC glad_glMultiTexCoord2iv = …;
PFNGLMULTITEXCOORD2SPROC glad_glMultiTexCoord2s = …;
PFNGLMULTITEXCOORD2SVPROC glad_glMultiTexCoord2sv = …;
PFNGLMULTITEXCOORD3DPROC glad_glMultiTexCoord3d = …;
PFNGLMULTITEXCOORD3DVPROC glad_glMultiTexCoord3dv = …;
PFNGLMULTITEXCOORD3FPROC glad_glMultiTexCoord3f = …;
PFNGLMULTITEXCOORD3FVPROC glad_glMultiTexCoord3fv = …;
PFNGLMULTITEXCOORD3IPROC glad_glMultiTexCoord3i = …;
PFNGLMULTITEXCOORD3IVPROC glad_glMultiTexCoord3iv = …;
PFNGLMULTITEXCOORD3SPROC glad_glMultiTexCoord3s = …;
PFNGLMULTITEXCOORD3SVPROC glad_glMultiTexCoord3sv = …;
PFNGLMULTITEXCOORD4DPROC glad_glMultiTexCoord4d = …;
PFNGLMULTITEXCOORD4DVPROC glad_glMultiTexCoord4dv = …;
PFNGLMULTITEXCOORD4FPROC glad_glMultiTexCoord4f = …;
PFNGLMULTITEXCOORD4FVPROC glad_glMultiTexCoord4fv = …;
PFNGLMULTITEXCOORD4IPROC glad_glMultiTexCoord4i = …;
PFNGLMULTITEXCOORD4IVPROC glad_glMultiTexCoord4iv = …;
PFNGLMULTITEXCOORD4SPROC glad_glMultiTexCoord4s = …;
PFNGLMULTITEXCOORD4SVPROC glad_glMultiTexCoord4sv = …;
PFNGLNEWLISTPROC glad_glNewList = …;
PFNGLNORMAL3BPROC glad_glNormal3b = …;
PFNGLNORMAL3BVPROC glad_glNormal3bv = …;
PFNGLNORMAL3DPROC glad_glNormal3d = …;
PFNGLNORMAL3DVPROC glad_glNormal3dv = …;
PFNGLNORMAL3FPROC glad_glNormal3f = …;
PFNGLNORMAL3FVPROC glad_glNormal3fv = …;
PFNGLNORMAL3IPROC glad_glNormal3i = …;
PFNGLNORMAL3IVPROC glad_glNormal3iv = …;
PFNGLNORMAL3SPROC glad_glNormal3s = …;
PFNGLNORMAL3SVPROC glad_glNormal3sv = …;
PFNGLNORMALPOINTERPROC glad_glNormalPointer = …;
PFNGLORTHOPROC glad_glOrtho = …;
PFNGLPASSTHROUGHPROC glad_glPassThrough = …;
PFNGLPIXELMAPFVPROC glad_glPixelMapfv = …;
PFNGLPIXELMAPUIVPROC glad_glPixelMapuiv = …;
PFNGLPIXELMAPUSVPROC glad_glPixelMapusv = …;
PFNGLPIXELSTOREFPROC glad_glPixelStoref = …;
PFNGLPIXELSTOREIPROC glad_glPixelStorei = …;
PFNGLPIXELTRANSFERFPROC glad_glPixelTransferf = …;
PFNGLPIXELTRANSFERIPROC glad_glPixelTransferi = …;
PFNGLPIXELZOOMPROC glad_glPixelZoom = …;
PFNGLPOINTPARAMETERFPROC glad_glPointParameterf = …;
PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv = …;
PFNGLPOINTPARAMETERIPROC glad_glPointParameteri = …;
PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv = …;
PFNGLPOINTSIZEPROC glad_glPointSize = …;
PFNGLPOLYGONMODEPROC glad_glPolygonMode = …;
PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset = …;
PFNGLPOLYGONSTIPPLEPROC glad_glPolygonStipple = …;
PFNGLPOPATTRIBPROC glad_glPopAttrib = …;
PFNGLPOPCLIENTATTRIBPROC glad_glPopClientAttrib = …;
PFNGLPOPMATRIXPROC glad_glPopMatrix = …;
PFNGLPOPNAMEPROC glad_glPopName = …;
PFNGLPRIORITIZETEXTURESPROC glad_glPrioritizeTextures = …;
PFNGLPUSHATTRIBPROC glad_glPushAttrib = …;
PFNGLPUSHCLIENTATTRIBPROC glad_glPushClientAttrib = …;
PFNGLPUSHMATRIXPROC glad_glPushMatrix = …;
PFNGLPUSHNAMEPROC glad_glPushName = …;
PFNGLRASTERPOS2DPROC glad_glRasterPos2d = …;
PFNGLRASTERPOS2DVPROC glad_glRasterPos2dv = …;
PFNGLRASTERPOS2FPROC glad_glRasterPos2f = …;
PFNGLRASTERPOS2FVPROC glad_glRasterPos2fv = …;
PFNGLRASTERPOS2IPROC glad_glRasterPos2i = …;
PFNGLRASTERPOS2IVPROC glad_glRasterPos2iv = …;
PFNGLRASTERPOS2SPROC glad_glRasterPos2s = …;
PFNGLRASTERPOS2SVPROC glad_glRasterPos2sv = …;
PFNGLRASTERPOS3DPROC glad_glRasterPos3d = …;
PFNGLRASTERPOS3DVPROC glad_glRasterPos3dv = …;
PFNGLRASTERPOS3FPROC glad_glRasterPos3f = …;
PFNGLRASTERPOS3FVPROC glad_glRasterPos3fv = …;
PFNGLRASTERPOS3IPROC glad_glRasterPos3i = …;
PFNGLRASTERPOS3IVPROC glad_glRasterPos3iv = …;
PFNGLRASTERPOS3SPROC glad_glRasterPos3s = …;
PFNGLRASTERPOS3SVPROC glad_glRasterPos3sv = …;
PFNGLRASTERPOS4DPROC glad_glRasterPos4d = …;
PFNGLRASTERPOS4DVPROC glad_glRasterPos4dv = …;
PFNGLRASTERPOS4FPROC glad_glRasterPos4f = …;
PFNGLRASTERPOS4FVPROC glad_glRasterPos4fv = …;
PFNGLRASTERPOS4IPROC glad_glRasterPos4i = …;
PFNGLRASTERPOS4IVPROC glad_glRasterPos4iv = …;
PFNGLRASTERPOS4SPROC glad_glRasterPos4s = …;
PFNGLRASTERPOS4SVPROC glad_glRasterPos4sv = …;
PFNGLREADBUFFERPROC glad_glReadBuffer = …;
PFNGLREADPIXELSPROC glad_glReadPixels = …;
PFNGLRECTDPROC glad_glRectd = …;
PFNGLRECTDVPROC glad_glRectdv = …;
PFNGLRECTFPROC glad_glRectf = …;
PFNGLRECTFVPROC glad_glRectfv = …;
PFNGLRECTIPROC glad_glRecti = …;
PFNGLRECTIVPROC glad_glRectiv = …;
PFNGLRECTSPROC glad_glRects = …;
PFNGLRECTSVPROC glad_glRectsv = …;
PFNGLRENDERMODEPROC glad_glRenderMode = …;
PFNGLRENDERBUFFERSTORAGEEXTPROC glad_glRenderbufferStorageEXT = …;
PFNGLROTATEDPROC glad_glRotated = …;
PFNGLROTATEFPROC glad_glRotatef = …;
PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage = …;
PFNGLSCALEDPROC glad_glScaled = …;
PFNGLSCALEFPROC glad_glScalef = …;
PFNGLSCISSORPROC glad_glScissor = …;
PFNGLSECONDARYCOLOR3BPROC glad_glSecondaryColor3b = …;
PFNGLSECONDARYCOLOR3BVPROC glad_glSecondaryColor3bv = …;
PFNGLSECONDARYCOLOR3DPROC glad_glSecondaryColor3d = …;
PFNGLSECONDARYCOLOR3DVPROC glad_glSecondaryColor3dv = …;
PFNGLSECONDARYCOLOR3FPROC glad_glSecondaryColor3f = …;
PFNGLSECONDARYCOLOR3FVPROC glad_glSecondaryColor3fv = …;
PFNGLSECONDARYCOLOR3IPROC glad_glSecondaryColor3i = …;
PFNGLSECONDARYCOLOR3IVPROC glad_glSecondaryColor3iv = …;
PFNGLSECONDARYCOLOR3SPROC glad_glSecondaryColor3s = …;
PFNGLSECONDARYCOLOR3SVPROC glad_glSecondaryColor3sv = …;
PFNGLSECONDARYCOLOR3UBPROC glad_glSecondaryColor3ub = …;
PFNGLSECONDARYCOLOR3UBVPROC glad_glSecondaryColor3ubv = …;
PFNGLSECONDARYCOLOR3UIPROC glad_glSecondaryColor3ui = …;
PFNGLSECONDARYCOLOR3UIVPROC glad_glSecondaryColor3uiv = …;
PFNGLSECONDARYCOLOR3USPROC glad_glSecondaryColor3us = …;
PFNGLSECONDARYCOLOR3USVPROC glad_glSecondaryColor3usv = …;
PFNGLSECONDARYCOLORPOINTERPROC glad_glSecondaryColorPointer = …;
PFNGLSELECTBUFFERPROC glad_glSelectBuffer = …;
PFNGLSHADEMODELPROC glad_glShadeModel = …;
PFNGLSHADERSOURCEPROC glad_glShaderSource = …;
PFNGLSTENCILFUNCPROC glad_glStencilFunc = …;
PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate = …;
PFNGLSTENCILMASKPROC glad_glStencilMask = …;
PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate = …;
PFNGLSTENCILOPPROC glad_glStencilOp = …;
PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate = …;
PFNGLTEXCOORD1DPROC glad_glTexCoord1d = …;
PFNGLTEXCOORD1DVPROC glad_glTexCoord1dv = …;
PFNGLTEXCOORD1FPROC glad_glTexCoord1f = …;
PFNGLTEXCOORD1FVPROC glad_glTexCoord1fv = …;
PFNGLTEXCOORD1IPROC glad_glTexCoord1i = …;
PFNGLTEXCOORD1IVPROC glad_glTexCoord1iv = …;
PFNGLTEXCOORD1SPROC glad_glTexCoord1s = …;
PFNGLTEXCOORD1SVPROC glad_glTexCoord1sv = …;
PFNGLTEXCOORD2DPROC glad_glTexCoord2d = …;
PFNGLTEXCOORD2DVPROC glad_glTexCoord2dv = …;
PFNGLTEXCOORD2FPROC glad_glTexCoord2f = …;
PFNGLTEXCOORD2FVPROC glad_glTexCoord2fv = …;
PFNGLTEXCOORD2IPROC glad_glTexCoord2i = …;
PFNGLTEXCOORD2IVPROC glad_glTexCoord2iv = …;
PFNGLTEXCOORD2SPROC glad_glTexCoord2s = …;
PFNGLTEXCOORD2SVPROC glad_glTexCoord2sv = …;
PFNGLTEXCOORD3DPROC glad_glTexCoord3d = …;
PFNGLTEXCOORD3DVPROC glad_glTexCoord3dv = …;
PFNGLTEXCOORD3FPROC glad_glTexCoord3f = …;
PFNGLTEXCOORD3FVPROC glad_glTexCoord3fv = …;
PFNGLTEXCOORD3IPROC glad_glTexCoord3i = …;
PFNGLTEXCOORD3IVPROC glad_glTexCoord3iv = …;
PFNGLTEXCOORD3SPROC glad_glTexCoord3s = …;
PFNGLTEXCOORD3SVPROC glad_glTexCoord3sv = …;
PFNGLTEXCOORD4DPROC glad_glTexCoord4d = …;
PFNGLTEXCOORD4DVPROC glad_glTexCoord4dv = …;
PFNGLTEXCOORD4FPROC glad_glTexCoord4f = …;
PFNGLTEXCOORD4FVPROC glad_glTexCoord4fv = …;
PFNGLTEXCOORD4IPROC glad_glTexCoord4i = …;
PFNGLTEXCOORD4IVPROC glad_glTexCoord4iv = …;
PFNGLTEXCOORD4SPROC glad_glTexCoord4s = …;
PFNGLTEXCOORD4SVPROC glad_glTexCoord4sv = …;
PFNGLTEXCOORDPOINTERPROC glad_glTexCoordPointer = …;
PFNGLTEXENVFPROC glad_glTexEnvf = …;
PFNGLTEXENVFVPROC glad_glTexEnvfv = …;
PFNGLTEXENVIPROC glad_glTexEnvi = …;
PFNGLTEXENVIVPROC glad_glTexEnviv = …;
PFNGLTEXGENDPROC glad_glTexGend = …;
PFNGLTEXGENDVPROC glad_glTexGendv = …;
PFNGLTEXGENFPROC glad_glTexGenf = …;
PFNGLTEXGENFVPROC glad_glTexGenfv = …;
PFNGLTEXGENIPROC glad_glTexGeni = …;
PFNGLTEXGENIVPROC glad_glTexGeniv = …;
PFNGLTEXIMAGE1DPROC glad_glTexImage1D = …;
PFNGLTEXIMAGE2DPROC glad_glTexImage2D = …;
PFNGLTEXIMAGE3DPROC glad_glTexImage3D = …;
PFNGLTEXPARAMETERFPROC glad_glTexParameterf = …;
PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv = …;
PFNGLTEXPARAMETERIPROC glad_glTexParameteri = …;
PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv = …;
PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D = …;
PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D = …;
PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D = …;
PFNGLTRANSLATEDPROC glad_glTranslated = …;
PFNGLTRANSLATEFPROC glad_glTranslatef = …;
PFNGLUNIFORM1FPROC glad_glUniform1f = …;
PFNGLUNIFORM1FVPROC glad_glUniform1fv = …;
PFNGLUNIFORM1IPROC glad_glUniform1i = …;
PFNGLUNIFORM1IVPROC glad_glUniform1iv = …;
PFNGLUNIFORM2FPROC glad_glUniform2f = …;
PFNGLUNIFORM2FVPROC glad_glUniform2fv = …;
PFNGLUNIFORM2IPROC glad_glUniform2i = …;
PFNGLUNIFORM2IVPROC glad_glUniform2iv = …;
PFNGLUNIFORM3FPROC glad_glUniform3f = …;
PFNGLUNIFORM3FVPROC glad_glUniform3fv = …;
PFNGLUNIFORM3IPROC glad_glUniform3i = …;
PFNGLUNIFORM3IVPROC glad_glUniform3iv = …;
PFNGLUNIFORM4FPROC glad_glUniform4f = …;
PFNGLUNIFORM4FVPROC glad_glUniform4fv = …;
PFNGLUNIFORM4IPROC glad_glUniform4i = …;
PFNGLUNIFORM4IVPROC glad_glUniform4iv = …;
PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv = …;
PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv = …;
PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv = …;
PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv = …;
PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv = …;
PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv = …;
PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv = …;
PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv = …;
PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv = …;
PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer = …;
PFNGLUSEPROGRAMPROC glad_glUseProgram = …;
PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram = …;
PFNGLVERTEX2DPROC glad_glVertex2d = …;
PFNGLVERTEX2DVPROC glad_glVertex2dv = …;
PFNGLVERTEX2FPROC glad_glVertex2f = …;
PFNGLVERTEX2FVPROC glad_glVertex2fv = …;
PFNGLVERTEX2IPROC glad_glVertex2i = …;
PFNGLVERTEX2IVPROC glad_glVertex2iv = …;
PFNGLVERTEX2SPROC glad_glVertex2s = …;
PFNGLVERTEX2SVPROC glad_glVertex2sv = …;
PFNGLVERTEX3DPROC glad_glVertex3d = …;
PFNGLVERTEX3DVPROC glad_glVertex3dv = …;
PFNGLVERTEX3FPROC glad_glVertex3f = …;
PFNGLVERTEX3FVPROC glad_glVertex3fv = …;
PFNGLVERTEX3IPROC glad_glVertex3i = …;
PFNGLVERTEX3IVPROC glad_glVertex3iv = …;
PFNGLVERTEX3SPROC glad_glVertex3s = …;
PFNGLVERTEX3SVPROC glad_glVertex3sv = …;
PFNGLVERTEX4DPROC glad_glVertex4d = …;
PFNGLVERTEX4DVPROC glad_glVertex4dv = …;
PFNGLVERTEX4FPROC glad_glVertex4f = …;
PFNGLVERTEX4FVPROC glad_glVertex4fv = …;
PFNGLVERTEX4IPROC glad_glVertex4i = …;
PFNGLVERTEX4IVPROC glad_glVertex4iv = …;
PFNGLVERTEX4SPROC glad_glVertex4s = …;
PFNGLVERTEX4SVPROC glad_glVertex4sv = …;
PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d = …;
PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv = …;
PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f = …;
PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv = …;
PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s = …;
PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv = …;
PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d = …;
PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv = …;
PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f = …;
PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv = …;
PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s = …;
PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv = …;
PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d = …;
PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv = …;
PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f = …;
PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv = …;
PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s = …;
PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv = …;
PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv = …;
PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv = …;
PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv = …;
PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub = …;
PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv = …;
PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv = …;
PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv = …;
PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv = …;
PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d = …;
PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv = …;
PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f = …;
PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv = …;
PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv = …;
PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s = …;
PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv = …;
PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv = …;
PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv = …;
PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv = …;
PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer = …;
PFNGLVERTEXPOINTERPROC glad_glVertexPointer = …;
PFNGLVIEWPORTPROC glad_glViewport = …;
PFNGLWINDOWPOS2DPROC glad_glWindowPos2d = …;
PFNGLWINDOWPOS2DVPROC glad_glWindowPos2dv = …;
PFNGLWINDOWPOS2FPROC glad_glWindowPos2f = …;
PFNGLWINDOWPOS2FVPROC glad_glWindowPos2fv = …;
PFNGLWINDOWPOS2IPROC glad_glWindowPos2i = …;
PFNGLWINDOWPOS2IVPROC glad_glWindowPos2iv = …;
PFNGLWINDOWPOS2SPROC glad_glWindowPos2s = …;
PFNGLWINDOWPOS2SVPROC glad_glWindowPos2sv = …;
PFNGLWINDOWPOS3DPROC glad_glWindowPos3d = …;
PFNGLWINDOWPOS3DVPROC glad_glWindowPos3dv = …;
PFNGLWINDOWPOS3FPROC glad_glWindowPos3f = …;
PFNGLWINDOWPOS3FVPROC glad_glWindowPos3fv = …;
PFNGLWINDOWPOS3IPROC glad_glWindowPos3i = …;
PFNGLWINDOWPOS3IVPROC glad_glWindowPos3iv = …;
PFNGLWINDOWPOS3SPROC glad_glWindowPos3s = …;
PFNGLWINDOWPOS3SVPROC glad_glWindowPos3sv = …;
static void glad_gl_load_GL_VERSION_1_0( GLADuserptrloadfunc load, void* userptr) { … }
static void glad_gl_load_GL_VERSION_1_1( GLADuserptrloadfunc load, void* userptr) { … }
static void glad_gl_load_GL_VERSION_1_2( GLADuserptrloadfunc load, void* userptr) { … }
static void glad_gl_load_GL_VERSION_1_3( GLADuserptrloadfunc load, void* userptr) { … }
static void glad_gl_load_GL_VERSION_1_4( GLADuserptrloadfunc load, void* userptr) { … }
static void glad_gl_load_GL_VERSION_1_5( GLADuserptrloadfunc load, void* userptr) { … }
static void glad_gl_load_GL_VERSION_2_0( GLADuserptrloadfunc load, void* userptr) { … }
static void glad_gl_load_GL_VERSION_2_1( GLADuserptrloadfunc load, void* userptr) { … }
static void glad_gl_load_GL_EXT_framebuffer_object( GLADuserptrloadfunc load, void* userptr) { … }
#if defined(GL_ES_VERSION_3_0) || defined(GL_VERSION_3_0)
#define GLAD_GL_IS_SOME_NEW_VERSION …
#else
#define GLAD_GL_IS_SOME_NEW_VERSION …
#endif
static int glad_gl_get_extensions( int version, const char **out_exts, unsigned int *out_num_exts_i, char ***out_exts_i) { … }
static void glad_gl_free_extensions(char **exts_i, unsigned int num_exts_i) { … }
static int glad_gl_has_extension(int version, const char *exts, unsigned int num_exts_i, char **exts_i, const char *ext) { … }
static GLADapiproc glad_gl_get_proc_from_userptr(void *userptr, const char* name) { … }
static int glad_gl_find_extensions_gl( int version) { … }
static int glad_gl_find_core_gl(void) { … }
int gladLoadGLUserPtr( GLADuserptrloadfunc load, void *userptr) { … }
int gladLoadGL( GLADloadfunc load) { … }
#ifdef __cplusplus
}
#endif