pub struct Version20 {Show 94 fields
pub geterror: extern "system" fn() -> GLenum,
pub blendequationseparate: extern "system" fn(GLenum, GLenum),
pub drawbuffers: extern "system" fn(GLsizei, *const GLenum),
pub stencilopseparate: extern "system" fn(GLenum, GLenum, GLenum, GLenum),
pub stencilfuncseparate: extern "system" fn(GLenum, GLenum, GLint, GLuint),
pub stencilmaskseparate: extern "system" fn(GLenum, GLuint),
pub attachshader: extern "system" fn(GLuint, GLuint),
pub bindattriblocation: extern "system" fn(GLuint, GLuint, *const GLchar),
pub compileshader: extern "system" fn(GLuint),
pub createprogram: extern "system" fn() -> GLuint,
pub createshader: extern "system" fn(GLenum) -> GLuint,
pub deleteprogram: extern "system" fn(GLuint),
pub deleteshader: extern "system" fn(GLuint),
pub detachshader: extern "system" fn(GLuint, GLuint),
pub disablevertexattribarray: extern "system" fn(GLuint),
pub enablevertexattribarray: extern "system" fn(GLuint),
pub getactiveattrib: extern "system" fn(GLuint, GLuint, GLsizei, *mut GLsizei, *mut GLint, *mut GLenum, *mut GLchar),
pub getactiveuniform: extern "system" fn(GLuint, GLuint, GLsizei, *mut GLsizei, *mut GLint, *mut GLenum, *mut GLchar),
pub getattachedshaders: extern "system" fn(GLuint, GLsizei, *mut GLsizei, *mut GLuint),
pub getattriblocation: extern "system" fn(GLuint, *const GLchar) -> GLint,
pub getprogramiv: extern "system" fn(GLuint, GLenum, *mut GLint),
pub getprograminfolog: extern "system" fn(GLuint, GLsizei, *mut GLsizei, *mut GLchar),
pub getshaderiv: extern "system" fn(GLuint, GLenum, *mut GLint),
pub getshaderinfolog: extern "system" fn(GLuint, GLsizei, *mut GLsizei, *mut GLchar),
pub getshadersource: extern "system" fn(GLuint, GLsizei, *mut GLsizei, *mut GLchar),
pub getuniformlocation: extern "system" fn(GLuint, *const GLchar) -> GLint,
pub getuniformfv: extern "system" fn(GLuint, GLint, *mut GLfloat),
pub getuniformiv: extern "system" fn(GLuint, GLint, *mut GLint),
pub getvertexattribdv: extern "system" fn(GLuint, GLenum, *mut GLdouble),
pub getvertexattribfv: extern "system" fn(GLuint, GLenum, *mut GLfloat),
pub getvertexattribiv: extern "system" fn(GLuint, GLenum, *mut GLint),
pub getvertexattribpointerv: extern "system" fn(GLuint, GLenum, *mut *mut c_void),
pub isprogram: extern "system" fn(GLuint) -> GLboolean,
pub isshader: extern "system" fn(GLuint) -> GLboolean,
pub linkprogram: extern "system" fn(GLuint),
pub shadersource: extern "system" fn(GLuint, GLsizei, *const *const GLchar, *const GLint),
pub useprogram: extern "system" fn(GLuint),
pub uniform1f: extern "system" fn(GLint, GLfloat),
pub uniform2f: extern "system" fn(GLint, GLfloat, GLfloat),
pub uniform3f: extern "system" fn(GLint, GLfloat, GLfloat, GLfloat),
pub uniform4f: extern "system" fn(GLint, GLfloat, GLfloat, GLfloat, GLfloat),
pub uniform1i: extern "system" fn(GLint, GLint),
pub uniform2i: extern "system" fn(GLint, GLint, GLint),
pub uniform3i: extern "system" fn(GLint, GLint, GLint, GLint),
pub uniform4i: extern "system" fn(GLint, GLint, GLint, GLint, GLint),
pub uniform1fv: extern "system" fn(GLint, GLsizei, *const GLfloat),
pub uniform2fv: extern "system" fn(GLint, GLsizei, *const GLfloat),
pub uniform3fv: extern "system" fn(GLint, GLsizei, *const GLfloat),
pub uniform4fv: extern "system" fn(GLint, GLsizei, *const GLfloat),
pub uniform1iv: extern "system" fn(GLint, GLsizei, *const GLint),
pub uniform2iv: extern "system" fn(GLint, GLsizei, *const GLint),
pub uniform3iv: extern "system" fn(GLint, GLsizei, *const GLint),
pub uniform4iv: extern "system" fn(GLint, GLsizei, *const GLint),
pub uniformmatrix2fv: extern "system" fn(GLint, GLsizei, GLboolean, *const GLfloat),
pub uniformmatrix3fv: extern "system" fn(GLint, GLsizei, GLboolean, *const GLfloat),
pub uniformmatrix4fv: extern "system" fn(GLint, GLsizei, GLboolean, *const GLfloat),
pub validateprogram: extern "system" fn(GLuint),
pub vertexattrib1d: extern "system" fn(GLuint, GLdouble),
pub vertexattrib1dv: extern "system" fn(GLuint, *const GLdouble),
pub vertexattrib1f: extern "system" fn(GLuint, GLfloat),
pub vertexattrib1fv: extern "system" fn(GLuint, *const GLfloat),
pub vertexattrib1s: extern "system" fn(GLuint, GLshort),
pub vertexattrib1sv: extern "system" fn(GLuint, *const GLshort),
pub vertexattrib2d: extern "system" fn(GLuint, GLdouble, GLdouble),
pub vertexattrib2dv: extern "system" fn(GLuint, *const GLdouble),
pub vertexattrib2f: extern "system" fn(GLuint, GLfloat, GLfloat),
pub vertexattrib2fv: extern "system" fn(GLuint, *const GLfloat),
pub vertexattrib2s: extern "system" fn(GLuint, GLshort, GLshort),
pub vertexattrib2sv: extern "system" fn(GLuint, *const GLshort),
pub vertexattrib3d: extern "system" fn(GLuint, GLdouble, GLdouble, GLdouble),
pub vertexattrib3dv: extern "system" fn(GLuint, *const GLdouble),
pub vertexattrib3f: extern "system" fn(GLuint, GLfloat, GLfloat, GLfloat),
pub vertexattrib3fv: extern "system" fn(GLuint, *const GLfloat),
pub vertexattrib3s: extern "system" fn(GLuint, GLshort, GLshort, GLshort),
pub vertexattrib3sv: extern "system" fn(GLuint, *const GLshort),
pub vertexattrib4nbv: extern "system" fn(GLuint, *const GLbyte),
pub vertexattrib4niv: extern "system" fn(GLuint, *const GLint),
pub vertexattrib4nsv: extern "system" fn(GLuint, *const GLshort),
pub vertexattrib4nub: extern "system" fn(GLuint, GLubyte, GLubyte, GLubyte, GLubyte),
pub vertexattrib4nubv: extern "system" fn(GLuint, *const GLubyte),
pub vertexattrib4nuiv: extern "system" fn(GLuint, *const GLuint),
pub vertexattrib4nusv: extern "system" fn(GLuint, *const GLushort),
pub vertexattrib4bv: extern "system" fn(GLuint, *const GLbyte),
pub vertexattrib4d: extern "system" fn(GLuint, GLdouble, GLdouble, GLdouble, GLdouble),
pub vertexattrib4dv: extern "system" fn(GLuint, *const GLdouble),
pub vertexattrib4f: extern "system" fn(GLuint, GLfloat, GLfloat, GLfloat, GLfloat),
pub vertexattrib4fv: extern "system" fn(GLuint, *const GLfloat),
pub vertexattrib4iv: extern "system" fn(GLuint, *const GLint),
pub vertexattrib4s: extern "system" fn(GLuint, GLshort, GLshort, GLshort, GLshort),
pub vertexattrib4sv: extern "system" fn(GLuint, *const GLshort),
pub vertexattrib4ubv: extern "system" fn(GLuint, *const GLubyte),
pub vertexattrib4uiv: extern "system" fn(GLuint, *const GLuint),
pub vertexattrib4usv: extern "system" fn(GLuint, *const GLushort),
pub vertexattribpointer: extern "system" fn(GLuint, GLint, GLenum, GLboolean, GLsizei, *const c_void),
/* private fields */
}
Expand description
Functions from OpenGL version 2.0
Fields§
§geterror: extern "system" fn() -> GLenum
The function pointer to glGetError()
blendequationseparate: extern "system" fn(GLenum, GLenum)
The function pointer to glBlendEquationSeparate()
drawbuffers: extern "system" fn(GLsizei, *const GLenum)
The function pointer to glDrawBuffers()
stencilopseparate: extern "system" fn(GLenum, GLenum, GLenum, GLenum)
The function pointer to glStencilOpSeparate()
stencilfuncseparate: extern "system" fn(GLenum, GLenum, GLint, GLuint)
The function pointer to glStencilFuncSeparate()
stencilmaskseparate: extern "system" fn(GLenum, GLuint)
The function pointer to glStencilMaskSeparate()
attachshader: extern "system" fn(GLuint, GLuint)
The function pointer to glAttachShader()
bindattriblocation: extern "system" fn(GLuint, GLuint, *const GLchar)
The function pointer to glBindAttribLocation()
compileshader: extern "system" fn(GLuint)
The function pointer to glCompileShader()
createprogram: extern "system" fn() -> GLuint
The function pointer to glCreateProgram()
createshader: extern "system" fn(GLenum) -> GLuint
The function pointer to glCreateShader()
deleteprogram: extern "system" fn(GLuint)
The function pointer to glDeleteProgram()
deleteshader: extern "system" fn(GLuint)
The function pointer to glDeleteShader()
detachshader: extern "system" fn(GLuint, GLuint)
The function pointer to glDetachShader()
disablevertexattribarray: extern "system" fn(GLuint)
The function pointer to glDisableVertexAttribArray()
enablevertexattribarray: extern "system" fn(GLuint)
The function pointer to glEnableVertexAttribArray()
getactiveattrib: extern "system" fn(GLuint, GLuint, GLsizei, *mut GLsizei, *mut GLint, *mut GLenum, *mut GLchar)
The function pointer to glGetActiveAttrib()
getactiveuniform: extern "system" fn(GLuint, GLuint, GLsizei, *mut GLsizei, *mut GLint, *mut GLenum, *mut GLchar)
The function pointer to glGetActiveUniform()
getattachedshaders: extern "system" fn(GLuint, GLsizei, *mut GLsizei, *mut GLuint)
The function pointer to glGetAttachedShaders()
getattriblocation: extern "system" fn(GLuint, *const GLchar) -> GLint
The function pointer to glGetAttribLocation()
getprogramiv: extern "system" fn(GLuint, GLenum, *mut GLint)
The function pointer to glGetProgramiv()
getprograminfolog: extern "system" fn(GLuint, GLsizei, *mut GLsizei, *mut GLchar)
The function pointer to glGetProgramInfoLog()
getshaderiv: extern "system" fn(GLuint, GLenum, *mut GLint)
The function pointer to glGetShaderiv()
getshaderinfolog: extern "system" fn(GLuint, GLsizei, *mut GLsizei, *mut GLchar)
The function pointer to glGetShaderInfoLog()
getshadersource: extern "system" fn(GLuint, GLsizei, *mut GLsizei, *mut GLchar)
The function pointer to glGetShaderSource()
getuniformlocation: extern "system" fn(GLuint, *const GLchar) -> GLint
The function pointer to glGetUniformLocation()
getuniformfv: extern "system" fn(GLuint, GLint, *mut GLfloat)
The function pointer to glGetUniformfv()
getuniformiv: extern "system" fn(GLuint, GLint, *mut GLint)
The function pointer to glGetUniformiv()
getvertexattribdv: extern "system" fn(GLuint, GLenum, *mut GLdouble)
The function pointer to glGetVertexAttribdv()
getvertexattribfv: extern "system" fn(GLuint, GLenum, *mut GLfloat)
The function pointer to glGetVertexAttribfv()
getvertexattribiv: extern "system" fn(GLuint, GLenum, *mut GLint)
The function pointer to glGetVertexAttribiv()
getvertexattribpointerv: extern "system" fn(GLuint, GLenum, *mut *mut c_void)
The function pointer to glGetVertexAttribPointerv()
isprogram: extern "system" fn(GLuint) -> GLboolean
The function pointer to glIsProgram()
isshader: extern "system" fn(GLuint) -> GLboolean
The function pointer to glIsShader()
linkprogram: extern "system" fn(GLuint)
The function pointer to glLinkProgram()
shadersource: extern "system" fn(GLuint, GLsizei, *const *const GLchar, *const GLint)
The function pointer to glShaderSource()
useprogram: extern "system" fn(GLuint)
The function pointer to glUseProgram()
uniform1f: extern "system" fn(GLint, GLfloat)
The function pointer to glUniform1f()
uniform2f: extern "system" fn(GLint, GLfloat, GLfloat)
The function pointer to glUniform2f()
uniform3f: extern "system" fn(GLint, GLfloat, GLfloat, GLfloat)
The function pointer to glUniform3f()
uniform4f: extern "system" fn(GLint, GLfloat, GLfloat, GLfloat, GLfloat)
The function pointer to glUniform4f()
uniform1i: extern "system" fn(GLint, GLint)
The function pointer to glUniform1i()
uniform2i: extern "system" fn(GLint, GLint, GLint)
The function pointer to glUniform2i()
uniform3i: extern "system" fn(GLint, GLint, GLint, GLint)
The function pointer to glUniform3i()
uniform4i: extern "system" fn(GLint, GLint, GLint, GLint, GLint)
The function pointer to glUniform4i()
uniform1fv: extern "system" fn(GLint, GLsizei, *const GLfloat)
The function pointer to glUniform1fv()
uniform2fv: extern "system" fn(GLint, GLsizei, *const GLfloat)
The function pointer to glUniform2fv()
uniform3fv: extern "system" fn(GLint, GLsizei, *const GLfloat)
The function pointer to glUniform3fv()
uniform4fv: extern "system" fn(GLint, GLsizei, *const GLfloat)
The function pointer to glUniform4fv()
uniform1iv: extern "system" fn(GLint, GLsizei, *const GLint)
The function pointer to glUniform1iv()
uniform2iv: extern "system" fn(GLint, GLsizei, *const GLint)
The function pointer to glUniform2iv()
uniform3iv: extern "system" fn(GLint, GLsizei, *const GLint)
The function pointer to glUniform3iv()
uniform4iv: extern "system" fn(GLint, GLsizei, *const GLint)
The function pointer to glUniform4iv()
uniformmatrix2fv: extern "system" fn(GLint, GLsizei, GLboolean, *const GLfloat)
The function pointer to glUniformMatrix2fv()
uniformmatrix3fv: extern "system" fn(GLint, GLsizei, GLboolean, *const GLfloat)
The function pointer to glUniformMatrix3fv()
uniformmatrix4fv: extern "system" fn(GLint, GLsizei, GLboolean, *const GLfloat)
The function pointer to glUniformMatrix4fv()
validateprogram: extern "system" fn(GLuint)
The function pointer to glValidateProgram()
vertexattrib1d: extern "system" fn(GLuint, GLdouble)
The function pointer to glVertexAttrib1d()
vertexattrib1dv: extern "system" fn(GLuint, *const GLdouble)
The function pointer to glVertexAttrib1dv()
vertexattrib1f: extern "system" fn(GLuint, GLfloat)
The function pointer to glVertexAttrib1f()
vertexattrib1fv: extern "system" fn(GLuint, *const GLfloat)
The function pointer to glVertexAttrib1fv()
vertexattrib1s: extern "system" fn(GLuint, GLshort)
The function pointer to glVertexAttrib1s()
vertexattrib1sv: extern "system" fn(GLuint, *const GLshort)
The function pointer to glVertexAttrib1sv()
vertexattrib2d: extern "system" fn(GLuint, GLdouble, GLdouble)
The function pointer to glVertexAttrib2d()
vertexattrib2dv: extern "system" fn(GLuint, *const GLdouble)
The function pointer to glVertexAttrib2dv()
vertexattrib2f: extern "system" fn(GLuint, GLfloat, GLfloat)
The function pointer to glVertexAttrib2f()
vertexattrib2fv: extern "system" fn(GLuint, *const GLfloat)
The function pointer to glVertexAttrib2fv()
vertexattrib2s: extern "system" fn(GLuint, GLshort, GLshort)
The function pointer to glVertexAttrib2s()
vertexattrib2sv: extern "system" fn(GLuint, *const GLshort)
The function pointer to glVertexAttrib2sv()
vertexattrib3d: extern "system" fn(GLuint, GLdouble, GLdouble, GLdouble)
The function pointer to glVertexAttrib3d()
vertexattrib3dv: extern "system" fn(GLuint, *const GLdouble)
The function pointer to glVertexAttrib3dv()
vertexattrib3f: extern "system" fn(GLuint, GLfloat, GLfloat, GLfloat)
The function pointer to glVertexAttrib3f()
vertexattrib3fv: extern "system" fn(GLuint, *const GLfloat)
The function pointer to glVertexAttrib3fv()
vertexattrib3s: extern "system" fn(GLuint, GLshort, GLshort, GLshort)
The function pointer to glVertexAttrib3s()
vertexattrib3sv: extern "system" fn(GLuint, *const GLshort)
The function pointer to glVertexAttrib3sv()
vertexattrib4nbv: extern "system" fn(GLuint, *const GLbyte)
The function pointer to glVertexAttrib4Nbv()
vertexattrib4niv: extern "system" fn(GLuint, *const GLint)
The function pointer to glVertexAttrib4Niv()
vertexattrib4nsv: extern "system" fn(GLuint, *const GLshort)
The function pointer to glVertexAttrib4Nsv()
vertexattrib4nub: extern "system" fn(GLuint, GLubyte, GLubyte, GLubyte, GLubyte)
The function pointer to glVertexAttrib4Nub()
vertexattrib4nubv: extern "system" fn(GLuint, *const GLubyte)
The function pointer to glVertexAttrib4Nubv()
vertexattrib4nuiv: extern "system" fn(GLuint, *const GLuint)
The function pointer to glVertexAttrib4Nuiv()
vertexattrib4nusv: extern "system" fn(GLuint, *const GLushort)
The function pointer to glVertexAttrib4Nusv()
vertexattrib4bv: extern "system" fn(GLuint, *const GLbyte)
The function pointer to glVertexAttrib4bv()
vertexattrib4d: extern "system" fn(GLuint, GLdouble, GLdouble, GLdouble, GLdouble)
The function pointer to glVertexAttrib4d()
vertexattrib4dv: extern "system" fn(GLuint, *const GLdouble)
The function pointer to glVertexAttrib4dv()
vertexattrib4f: extern "system" fn(GLuint, GLfloat, GLfloat, GLfloat, GLfloat)
The function pointer to glVertexAttrib4f()
vertexattrib4fv: extern "system" fn(GLuint, *const GLfloat)
The function pointer to glVertexAttrib4fv()
vertexattrib4iv: extern "system" fn(GLuint, *const GLint)
The function pointer to glVertexAttrib4iv()
vertexattrib4s: extern "system" fn(GLuint, GLshort, GLshort, GLshort, GLshort)
The function pointer to glVertexAttrib4s()
vertexattrib4sv: extern "system" fn(GLuint, *const GLshort)
The function pointer to glVertexAttrib4sv()
vertexattrib4ubv: extern "system" fn(GLuint, *const GLubyte)
The function pointer to glVertexAttrib4ubv()
vertexattrib4uiv: extern "system" fn(GLuint, *const GLuint)
The function pointer to glVertexAttrib4uiv()
vertexattrib4usv: extern "system" fn(GLuint, *const GLushort)
The function pointer to glVertexAttrib4usv()
vertexattribpointer: extern "system" fn(GLuint, GLint, GLenum, GLboolean, GLsizei, *const c_void)
The function pointer to glVertexAttribPointer()