1'''Autogenerated by xml_generate script, do not edit!''' 2from OpenGL import platform as _p, arrays 3# Code generation uses this 4from OpenGL.raw.GL import _types as _cs 5# End users want this... 6from OpenGL.raw.GL._types import * 7from OpenGL.raw.GL import _errors 8from OpenGL.constant import Constant as _C 9 10import ctypes 11_EXTENSION_NAME = 'GL_ARB_shader_subroutine' 12def _f( function ): 13 return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_shader_subroutine',error_checker=_errors._error_checker) 14GL_ACTIVE_SUBROUTINES=_C('GL_ACTIVE_SUBROUTINES',0x8DE5) 15GL_ACTIVE_SUBROUTINE_MAX_LENGTH=_C('GL_ACTIVE_SUBROUTINE_MAX_LENGTH',0x8E48) 16GL_ACTIVE_SUBROUTINE_UNIFORMS=_C('GL_ACTIVE_SUBROUTINE_UNIFORMS',0x8DE6) 17GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS=_C('GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS',0x8E47) 18GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH=_C('GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH',0x8E49) 19GL_COMPATIBLE_SUBROUTINES=_C('GL_COMPATIBLE_SUBROUTINES',0x8E4B) 20GL_MAX_SUBROUTINES=_C('GL_MAX_SUBROUTINES',0x8DE7) 21GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS=_C('GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS',0x8DE8) 22GL_NUM_COMPATIBLE_SUBROUTINES=_C('GL_NUM_COMPATIBLE_SUBROUTINES',0x8E4A) 23GL_UNIFORM_NAME_LENGTH=_C('GL_UNIFORM_NAME_LENGTH',0x8A39) 24GL_UNIFORM_SIZE=_C('GL_UNIFORM_SIZE',0x8A38) 25@_f 26@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) 27def glGetActiveSubroutineName(program,shadertype,index,bufsize,length,name):pass 28@_f 29@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLcharArray) 30def glGetActiveSubroutineUniformName(program,shadertype,index,bufsize,length,name):pass 31@_f 32@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLuint,_cs.GLenum,arrays.GLintArray) 33def glGetActiveSubroutineUniformiv(program,shadertype,index,pname,values):pass 34@_f 35@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLenum,arrays.GLintArray) 36def glGetProgramStageiv(program,shadertype,pname,values):pass 37@_f 38@_p.types(_cs.GLuint,_cs.GLuint,_cs.GLenum,arrays.GLcharArray) 39def glGetSubroutineIndex(program,shadertype,name):pass 40@_f 41@_p.types(_cs.GLint,_cs.GLuint,_cs.GLenum,arrays.GLcharArray) 42def glGetSubroutineUniformLocation(program,shadertype,name):pass 43@_f 44@_p.types(None,_cs.GLenum,_cs.GLint,arrays.GLuintArray) 45def glGetUniformSubroutineuiv(shadertype,location,params):pass 46@_f 47@_p.types(None,_cs.GLenum,_cs.GLsizei,arrays.GLuintArray) 48def glUniformSubroutinesuiv(shadertype,count,indices):pass 49