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_get_program_binary' 12def _f( function ): 13 return _p.createFunction( function,_p.PLATFORM.GL,'GL_ARB_get_program_binary',error_checker=_errors._error_checker) 14GL_NUM_PROGRAM_BINARY_FORMATS=_C('GL_NUM_PROGRAM_BINARY_FORMATS',0x87FE) 15GL_PROGRAM_BINARY_FORMATS=_C('GL_PROGRAM_BINARY_FORMATS',0x87FF) 16GL_PROGRAM_BINARY_LENGTH=_C('GL_PROGRAM_BINARY_LENGTH',0x8741) 17GL_PROGRAM_BINARY_RETRIEVABLE_HINT=_C('GL_PROGRAM_BINARY_RETRIEVABLE_HINT',0x8257) 18@_f 19@_p.types(None,_cs.GLuint,_cs.GLsizei,arrays.GLsizeiArray,arrays.GLuintArray,ctypes.c_void_p) 20def glGetProgramBinary(program,bufSize,length,binaryFormat,binary):pass 21@_f 22@_p.types(None,_cs.GLuint,_cs.GLenum,ctypes.c_void_p,_cs.GLsizei) 23def glProgramBinary(program,binaryFormat,binary,length):pass 24@_f 25@_p.types(None,_cs.GLuint,_cs.GLenum,_cs.GLint) 26def glProgramParameteri(program,pname,value):pass 27