mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-11 08:43:49 +00:00
added core 2.0 spec file
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@323 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
bdf1e86b11
commit
47e028ae26
@ -1,2 +1,176 @@
|
||||
GL_VERSION_2_0
|
||||
http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf
|
||||
GL_SHADING_LANGUAGE_VERSION 0x8B8C
|
||||
GL_PROGRAM_OBJECT 0x8B40
|
||||
GL_SHADER_OBJECT 0x8B48
|
||||
GL_SHADER_TYPE 0x8B4E
|
||||
GL_FLOAT_VEC2 0x8B50
|
||||
GL_FLOAT_VEC3 0x8B51
|
||||
GL_FLOAT_VEC4 0x8B52
|
||||
GL_INT_VEC2 0x8B53
|
||||
GL_INT_VEC3 0x8B54
|
||||
GL_INT_VEC4 0x8B55
|
||||
GL_BOOL 0x8B56
|
||||
GL_BOOL_VEC2 0x8B57
|
||||
GL_BOOL_VEC3 0x8B58
|
||||
GL_BOOL_VEC4 0x8B59
|
||||
GL_FLOAT_MAT2 0x8B5A
|
||||
GL_FLOAT_MAT3 0x8B5B
|
||||
GL_FLOAT_MAT4 0x8B5C
|
||||
GL_SAMPLER_1D 0x8B5D
|
||||
GL_SAMPLER_2D 0x8B5E
|
||||
GL_SAMPLER_3D 0x8B5F
|
||||
GL_SAMPLER_CUBE 0x8B60
|
||||
GL_SAMPLER_1D_SHADOW 0x8B61
|
||||
GL_SAMPLER_2D_SHADOW 0x8B62
|
||||
GL_SAMPLER_2D_RECT 0x8B63
|
||||
GL_SAMPLER_2D_RECT_SHADOW 0x8B64
|
||||
GL_DELETE_STATUS 0x8B80
|
||||
GL_COMPILE_STATUS 0x8B81
|
||||
GL_LINK_STATUS 0x8B82
|
||||
GL_VALIDATE_STATUS 0x8B83
|
||||
GL_INFO_LOG_LENGTH 0x8B84
|
||||
GL_ATTACHED_OBJECTS 0x8B85
|
||||
GL_ACTIVE_UNIFORMS 0x8B86
|
||||
GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
|
||||
GL_SHADER_SOURCE_LENGTH 0x8B88
|
||||
GL_ACTIVE_ATTRIBUTES 0x8B89
|
||||
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
|
||||
GL_VERTEX_SHADER 0x8B31
|
||||
GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
|
||||
GL_MAX_VARYING_FLOATS 0x8B4B
|
||||
GL_MAX_VERTEX_ATTRIBS 0x8869
|
||||
GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
|
||||
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
|
||||
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
|
||||
GL_MAX_TEXTURE_COORDS 0x8871
|
||||
GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
|
||||
GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
|
||||
GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
|
||||
GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
|
||||
GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
|
||||
GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
|
||||
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
|
||||
GL_CURRENT_VERTEX_ATTRIB 0x8626
|
||||
GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
|
||||
GL_FRAGMENT_SHADER 0x8B30
|
||||
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
|
||||
GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
|
||||
GL_MAX_DRAW_BUFFERS 0x8824
|
||||
GL_DRAW_BUFFER0 0x8825
|
||||
GL_DRAW_BUFFER1 0x8826
|
||||
GL_DRAW_BUFFER2 0x8827
|
||||
GL_DRAW_BUFFER3 0x8828
|
||||
GL_DRAW_BUFFER4 0x8829
|
||||
GL_DRAW_BUFFER5 0x882A
|
||||
GL_DRAW_BUFFER6 0x882B
|
||||
GL_DRAW_BUFFER7 0x882C
|
||||
GL_DRAW_BUFFER8 0x882D
|
||||
GL_DRAW_BUFFER9 0x882E
|
||||
GL_DRAW_BUFFER10 0x882F
|
||||
GL_DRAW_BUFFER11 0x8830
|
||||
GL_DRAW_BUFFER12 0x8831
|
||||
GL_DRAW_BUFFER13 0x8832
|
||||
GL_DRAW_BUFFER14 0x8833
|
||||
GL_DRAW_BUFFER15 0x8834
|
||||
GL_POINT_SPRITE 0x8861
|
||||
GL_COORD_REPLACE 0x8862
|
||||
GL_POINT_SPRITE_COORD_ORIGIN 0x0000
|
||||
GL_STENCIL_BACK_FUNC 0x8800
|
||||
GL_STENCIL_BACK_FAIL 0x8801
|
||||
GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
|
||||
GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
|
||||
GL_STENCIL_BACK_REF 0x0000
|
||||
GL_STENCIL_BACK_VALUE_MASK 0x0000
|
||||
GL_STENCIL_TEST_TWO_SIDE 0x8910
|
||||
GL_ACTIVE_STENCIL_FACE 0x8911
|
||||
GLuint glCreateShader (GLenum type)
|
||||
void glShaderSource (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths)
|
||||
GLboolean glIsShader (GLuint shader)
|
||||
void glCompileShader (GLuint shader)
|
||||
void glDeleteShader (GLuint shader)
|
||||
GLuint glCreateProgram (void)
|
||||
GLboolean glIsProgram (GLuint program)
|
||||
void glAttachShader (GLuint program, GLuint shader)
|
||||
void glDetachShader (GLuint program, GLuint shader)
|
||||
void glLinkProgram (GLuint program)
|
||||
void glUseProgram (GLuint program)
|
||||
void glValidateProgram (GLuint program)
|
||||
void glDeleteProgram (GLuint program)
|
||||
void glGetProgramiv(GLuint program, GLenum pname, GLint* param);
|
||||
void glGetProgramfv(GLuint program, GLenum pname, GLfloat* param);
|
||||
void glGetShaderiv(GLuint shader, GLenum pname, GLint* param);
|
||||
void glGetShaderfv(GLuint shader, GLenum pname, GLfloat* param);
|
||||
getGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
|
||||
getGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
|
||||
void glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders)
|
||||
void glGetShaderSource (GLint obj, GLsizei maxLength, GLsizei* length, GLchar* source)
|
||||
void glUniform1f (GLint location, GLfloat v0)
|
||||
void glUniform1fv (GLint location, GLsizei count, const GLfloat* value)
|
||||
void glUniform1i (GLint location, GLint v0)
|
||||
void glUniform1iv (GLint location, GLsizei count, const GLint* value)
|
||||
void glUniform2f (GLint location, GLfloat v0, GLfloat v1)
|
||||
void glUniform2fv (GLint location, GLsizei count, const GLfloat* value)
|
||||
void glUniform2i (GLint location, GLint v0, GLint v1)
|
||||
void glUniform2iv (GLint location, GLsizei count, const GLint* value)
|
||||
void glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
|
||||
void glUniform3fv (GLint location, GLsizei count, const GLfloat* value)
|
||||
void glUniform3i (GLint location, GLint v0, GLint v1, GLint v2)
|
||||
void glUniform3iv (GLint location, GLsizei count, const GLint* value)
|
||||
void glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
|
||||
void glUniform4fv (GLint location, GLsizei count, const GLfloat* value)
|
||||
void glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
|
||||
void glUniform4iv (GLint location, GLsizei count, const GLint* value)
|
||||
void glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
void glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
void glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
|
||||
GLint glGetUniformLocation (GLint programObj, const GLchar* name)
|
||||
void glGetActiveUniform (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name)
|
||||
void glGetUniformfv (GLuint program, GLint location, GLfloat* params)
|
||||
void glGetUniformiv (GLuint program, GLint location, GLint* params)
|
||||
void glVertexAttrib1d (GLuint index, GLdouble x)
|
||||
void glVertexAttrib1dv (GLuint index, const GLdouble* v)
|
||||
void glVertexAttrib1f (GLuint index, GLfloat x)
|
||||
void glVertexAttrib1fv (GLuint index, const GLfloat* v)
|
||||
void glVertexAttrib1s (GLuint index, GLshort x)
|
||||
void glVertexAttrib1sv (GLuint index, const GLshort* v)
|
||||
void glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y)
|
||||
void glVertexAttrib2dv (GLuint index, const GLdouble* v)
|
||||
void glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y)
|
||||
void glVertexAttrib2fv (GLuint index, const GLfloat* v)
|
||||
void glVertexAttrib2s (GLuint index, GLshort x, GLshort y)
|
||||
void glVertexAttrib2sv (GLuint index, const GLshort* v)
|
||||
void glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z)
|
||||
void glVertexAttrib3dv (GLuint index, const GLdouble* v)
|
||||
void glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z)
|
||||
void glVertexAttrib3fv (GLuint index, const GLfloat* v)
|
||||
void glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z)
|
||||
void glVertexAttrib3sv (GLuint index, const GLshort* v)
|
||||
void glVertexAttrib4Nbv (GLuint index, const GLbyte* v)
|
||||
void glVertexAttrib4Niv (GLuint index, const GLint* v)
|
||||
void glVertexAttrib4Nsv (GLuint index, const GLshort* v)
|
||||
void glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)
|
||||
void glVertexAttrib4Nubv (GLuint index, const GLubyte* v)
|
||||
void glVertexAttrib4Nuiv (GLuint index, const GLuint* v)
|
||||
void glVertexAttrib4Nusv (GLuint index, const GLushort* v)
|
||||
void glVertexAttrib4bv (GLuint index, const GLbyte* v)
|
||||
void glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
|
||||
void glVertexAttrib4dv (GLuint index, const GLdouble* v)
|
||||
void glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
|
||||
void glVertexAttrib4fv (GLuint index, const GLfloat* v)
|
||||
void glVertexAttrib4iv (GLuint index, const GLint* v)
|
||||
void glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)
|
||||
void glVertexAttrib4sv (GLuint index, const GLshort* v)
|
||||
void glVertexAttrib4ubv (GLuint index, const GLubyte* v)
|
||||
void glVertexAttrib4uiv (GLuint index, const GLuint* v)
|
||||
void glVertexAttrib4usv (GLuint index, const GLushort* v)
|
||||
void glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer)
|
||||
void glBindAttribLocation (GLuint program, GLuint index, const GLchar* name)
|
||||
GLint glGetAttribLocation (GLuint program, const GLchar* name)
|
||||
void glGetActiveAttrib (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLchar* name)
|
||||
GLuint glGetHandle (GLenum pname)
|
||||
typedef char GLchar
|
||||
void glDrawBuffers (GLsizei n, const GLenum* bufs)
|
||||
void glStencilFuncSeparate (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask)
|
||||
void glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
|
||||
void glActiveStencilFace (GLenum face)
|
||||
|
Loading…
Reference in New Issue
Block a user