Regex to cure "Native types can't be used with pointer"

For everything that's not in any way related to PureBasic. General chat etc...
applePi
Addict
Addict
Posts: 1404
Joined: Sun Jun 25, 2006 7:28 pm

Regex to cure "Native types can't be used with pointer"

Post by applePi »

if you have used a pointer such as *params.f an error message :Native types can't be used with pointers
now if you have big old file full of old syntax , to replace all *xxxx.(f|i|...) to just *xxxx then use notepad from http://notepad-plus-plus.org/
1- load the file
2- press ctrl-f
2- click on replace tab
and in Find what: write this :
(\*.*?)\.(i|l|f|q|s|w|d|v|b)
and in replace with: write this:
$1
3- check the regular expression option like this picture
Image
4-then click on replace all Button
then save the file
Explanation:
(\*.*?)\.(i|l|f|q|s|w|d|v|b)
the the red parenthesis is a capture for what is inside, and can be called later by $1 for the first capture or $2 for the second capture ...etc
\* the functional operators such as * . \ / ? : etc can be referred to as normal characters (ie not functional) if we precede it by \
.*? any character "." followed by any number of characters "*"until we found the first ". " character which we referred to by \.
now why "?" it is a limiter to limit the search for the first occurence of "." else the search will continue up to the last occurrence of "." and this is not useful
\. it is the . but as a normal char and not functional
(f|l|i|s|w|d) it means f or l or i etc
as an exercise try part of this glbase.pb wich have many pointers with native types
if there are more types add it to the syntax above

Code: Select all

; *---------------------------------*
; *   OpenGL Base                   *
; *   xorc1zt                       *
; *   2011                          *
; *---------------------------------*

EnableExplicit
; Debug trace
#TRACEFUNCTION = #False

Macro traceFunction(string )
  CompilerIf #TRACEFUNCTION
    Debug "[ TRACE ]: "+string
  CompilerEndIf
EndMacro

IncludeFile "glconst.pb"
IncludeFile "matrix.pb"

#PBGL_GLPROFILE_CORE            = $00000001
#PBGL_GLPROFILE_COMPATIBILITY   = $00000002

Enumeration
    #PBGL_CONTEXT_CREATION
    #PBGL_GLVERSION_MAJOR
    #PBGL_GLVERSION_MINOR
    #PBGL_GLPROFILE
EndEnumeration

Enumeration
    #PBGL_PUREBASIC
    #PBGL_WINAPI
EndEnumeration

Structure PBGLSETTINGS
    pbgl_context_method.b
    pbgl_glversion_major.b
    pbgl_glversion_minor.b
    pbgl_glprofile.i
    pbgl_window_handle.i
    pbgl_devicecontext_handle.i
EndStructure

; Globals
Global _pbgl_setting.PBGLSETTINGS
Global _pbgl_time_delta.f
Global _pbgl_timeStart.q
Global _pbgl_ticksSecond.q

With _pbgl_setting
    \pbgl_context_method = #PBGL_PUREBASIC
    \pbgl_glversion_major = 1
    \pbgl_glversion_minor = 0
    \pbgl_glprofile = #PBGL_GLPROFILE_COMPATIBILITY
EndWith


; Use these for enable/disable loading of extensions
#ENABLEGL1_0 = #True
#ENABLEGL1_1 = #True
#ENABLEGL1_2 = #True
#ENABLEGL1_3 = #True
#ENABLEGL1_4 = #True
#ENABLEGL1_5 = #True
#ENABLEGL2_0 = #True
#ENABLEGL2_1 = #True
#ENABLEGL3_0 = #True
#ENABLEGL3_1 = #True
#ENABLEGL3_2 = #True
#ENABLEGL3_3 = #True
#ENABLEGLMISC = #True

;- OpenGL 1.0
CompilerIf #ENABLEGL1_0
Prototype PFNGLCULLFACEPROC ( mode.l )
Prototype PFNGLFRONTFACEPROC ( mode.l )
Prototype PFNGLHINTPROC ( target.l, mode.l )
Prototype PFNGLLINEWIDTHPROC ( width.f )
Prototype PFNGLPOINTSIZEPROC ( size.f )
Prototype PFNGLPOLYGONMODEPROC ( face.l, mode.l )
Prototype PFNGLSCISSORPROC ( x.i, y.i, width.i, height.i )
Prototype PFNGLTEXPARAMETERFPROC ( target.l, pname.l, param.f )
Prototype PFNGLTEXPARAMETERFVPROC ( target.l, pname.l, *params.f )
Prototype PFNGLTEXPARAMETERIPROC ( target.l, pname.l, param.i )
Prototype PFNGLTEXPARAMETERIVPROC ( target.l, pname.l, *params.i )
Prototype PFNGLTEXIMAGE1DPROC ( target.l, level.i, internalformat.i, width.i, border.i, format.l, type.l, *pixels )
Prototype PFNGLTEXIMAGE2DPROC ( target.l, level.i, internalformat.i, width.i, height.i, border.i, format.l, type.l, *pixels )
Prototype PFNGLDRAWBUFFERPROC ( mode.l )
Prototype PFNGLCLEARPROC ( mask.i )
Prototype PFNGLCLEARCOLORPROC ( red.f, green.f, blue.f, alpha.f )
Prototype PFNGLCLEARSTENCILPROC ( s.i )
Prototype PFNGLCLEARDEPTHPROC ( depth.d )
Prototype PFNGLSTENCILMASKPROC ( mask.i )
Prototype PFNGLCOLORMASKPROC ( red.b, green.b, blue.b, alpha.b )
Prototype PFNGLDEPTHMASKPROC ( flag.b )
Prototype PFNGLDISABLEPROC ( cap.l )
Prototype PFNGLENABLEPROC ( cap.l )
Prototype PFNGLFINISHPROC (  )
Prototype PFNGLFLUSHPROC (  )
Prototype PFNGLBLENDFUNCPROC ( sfactor.l, dfactor.l )
Prototype PFNGLLOGICOPPROC ( opcode.l )
Prototype PFNGLSTENCILFUNCPROC ( func.l, ref.i, mask.i )
Prototype PFNGLSTENCILOPPROC ( fail.l, zfail.l, zpass.l )
Prototype PFNGLDEPTHFUNCPROC ( func.l )
Prototype PFNGLPIXELSTOREFPROC ( pname.l, param.f )
Prototype PFNGLPIXELSTOREIPROC ( pname.l, param.i )
Prototype PFNGLREADBUFFERPROC ( mode.l )
Prototype PFNGLREADPIXELSPROC ( x.i, y.i, width.i, height.i, format.l, type.l, *pixels )
Prototype PFNGLGETBOOLEANVPROC ( pname.l, *params.b)
Prototype PFNGLGETDOUBLEVPROC ( pname.l, *params.d )
Prototype.l PFNGLGETERRORPROC (  )
Prototype PFNGLGETFLOATVPROC ( pname.l, *params.f )
Prototype PFNGLGETINTEGERVPROC ( pname.l, *params.i )
Prototype PFNGLGETSTRINGPROC ( name.l )
Prototype PFNGLGETTEXIMAGEPROC ( target.l, level.i, format.l, type.l, *pixels )
Prototype PFNGLGETTEXPARAMETERFVPROC ( target.l, pname.l, *params.f )
Prototype PFNGLGETTEXPARAMETERIVPROC ( target.l, pname.l, *params.i )
Prototype PFNGLGETTEXLEVELPARAMETERFVPROC ( target.l, level.i, pname.l, *params.f )
Prototype PFNGLGETTEXLEVELPARAMETERIVPROC ( target.l, level.i, pname.l, *params.i )
Prototype.b PFNGLISENABLEDPROC ( cap.l )
Prototype PFNGLDEPTHRANGEPROC ( near.d, far.d )
Prototype PFNGLVIEWPORTPROC ( x.i, y.i, width.i, height.i )

Global glCullFace.PFNGLCULLFACEPROC
Global glFrontFace.PFNGLFRONTFACEPROC
Global glHint.PFNGLHINTPROC
Global glLineWidth.PFNGLLINEWIDTHPROC
Global glPointSize.PFNGLPOINTSIZEPROC
Global glPolygonMode.PFNGLPOLYGONMODEPROC
Global glScissor.PFNGLSCISSORPROC
Global glTexParameterf.PFNGLTEXPARAMETERFPROC
Global glTexParameterfv.PFNGLTEXPARAMETERFVPROC
Global glTexParameteri.PFNGLTEXPARAMETERIPROC
Global glTexParameteriv.PFNGLTEXPARAMETERIVPROC
Global glTexImage1D.PFNGLTEXIMAGE1DPROC
Global glTexImage2D.PFNGLTEXIMAGE2DPROC
Global glDrawBuffer.PFNGLDRAWBUFFERPROC
Global glClear.PFNGLCLEARPROC
Global glClearColor.PFNGLCLEARCOLORPROC
Global glClearStencil.PFNGLCLEARSTENCILPROC
Global glClearDepth.PFNGLCLEARDEPTHPROC
Global glStencilMask.PFNGLSTENCILMASKPROC
Global glColorMask.PFNGLCOLORMASKPROC
Global glDepthMask.PFNGLDEPTHMASKPROC
Global glDisable.PFNGLDISABLEPROC
Global glEnable.PFNGLENABLEPROC
Global glFinish.PFNGLFINISHPROC
Global glFlush.PFNGLFLUSHPROC
Global glBlendFunc.PFNGLBLENDFUNCPROC
Global glLogicOp.PFNGLLOGICOPPROC
Global glStencilFunc.PFNGLSTENCILFUNCPROC
Global glStencilOp.PFNGLSTENCILOPPROC
Global glDepthFunc.PFNGLDEPTHFUNCPROC
Global glPixelStoref.PFNGLPIXELSTOREFPROC
Global glPixelStorei.PFNGLPIXELSTOREIPROC
Global glReadBuffer.PFNGLREADBUFFERPROC
Global glReadPixels.PFNGLREADPIXELSPROC
Global glGetBooleanv.PFNGLGETBOOLEANVPROC
Global glGetDoublev.PFNGLGETDOUBLEVPROC
Global glGetError.PFNGLGETERRORPROC
Global glGetFloatv.PFNGLGETFLOATVPROC
Global glGetIntegerv.PFNGLGETINTEGERVPROC
Global glGetString_.PFNGLGETSTRINGPROC
Global glGetTexImage.PFNGLGETTEXIMAGEPROC
Global glGetTexParameterfv.PFNGLGETTEXPARAMETERFVPROC
Global glGetTexParameteriv.PFNGLGETTEXPARAMETERIVPROC
Global glGetTexLevelParameterfv.PFNGLGETTEXLEVELPARAMETERFVPROC
Global glGetTexLevelParameteriv.PFNGLGETTEXLEVELPARAMETERIVPROC
Global glIsEnabled.PFNGLISENABLEDPROC
Global glDepthRange.PFNGLDEPTHRANGEPROC
Global glViewport.PFNGLVIEWPORTPROC
CompilerEndIf

;- OpenGL 1.1
CompilerIf #ENABLEGL1_1
Prototype PFNGLDRAWARRAYSPROC ( mode.l, first.i, count.i )
Prototype PFNGLDRAWELEMENTSPROC ( mode.l, count.i, type.l, *indices )
Prototype PFNGLGETPOINTERVPROC ( pname.l, *params )
Prototype PFNGLPOLYGONOFFSETPROC ( factor.f, units.f )
Prototype PFNGLCOPYTEXIMAGE1DPROC ( target.l, level.i, internalformat.l, x.i, y.i, width.i, border.i )
Prototype PFNGLCOPYTEXIMAGE2DPROC ( target.l, level.i, internalformat.l, x.i, y.i, width.i, height.i, border.i )
Prototype PFNGLCOPYTEXSUBIMAGE1DPROC ( target.l, level.i, xoffset.i, x.i, y.i, width.i )
Prototype PFNGLCOPYTEXSUBIMAGE2DPROC ( target.l, level.i, xoffset.i, yoffset.i, x.i, y.i, width.i, height.i )
Prototype PFNGLTEXSUBIMAGE1DPROC ( target.l, level.i, xoffset.i, width.i, format.l, type.l, *pixels )
Prototype PFNGLTEXSUBIMAGE2DPROC ( target.l, level.i, xoffset.i, yoffset.i, width.i, height.i, format.l, type.l, *pixels )
Prototype PFNGLBINDTEXTUREPROC ( target.l, texture.i )
Prototype PFNGLDELETETEXTURESPROC ( n.i, *textures.i )
Prototype PFNGLGENTEXTURESPROC ( n.i, *textures.i )
Prototype.b PFNGLISTEXTUREPROC ( texture.i )

Global glDrawArrays.PFNGLDRAWARRAYSPROC
Global glDrawElements.PFNGLDRAWELEMENTSPROC
Global glGetPointerv.PFNGLGETPOINTERVPROC
Global glPolygonOffset.PFNGLPOLYGONOFFSETPROC
Global glCopyTexImage1D.PFNGLCOPYTEXIMAGE1DPROC
Global glCopyTexImage2D.PFNGLCOPYTEXIMAGE2DPROC
Global glCopyTexSubImage1D.PFNGLCOPYTEXSUBIMAGE1DPROC
Global glCopyTexSubImage2D.PFNGLCOPYTEXSUBIMAGE2DPROC
Global glTexSubImage1D.PFNGLTEXSUBIMAGE1DPROC
Global glTexSubImage2D.PFNGLTEXSUBIMAGE2DPROC
Global glBindTexture.PFNGLBINDTEXTUREPROC
Global glDeleteTextures.PFNGLDELETETEXTURESPROC
Global glGenTextures.PFNGLGENTEXTURESPROC
Global glIsTexture.PFNGLISTEXTUREPROC
CompilerEndIf

;- OpenGL 1.2
CompilerIf #ENABLEGL1_2
Prototype PFNGLBLENDCOLORPROC ( red.f, green.f, blue.f, alpha.f )
Prototype PFNGLBLENDEQUATIONPROC ( mode.l )
Prototype PFNGLDRAWRANGEELEMENTSPROC ( mode.l, start.i, End_.i, count.i, type.l, indices.l)
Prototype PFNGLTEXIMAGE3DPROC ( target.l, level.i, internalformat.i, width.i, height.i, depth.i, border.i, format.l, type.l, pixels.l)
Prototype PFNGLTEXSUBIMAGE3DPROC ( target.l, level.i, xoffset.i, yoffset.i, zoffset.i, width.i, height.i, depth.i, format.l, type.l, pixels.l)
Prototype PFNGLCOPYTEXSUBIMAGE3DPROC ( target.l, level.i, xoffset.i, yoffset.i, zoffset.i, x.i, y.i, width.i, height.i )

Global glBlendColor.PFNGLBLENDCOLORPROC
Global glBlendEquation.PFNGLBLENDEQUATIONPROC
Global glDrawRangeElements.PFNGLDRAWRANGEELEMENTSPROC
Global glTexImage3D.PFNGLTEXIMAGE3DPROC
Global glTexSubImage3D.PFNGLTEXSUBIMAGE3DPROC
Global glCopyTexSubImage3D.PFNGLCOPYTEXSUBIMAGE3DPROC
CompilerEndIf

;- OpenGL 1.3
CompilerIf #ENABLEGL1_3
Prototype PFNGLACTIVETEXTUREPROC ( texture.l )
Prototype PFNGLSAMPLECOVERAGEPROC ( value.f, invert.b )
Prototype PFNGLCOMPRESSEDTEXIMAGE3DPROC ( target.l, level.i, internalformat.l, width.i, height.i, depth.i, border.i, imageSize.i, Data_.l )
Prototype PFNGLCOMPRESSEDTEXIMAGE2DPROC ( target.l, level.i, internalformat.l, width.i, height.i, border.i, imageSize.i, Data_.l )
Prototype PFNGLCOMPRESSEDTEXIMAGE1DPROC ( target.l, level.i, internalformat.l, width.i, border.i, imageSize.i, Data_.l )
Prototype PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC ( target.l, level.i, xoffset.i, yoffset.i, zoffset.i, width.i, height.i, depth.i, format.l, imageSize.i, Data_.l )
Prototype PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC ( target.l, level.i, xoffset.i, yoffset.i, width.i, height.i, format.l, imageSize.i, Data_.l )
Prototype PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC ( target.l, level.i, xoffset.i, width.i, format.l, imageSize.i, Data_.l )
Prototype PFNGLGETCOMPRESSEDTEXIMAGEPROC ( target.l, level.i, img.l)

Global glActiveTexture.PFNGLACTIVETEXTUREPROC
Global glSampleCoverage.PFNGLSAMPLECOVERAGEPROC
Global glCompressedTexImage3D.PFNGLCOMPRESSEDTEXIMAGE3DPROC
Global glCompressedTexImage2D.PFNGLCOMPRESSEDTEXIMAGE2DPROC
Global glCompressedTexImage1D.PFNGLCOMPRESSEDTEXIMAGE1DPROC
Global glCompressedTexSubImage3D.PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC
Global glCompressedTexSubImage2D.PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC
Global glCompressedTexSubImage1D.PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC
Global glGetCompressedTexImage.PFNGLGETCOMPRESSEDTEXIMAGEPROC
CompilerEndIf

;- OpenGL 1.4
CompilerIf #ENABLEGL1_4
Prototype PFNGLBLENDFUNCSEPARATEPROC ( sfactorRGB.l, dfactorRGB.l, sfactorAlpha.l, dfactorAlpha.l)
Prototype PFNGLMULTIDRAWARRAYSPROC ( mode.l, *first.i, *count.i, primcount.i)
Prototype PFNGLMULTIDRAWELEMENTSPROC ( mode.l, *count.i, type.l, *indices.l, primcount.i )
Prototype PFNGLPOINTPARAMETERFPROC ( pname.l, param.f )
Prototype PFNGLPOINTPARAMETERFVPROC ( pname.l, *param.f )
Prototype PFNGLPOINTPARAMETERIPROC ( pname.l, param.i )
Prototype PFNGLPOINTPARAMETERIVPROC ( pname.l, *param.i )

Global glBlendFuncSeparate.PFNGLBLENDFUNCSEPARATEPROC
Global glMultiDrawArrays.PFNGLMULTIDRAWARRAYSPROC
Global glMultiDrawElements.PFNGLMULTIDRAWELEMENTSPROC
Global glPointParameterf.PFNGLPOINTPARAMETERFPROC
Global glPointParameterfv.PFNGLPOINTPARAMETERFVPROC
Global glPointParameteri.PFNGLPOINTPARAMETERIPROC
Global glPointParameteriv.PFNGLPOINTPARAMETERIVPROC
CompilerEndIf

;- OpenGL 1.5
CompilerIf #ENABLEGL1_5
Prototype PFNGLGENQUERIESPROC ( n.i, *ids.i)
Prototype PFNGLDELETEQUERIESPROC ( n.i,*ids.i)
Prototype.b PFNGLISQUERYPROC ( id.i)
Prototype PFNGLBEGINQUERYPROC ( target.l, id.i)
Prototype PFNGLENDQUERYPROC ( target.l)
Prototype PFNGLGETQUERYIVPROC ( target.l, pname.l, *params.i)
Prototype PFNGLGETQUERYOBJECTIVPROC ( id.i, pname.l, *params.i)
Prototype PFNGLGETQUERYOBJECTUIVPROC ( id.i, pname.l, *params.i)
Prototype PFNGLBINDBUFFERPROC ( target.l, buffer.i)
Prototype PFNGLDELETEBUFFERSPROC ( n.i, *buffers.i)
Prototype PFNGLGENBUFFERSPROC ( n.i, *buffers.i)
Prototype.b PFNGLISBUFFERPROC (buffer.i)
Prototype PFNGLBUFFERDATAPROC ( target.l, size.i, *Data_.l, usage.l)
Prototype PFNGLBUFFERSUBDATAPROC ( target.l, offset.i, size.i, *Data_.l)
Prototype PFNGLGETBUFFERSUBDATAPROC ( target.l, offset.i, size.i, *Data_.l)
Prototype PFNGLMAPBUFFERPROC ( target.l, access.l)
Prototype.b PFNGLUNMAPBUFFERPROC ( target.l)
Prototype PFNGLGETBUFFERPARAMETERIVPROC ( target.l, pname.l, *params.i)
Prototype PFNGLGETBUFFERPOINTERVPROC ( target.l, pname.l, *params.l)

Global glGenQueries.PFNGLGENQUERIESPROC
Global glDeleteQueries.PFNGLDELETEQUERIESPROC
Global glIsQuery.PFNGLISQUERYPROC
Global glBeginQuery.PFNGLBEGINQUERYPROC
Global glEndQuery.PFNGLENDQUERYPROC
Global glGetQueryiv.PFNGLGETQUERYIVPROC
Global glGetQueryObjectiv.PFNGLGETQUERYOBJECTIVPROC
Global glGetQueryObjectuiv.PFNGLGETQUERYOBJECTUIVPROC
Global glBindBuffer.PFNGLBINDBUFFERPROC
Global glDeleteBuffers.PFNGLDELETEBUFFERSPROC
Global glGenBuffers.PFNGLGENBUFFERSPROC
Global glIsBuffer.PFNGLISBUFFERPROC
Global glBufferData.PFNGLBUFFERDATAPROC
Global glBufferSubData.PFNGLBUFFERSUBDATAPROC
Global glGetBufferSubData.PFNGLGETBUFFERSUBDATAPROC
Global glMapBuffer.PFNGLMAPBUFFERPROC
Global glUnmapBuffer.PFNGLUNMAPBUFFERPROC
Global glGetBufferParameteriv.PFNGLGETBUFFERPARAMETERIVPROC
Global glGetBufferPointerv.PFNGLGETBUFFERPOINTERVPROC
CompilerEndIf

;- OpenGL 2.0
CompilerIf #ENABLEGL2_0
Prototype PFNGLBLENDEQUATIONSEPARATEPROC ( modeRGB.l, modeAlpha.l )
Prototype PFNGLDRAWBUFFERSPROC ( n.i, *bufs.l )
Prototype PFNGLSTENCILOPSEPARATEPROC ( face.l, sfail.l, dpfail.l, dppass.l )
Prototype PFNGLSTENCILFUNCSEPARATEPROC ( face.l, func.l, ref.i, mask.i )
Prototype PFNGLSTENCILMASKSEPARATEPROC ( face.l, mask.i )
Prototype PFNGLATTACHSHADERPROC ( program.i, shader.i )
Prototype PFNGLBINDATTRIBLOCATIONPROC ( program.i, index.i, name.p-ascii )
Prototype PFNGLCOMPILESHADERPROC ( shader.i )
Prototype.i PFNGLCREATEPROGRAMPROC ( )
Prototype.i PFNGLCREATESHADERPROC ( type.l )
Prototype PFNGLDELETEPROGRAMPROC ( program.i )
Prototype PFNGLDELETESHADERPROC ( shader.i )
Prototype PFNGLDETACHSHADERPROC ( program.i, shader.i )
Prototype PFNGLDISABLEVERTEXATTRIBARRAYPROC ( index.i )
Prototype PFNGLENABLEVERTEXATTRIBARRAYPROC ( index.i )
Prototype PFNGLGETACTIVEATTRIBPROC ( program.i, index.i, bufSize.i, *length.i, *size.i, *type.l, *name.s )
Prototype PFNGLGETACTIVEUNIFORMPROC ( program.i, index.i, bufSize.i, *length.i, *size.i, *type.l, *name.s )
Prototype PFNGLGETATTACHEDSHADERSPROC ( program.i, maxCount.i, *count.i, *obj.i )
Prototype PFNGLGETATTRIBLOCATIONPROC ( program.i, name.p-ascii )
Prototype PFNGLGETPROGRAMIVPROC ( program.i, pname.l, *params.i )
Prototype PFNGLGETPROGRAMINFOLOGPROC ( program.i, bufSize.i, *length.i, *infoLog.s )
Prototype PFNGLGETSHADERIVPROC ( shader.i, pname.l, *params.i )
Prototype PFNGLGETSHADERINFOLOGPROC ( shader.i, bufSize.i, *length.i, *infoLog.s )
Prototype PFNGLGETSHADERSOURCEPROC ( shader.i, bufSize.i, *length.i, *source.s )
Prototype PFNGLGETUNIFORMLOCATIONPROC ( program.i, name.p-ascii )
Prototype PFNGLGETUNIFORMFVPROC ( program.i, location.i, *params.f )
Prototype PFNGLGETUNIFORMIVPROC ( program.i, location.i, *params.i )
Prototype PFNGLGETVERTEXATTRIBDVPROC ( index.i, pname.l, *params.d )
Prototype PFNGLGETVERTEXATTRIBFVPROC ( index.i, pname.l, *params.f )
Prototype PFNGLGETVERTEXATTRIBIVPROC ( index.i, pname.l, *params.i )
Prototype PFNGLGETVERTEXATTRIBPOINTERVPROC ( index.i, pname.l, *pointer )
Prototype.b PFNGLISPROGRAMPROC ( program.i )
Prototype.b PFNGLISSHADERPROC ( shader.i )
Prototype PFNGLLINKPROGRAMPROC ( program.i )
Prototype PFNGLSHADERSOURCEPROC ( shader.i, count.i, *stringBuffer, *length )
Prototype PFNGLUSEPROGRAMPROC ( program.i )
Prototype PFNGLUNIFORM1FPROC ( location.i, v0.f )
Prototype PFNGLUNIFORM2FPROC ( location.i, v0.f, v1.f )
Prototype PFNGLUNIFORM3FPROC ( location.i, v0.f, v1.f, v2.f )
Prototype PFNGLUNIFORM4FPROC ( location.i, v0.f, v1.f, v2.f, v3.f )
Prototype PFNGLUNIFORM1IPROC ( location.i, v0.i )
Prototype PFNGLUNIFORM2IPROC ( location.i, v0.i, v1.i )
Prototype PFNGLUNIFORM3IPROC ( location.i, v0.i, v1.i, v2.i )
Prototype PFNGLUNIFORM4IPROC ( location.i, v0.i, v1.i, v2.i, v3.i )
Prototype PFNGLUNIFORM1FVPROC ( location.i, count.i, *value.f )
Prototype PFNGLUNIFORM2FVPROC ( location.i, count.i, *value.f )
Prototype PFNGLUNIFORM3FVPROC ( location.i, count.i, *value.f )
Prototype PFNGLUNIFORM4FVPROC ( location.i, count.i, *value.f )
Prototype PFNGLUNIFORM1IVPROC ( location.i, count.i, *value.i )
Prototype PFNGLUNIFORM2IVPROC ( location.i, count.i, *value.i )
Prototype PFNGLUNIFORM3IVPROC ( location.i, count.i, *value.i )
Prototype PFNGLUNIFORM4IVPROC ( location.i, count.i, *value.i )