From 51c7235d4e0a2df109dd5050328a0ad4a1878ae4 Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 10 Mar 2023 02:05:18 -0600 Subject: refactor: move glfw functions into separate table --- src/opengl/bind/u | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/opengl/bind/u (limited to 'src/opengl/bind/u') diff --git a/src/opengl/bind/u b/src/opengl/bind/u new file mode 100644 index 0000000..7cd3e42 --- /dev/null +++ b/src/opengl/bind/u @@ -0,0 +1,37 @@ +void glUniform1f( GLint location, GLfloat v0); +void glUniform2f( GLint location, GLfloat v0, GLfloat v1); +void glUniform3f( GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +void glUniform4f( GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +void glUniform1i( GLint location, GLint v0); +void glUniform2i( GLint location, GLint v0, GLint v1); +void glUniform3i( GLint location, GLint v0, GLint v1, GLint v2); +void glUniform4i( GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +void glUniform1ui( GLint location, GLuint v0); +void glUniform2ui( GLint location, GLuint v0, GLuint v1); +void glUniform3ui( GLint location, GLuint v0, GLuint v1, GLuint v2); +void glUniform4ui( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +void glUniform1fv( GLint location, GLsizei count, const GLfloat *value); +void glUniform2fv( GLint location, GLsizei count, const GLfloat *value); +void glUniform3fv( GLint location, GLsizei count, const GLfloat *value); +void glUniform4fv( GLint location, GLsizei count, const GLfloat *value); +void glUniform1iv( GLint location, GLsizei count, const GLint *value); +void glUniform2iv( GLint location, GLsizei count, const GLint *value); +void glUniform3iv( GLint location, GLsizei count, const GLint *value); +void glUniform4iv( GLint location, GLsizei count, const GLint *value); +void glUniform1uiv( GLint location, GLsizei count, const GLuint *value); +void glUniform2uiv( GLint location, GLsizei count, const GLuint *value); +void glUniform3uiv( GLint location, GLsizei count, const GLuint *value); +void glUniform4uiv( GLint location, GLsizei count, const GLuint *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); +void glUniformMatrix2x3fv( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +void glUniformMatrix3x2fv( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +void glUniformMatrix2x4fv( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +void glUniformMatrix4x2fv( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +void glUniformMatrix3x4fv( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +void glUniformMatrix4x3fv( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +void glUniformSubroutinesuiv( GLenum shadertype, GLsizei count, const GLuint *indices); +GLboolean glUnmapBuffer( GLenum target); +void glUseProgram( GLuint program); +void glUseProgramStages( GLuint pipeline, GLbitfield stages, GLuint program); -- cgit v1.2.1