How to use the pyglet.GL.get_function function in pyglet

To help you get started, weā€™ve selected a few pyglet examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pyglet / pyglet / pyglet / GL / VERSION_1_1.py View on Github external
glTexSubImage2D = _get_function('glTexSubImage2D', [_ctypes.c_uint, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_uint, _ctypes.c_uint, _ctypes.c_void_p], None)
glTranslated = _get_function('glTranslated', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glTranslatef = _get_function('glTranslatef', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glVertex2d = _get_function('glVertex2d', [_ctypes.c_double, _ctypes.c_double], None)
glVertex2dv = _get_function('glVertex2dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glVertex2f = _get_function('glVertex2f', [_ctypes.c_float, _ctypes.c_float], None)
glVertex2fv = _get_function('glVertex2fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glVertex2i = _get_function('glVertex2i', [_ctypes.c_int, _ctypes.c_int], None)
glVertex2iv = _get_function('glVertex2iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glVertex2s = _get_function('glVertex2s', [_ctypes.c_short, _ctypes.c_short], None)
glVertex2sv = _get_function('glVertex2sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glVertex3d = _get_function('glVertex3d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glVertex3dv = _get_function('glVertex3dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glVertex3f = _get_function('glVertex3f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glVertex3fv = _get_function('glVertex3fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glVertex3i = _get_function('glVertex3i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glVertex3iv = _get_function('glVertex3iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glVertex3s = _get_function('glVertex3s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glVertex3sv = _get_function('glVertex3sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glVertex4d = _get_function('glVertex4d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glVertex4dv = _get_function('glVertex4dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glVertex4f = _get_function('glVertex4f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glVertex4fv = _get_function('glVertex4fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glVertex4i = _get_function('glVertex4i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glVertex4iv = _get_function('glVertex4iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glVertex4s = _get_function('glVertex4s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glVertex4sv = _get_function('glVertex4sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glVertexPointer = _get_function('glVertexPointer', [_ctypes.c_int, _ctypes.c_uint, _ctypes.c_int, _ctypes.c_void_p], None)
glViewport = _get_function('glViewport', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
github pyglet / pyglet / pyglet / GL / VERSION_1_1.py View on Github external
glNewList = _get_function('glNewList', [_ctypes.c_uint, _ctypes.c_uint], None)
glNormal3b = _get_function('glNormal3b', [_ctypes.c_byte, _ctypes.c_byte, _ctypes.c_byte], None)
glNormal3bv = _get_function('glNormal3bv', [_ctypes.POINTER(_ctypes.c_byte)], None)
glNormal3d = _get_function('glNormal3d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glNormal3dv = _get_function('glNormal3dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glNormal3f = _get_function('glNormal3f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glNormal3fv = _get_function('glNormal3fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glNormal3i = _get_function('glNormal3i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glNormal3iv = _get_function('glNormal3iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glNormal3s = _get_function('glNormal3s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glNormal3sv = _get_function('glNormal3sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glNormalPointer = _get_function('glNormalPointer', [_ctypes.c_uint, _ctypes.c_int, _ctypes.c_void_p], None)
glOrtho = _get_function('glOrtho', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glPassThrough = _get_function('glPassThrough', [_ctypes.c_float], None)
glPixelMapfv = _get_function('glPixelMapfv', [_ctypes.c_uint, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_float)], None)
glPixelMapuiv = _get_function('glPixelMapuiv', [_ctypes.c_uint, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_uint)], None)
glPixelMapusv = _get_function('glPixelMapusv', [_ctypes.c_uint, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_ushort)], None)
glPixelStoref = _get_function('glPixelStoref', [_ctypes.c_uint, _ctypes.c_float], None)
glPixelStorei = _get_function('glPixelStorei', [_ctypes.c_uint, _ctypes.c_int], None)
glPixelTransferf = _get_function('glPixelTransferf', [_ctypes.c_uint, _ctypes.c_float], None)
glPixelTransferi = _get_function('glPixelTransferi', [_ctypes.c_uint, _ctypes.c_int], None)
glPixelZoom = _get_function('glPixelZoom', [_ctypes.c_float, _ctypes.c_float], None)
glPointSize = _get_function('glPointSize', [_ctypes.c_float], None)
glPolygonMode = _get_function('glPolygonMode', [_ctypes.c_uint, _ctypes.c_uint], None)
glPolygonOffset = _get_function('glPolygonOffset', [_ctypes.c_float, _ctypes.c_float], None)
glPolygonStipple = _get_function('glPolygonStipple', [_ctypes.c_char_p], None)
glPopAttrib = _get_function('glPopAttrib', [], None)
glPopClientAttrib = _get_function('glPopClientAttrib', [], None)
glPopMatrix = _get_function('glPopMatrix', [], None)
glPopName = _get_function('glPopName', [], None)
glPrioritizeTextures = _get_function('glPrioritizeTextures', [_ctypes.c_int, _ctypes.POINTER(_ctypes.c_uint), _ctypes.POINTER(_ctypes.c_float)], None)
glPushAttrib = _get_function('glPushAttrib', [_ctypes.c_uint], None)
github pyglet / pyglet / pyglet / GL / VERSION_1_1.py View on Github external
glFrontFace = _get_function('glFrontFace', [_ctypes.c_uint], None)
glFrustum = _get_function('glFrustum', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glGenLists = _get_function('glGenLists', [_ctypes.c_int], _ctypes.c_uint)
glGenTextures = _get_function('glGenTextures', [_ctypes.c_int, _ctypes.POINTER(_ctypes.c_uint)], None)
glGetBooleanv = _get_function('glGetBooleanv', [_ctypes.c_uint, _ctypes.c_char_p], None)
glGetClipPlane = _get_function('glGetClipPlane', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_double)], None)
glGetDoublev = _get_function('glGetDoublev', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_double)], None)
glGetError = _get_function('glGetError', [], _ctypes.c_uint)
glGetFloatv = _get_function('glGetFloatv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetIntegerv = _get_function('glGetIntegerv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetLightfv = _get_function('glGetLightfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetLightiv = _get_function('glGetLightiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetMapdv = _get_function('glGetMapdv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_double)], None)
glGetMapfv = _get_function('glGetMapfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetMapiv = _get_function('glGetMapiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetMaterialfv = _get_function('glGetMaterialfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetMaterialiv = _get_function('glGetMaterialiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetPixelMapfv = _get_function('glGetPixelMapfv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetPixelMapuiv = _get_function('glGetPixelMapuiv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_uint)], None)
glGetPixelMapusv = _get_function('glGetPixelMapusv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_ushort)], None)
glGetPointerv = _get_function('glGetPointerv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_void_p)], None)
glGetPolygonStipple = _get_function('glGetPolygonStipple', [_ctypes.c_char_p], None)
glGetString = _get_function('glGetString', [_ctypes.c_uint], _ctypes.c_char_p)
glGetTexEnvfv = _get_function('glGetTexEnvfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetTexEnviv = _get_function('glGetTexEnviv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetTexGendv = _get_function('glGetTexGendv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_double)], None)
glGetTexGenfv = _get_function('glGetTexGenfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetTexGeniv = _get_function('glGetTexGeniv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetTexImage = _get_function('glGetTexImage', [_ctypes.c_uint, _ctypes.c_int, _ctypes.c_uint, _ctypes.c_uint, _ctypes.c_void_p], None)
glGetTexLevelParameterfv = _get_function('glGetTexLevelParameterfv', [_ctypes.c_uint, _ctypes.c_int, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetTexLevelParameteriv = _get_function('glGetTexLevelParameteriv', [_ctypes.c_uint, _ctypes.c_int, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetTexParameterfv = _get_function('glGetTexParameterfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
github pyglet / pyglet / pyglet / GL / VERSION_1_4.py View on Github external
glWindowPos2d = _get_function('glWindowPos2d', [_ctypes.c_double, _ctypes.c_double], None)
glWindowPos2f = _get_function('glWindowPos2f', [_ctypes.c_float, _ctypes.c_float], None)
glWindowPos2i = _get_function('glWindowPos2i', [_ctypes.c_int, _ctypes.c_int], None)
glWindowPos2s = _get_function('glWindowPos2s', [_ctypes.c_short, _ctypes.c_short], None)
glWindowPos2dv = _get_function('glWindowPos2dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glWindowPos2fv = _get_function('glWindowPos2fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glWindowPos2iv = _get_function('glWindowPos2iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glWindowPos2sv = _get_function('glWindowPos2sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glWindowPos3d = _get_function('glWindowPos3d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glWindowPos3f = _get_function('glWindowPos3f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glWindowPos3i = _get_function('glWindowPos3i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glWindowPos3s = _get_function('glWindowPos3s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glWindowPos3dv = _get_function('glWindowPos3dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glWindowPos3fv = _get_function('glWindowPos3fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glWindowPos3iv = _get_function('glWindowPos3iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glWindowPos3sv = _get_function('glWindowPos3sv', [_ctypes.POINTER(_ctypes.c_short)], None)
github pyglet / pyglet / pyglet / GL / VERSION_1_1.py View on Github external
glVertex3f = _get_function('glVertex3f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glVertex3fv = _get_function('glVertex3fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glVertex3i = _get_function('glVertex3i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glVertex3iv = _get_function('glVertex3iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glVertex3s = _get_function('glVertex3s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glVertex3sv = _get_function('glVertex3sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glVertex4d = _get_function('glVertex4d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glVertex4dv = _get_function('glVertex4dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glVertex4f = _get_function('glVertex4f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glVertex4fv = _get_function('glVertex4fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glVertex4i = _get_function('glVertex4i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glVertex4iv = _get_function('glVertex4iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glVertex4s = _get_function('glVertex4s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glVertex4sv = _get_function('glVertex4sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glVertexPointer = _get_function('glVertexPointer', [_ctypes.c_int, _ctypes.c_uint, _ctypes.c_int, _ctypes.c_void_p], None)
glViewport = _get_function('glViewport', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
github pyglet / pyglet / pyglet / GL / VERSION_1_1.py View on Github external
glLightfv = _get_function('glLightfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glLighti = _get_function('glLighti', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.c_int], None)
glLightiv = _get_function('glLightiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glLineStipple = _get_function('glLineStipple', [_ctypes.c_int, _ctypes.c_ushort], None)
glLineWidth = _get_function('glLineWidth', [_ctypes.c_float], None)
glListBase = _get_function('glListBase', [_ctypes.c_uint], None)
glLoadIdentity = _get_function('glLoadIdentity', [], None)
glLoadMatrixd = _get_function('glLoadMatrixd', [_ctypes.POINTER(_ctypes.c_double)], None)
glLoadMatrixf = _get_function('glLoadMatrixf', [_ctypes.POINTER(_ctypes.c_float)], None)
glLoadName = _get_function('glLoadName', [_ctypes.c_uint], None)
glLogicOp = _get_function('glLogicOp', [_ctypes.c_uint], None)
glMap1d = _get_function('glMap1d', [_ctypes.c_uint, _ctypes.c_double, _ctypes.c_double, _ctypes.c_int, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_double)], None)
glMap1f = _get_function('glMap1f', [_ctypes.c_uint, _ctypes.c_float, _ctypes.c_float, _ctypes.c_int, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_float)], None)
glMap2d = _get_function('glMap2d', [_ctypes.c_uint, _ctypes.c_double, _ctypes.c_double, _ctypes.c_int, _ctypes.c_int, _ctypes.c_double, _ctypes.c_double, _ctypes.c_int, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_double)], None)
glMap2f = _get_function('glMap2f', [_ctypes.c_uint, _ctypes.c_float, _ctypes.c_float, _ctypes.c_int, _ctypes.c_int, _ctypes.c_float, _ctypes.c_float, _ctypes.c_int, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_float)], None)
glMapGrid1d = _get_function('glMapGrid1d', [_ctypes.c_int, _ctypes.c_double, _ctypes.c_double], None)
glMapGrid1f = _get_function('glMapGrid1f', [_ctypes.c_int, _ctypes.c_float, _ctypes.c_float], None)
glMapGrid2d = _get_function('glMapGrid2d', [_ctypes.c_int, _ctypes.c_double, _ctypes.c_double, _ctypes.c_int, _ctypes.c_double, _ctypes.c_double], None)
glMapGrid2f = _get_function('glMapGrid2f', [_ctypes.c_int, _ctypes.c_float, _ctypes.c_float, _ctypes.c_int, _ctypes.c_float, _ctypes.c_float], None)
glMaterialf = _get_function('glMaterialf', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.c_float], None)
glMaterialfv = _get_function('glMaterialfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glMateriali = _get_function('glMateriali', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.c_int], None)
glMaterialiv = _get_function('glMaterialiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glMatrixMode = _get_function('glMatrixMode', [_ctypes.c_uint], None)
glMultMatrixd = _get_function('glMultMatrixd', [_ctypes.POINTER(_ctypes.c_double)], None)
glMultMatrixf = _get_function('glMultMatrixf', [_ctypes.POINTER(_ctypes.c_float)], None)
glNewList = _get_function('glNewList', [_ctypes.c_uint, _ctypes.c_uint], None)
glNormal3b = _get_function('glNormal3b', [_ctypes.c_byte, _ctypes.c_byte, _ctypes.c_byte], None)
glNormal3bv = _get_function('glNormal3bv', [_ctypes.POINTER(_ctypes.c_byte)], None)
glNormal3d = _get_function('glNormal3d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glNormal3dv = _get_function('glNormal3dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glNormal3f = _get_function('glNormal3f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
github pyglet / pyglet / pyglet / GL / VERSION_1_1.py View on Github external
glColor3b = _get_function('glColor3b', [_ctypes.c_byte, _ctypes.c_byte, _ctypes.c_byte], None)
glColor3bv = _get_function('glColor3bv', [_ctypes.POINTER(_ctypes.c_byte)], None)
glColor3d = _get_function('glColor3d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glColor3dv = _get_function('glColor3dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glColor3f = _get_function('glColor3f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glColor3fv = _get_function('glColor3fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glColor3i = _get_function('glColor3i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glColor3iv = _get_function('glColor3iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glColor3s = _get_function('glColor3s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glColor3sv = _get_function('glColor3sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glColor3ub = _get_function('glColor3ub', [_ctypes.c_ubyte, _ctypes.c_ubyte, _ctypes.c_ubyte], None)
glColor3ubv = _get_function('glColor3ubv', [_ctypes.c_char_p], None)
glColor3ui = _get_function('glColor3ui', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.c_uint], None)
glColor3uiv = _get_function('glColor3uiv', [_ctypes.POINTER(_ctypes.c_uint)], None)
glColor3us = _get_function('glColor3us', [_ctypes.c_ushort, _ctypes.c_ushort, _ctypes.c_ushort], None)
glColor3usv = _get_function('glColor3usv', [_ctypes.POINTER(_ctypes.c_ushort)], None)
glColor4b = _get_function('glColor4b', [_ctypes.c_byte, _ctypes.c_byte, _ctypes.c_byte, _ctypes.c_byte], None)
glColor4bv = _get_function('glColor4bv', [_ctypes.POINTER(_ctypes.c_byte)], None)
glColor4d = _get_function('glColor4d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glColor4dv = _get_function('glColor4dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glColor4f = _get_function('glColor4f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glColor4fv = _get_function('glColor4fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glColor4i = _get_function('glColor4i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glColor4iv = _get_function('glColor4iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glColor4s = _get_function('glColor4s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glColor4sv = _get_function('glColor4sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glColor4ub = _get_function('glColor4ub', [_ctypes.c_ubyte, _ctypes.c_ubyte, _ctypes.c_ubyte, _ctypes.c_ubyte], None)
glColor4ubv = _get_function('glColor4ubv', [_ctypes.c_char_p], None)
glColor4ui = _get_function('glColor4ui', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.c_uint, _ctypes.c_uint], None)
glColor4uiv = _get_function('glColor4uiv', [_ctypes.POINTER(_ctypes.c_uint)], None)
glColor4us = _get_function('glColor4us', [_ctypes.c_ushort, _ctypes.c_ushort, _ctypes.c_ushort, _ctypes.c_ushort], None)
glColor4usv = _get_function('glColor4usv', [_ctypes.POINTER(_ctypes.c_ushort)], None)
github pyglet / pyglet / pyglet / GL / VERSION_1_1.py View on Github external
glEvalCoord2f = _get_function('glEvalCoord2f', [_ctypes.c_float, _ctypes.c_float], None)
glEvalCoord2fv = _get_function('glEvalCoord2fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glEvalMesh1 = _get_function('glEvalMesh1', [_ctypes.c_uint, _ctypes.c_int, _ctypes.c_int], None)
glEvalMesh2 = _get_function('glEvalMesh2', [_ctypes.c_uint, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glEvalPoint1 = _get_function('glEvalPoint1', [_ctypes.c_int], None)
glEvalPoint2 = _get_function('glEvalPoint2', [_ctypes.c_int, _ctypes.c_int], None)
glFeedbackBuffer = _get_function('glFeedbackBuffer', [_ctypes.c_int, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glFinish = _get_function('glFinish', [], None)
glFlush = _get_function('glFlush', [], None)
glFogf = _get_function('glFogf', [_ctypes.c_uint, _ctypes.c_float], None)
glFogfv = _get_function('glFogfv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glFogi = _get_function('glFogi', [_ctypes.c_uint, _ctypes.c_int], None)
glFogiv = _get_function('glFogiv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glFrontFace = _get_function('glFrontFace', [_ctypes.c_uint], None)
glFrustum = _get_function('glFrustum', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glGenLists = _get_function('glGenLists', [_ctypes.c_int], _ctypes.c_uint)
glGenTextures = _get_function('glGenTextures', [_ctypes.c_int, _ctypes.POINTER(_ctypes.c_uint)], None)
glGetBooleanv = _get_function('glGetBooleanv', [_ctypes.c_uint, _ctypes.c_char_p], None)
glGetClipPlane = _get_function('glGetClipPlane', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_double)], None)
glGetDoublev = _get_function('glGetDoublev', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_double)], None)
glGetError = _get_function('glGetError', [], _ctypes.c_uint)
glGetFloatv = _get_function('glGetFloatv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetIntegerv = _get_function('glGetIntegerv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetLightfv = _get_function('glGetLightfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetLightiv = _get_function('glGetLightiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetMapdv = _get_function('glGetMapdv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_double)], None)
glGetMapfv = _get_function('glGetMapfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetMapiv = _get_function('glGetMapiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetMaterialfv = _get_function('glGetMaterialfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetMaterialiv = _get_function('glGetMaterialiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glGetPixelMapfv = _get_function('glGetPixelMapfv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glGetPixelMapuiv = _get_function('glGetPixelMapuiv', [_ctypes.c_uint, _ctypes.POINTER(_ctypes.c_uint)], None)
github pyglet / pyglet / pyglet / GL / VERSION_1_1.py View on Github external
glLoadName = _get_function('glLoadName', [_ctypes.c_uint], None)
glLogicOp = _get_function('glLogicOp', [_ctypes.c_uint], None)
glMap1d = _get_function('glMap1d', [_ctypes.c_uint, _ctypes.c_double, _ctypes.c_double, _ctypes.c_int, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_double)], None)
glMap1f = _get_function('glMap1f', [_ctypes.c_uint, _ctypes.c_float, _ctypes.c_float, _ctypes.c_int, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_float)], None)
glMap2d = _get_function('glMap2d', [_ctypes.c_uint, _ctypes.c_double, _ctypes.c_double, _ctypes.c_int, _ctypes.c_int, _ctypes.c_double, _ctypes.c_double, _ctypes.c_int, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_double)], None)
glMap2f = _get_function('glMap2f', [_ctypes.c_uint, _ctypes.c_float, _ctypes.c_float, _ctypes.c_int, _ctypes.c_int, _ctypes.c_float, _ctypes.c_float, _ctypes.c_int, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_float)], None)
glMapGrid1d = _get_function('glMapGrid1d', [_ctypes.c_int, _ctypes.c_double, _ctypes.c_double], None)
glMapGrid1f = _get_function('glMapGrid1f', [_ctypes.c_int, _ctypes.c_float, _ctypes.c_float], None)
glMapGrid2d = _get_function('glMapGrid2d', [_ctypes.c_int, _ctypes.c_double, _ctypes.c_double, _ctypes.c_int, _ctypes.c_double, _ctypes.c_double], None)
glMapGrid2f = _get_function('glMapGrid2f', [_ctypes.c_int, _ctypes.c_float, _ctypes.c_float, _ctypes.c_int, _ctypes.c_float, _ctypes.c_float], None)
glMaterialf = _get_function('glMaterialf', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.c_float], None)
glMaterialfv = _get_function('glMaterialfv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_float)], None)
glMateriali = _get_function('glMateriali', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.c_int], None)
glMaterialiv = _get_function('glMaterialiv', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.POINTER(_ctypes.c_int)], None)
glMatrixMode = _get_function('glMatrixMode', [_ctypes.c_uint], None)
glMultMatrixd = _get_function('glMultMatrixd', [_ctypes.POINTER(_ctypes.c_double)], None)
glMultMatrixf = _get_function('glMultMatrixf', [_ctypes.POINTER(_ctypes.c_float)], None)
glNewList = _get_function('glNewList', [_ctypes.c_uint, _ctypes.c_uint], None)
glNormal3b = _get_function('glNormal3b', [_ctypes.c_byte, _ctypes.c_byte, _ctypes.c_byte], None)
glNormal3bv = _get_function('glNormal3bv', [_ctypes.POINTER(_ctypes.c_byte)], None)
glNormal3d = _get_function('glNormal3d', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glNormal3dv = _get_function('glNormal3dv', [_ctypes.POINTER(_ctypes.c_double)], None)
glNormal3f = _get_function('glNormal3f', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glNormal3fv = _get_function('glNormal3fv', [_ctypes.POINTER(_ctypes.c_float)], None)
glNormal3i = _get_function('glNormal3i', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glNormal3iv = _get_function('glNormal3iv', [_ctypes.POINTER(_ctypes.c_int)], None)
glNormal3s = _get_function('glNormal3s', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glNormal3sv = _get_function('glNormal3sv', [_ctypes.POINTER(_ctypes.c_short)], None)
glNormalPointer = _get_function('glNormalPointer', [_ctypes.c_uint, _ctypes.c_int, _ctypes.c_void_p], None)
glOrtho = _get_function('glOrtho', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glPassThrough = _get_function('glPassThrough', [_ctypes.c_float], None)
glPixelMapfv = _get_function('glPixelMapfv', [_ctypes.c_uint, _ctypes.c_int, _ctypes.POINTER(_ctypes.c_float)], None)
github pyglet / pyglet / pyglet / GL / EXT_secondary_color.py View on Github external
GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E
glSecondaryColor3bEXT = _get_function('glSecondaryColor3bEXT', [_ctypes.c_byte, _ctypes.c_byte, _ctypes.c_byte], None)
glSecondaryColor3bvEXT = _get_function('glSecondaryColor3bvEXT', [_ctypes.POINTER(_ctypes.c_byte)], None)
glSecondaryColor3dEXT = _get_function('glSecondaryColor3dEXT', [_ctypes.c_double, _ctypes.c_double, _ctypes.c_double], None)
glSecondaryColor3dvEXT = _get_function('glSecondaryColor3dvEXT', [_ctypes.POINTER(_ctypes.c_double)], None)
glSecondaryColor3fEXT = _get_function('glSecondaryColor3fEXT', [_ctypes.c_float, _ctypes.c_float, _ctypes.c_float], None)
glSecondaryColor3fvEXT = _get_function('glSecondaryColor3fvEXT', [_ctypes.POINTER(_ctypes.c_float)], None)
glSecondaryColor3iEXT = _get_function('glSecondaryColor3iEXT', [_ctypes.c_int, _ctypes.c_int, _ctypes.c_int], None)
glSecondaryColor3ivEXT = _get_function('glSecondaryColor3ivEXT', [_ctypes.POINTER(_ctypes.c_int)], None)
glSecondaryColor3sEXT = _get_function('glSecondaryColor3sEXT', [_ctypes.c_short, _ctypes.c_short, _ctypes.c_short], None)
glSecondaryColor3svEXT = _get_function('glSecondaryColor3svEXT', [_ctypes.POINTER(_ctypes.c_short)], None)
glSecondaryColor3ubEXT = _get_function('glSecondaryColor3ubEXT', [_ctypes.c_ubyte, _ctypes.c_ubyte, _ctypes.c_ubyte], None)
glSecondaryColor3ubvEXT = _get_function('glSecondaryColor3ubvEXT', [_ctypes.c_char_p], None)
glSecondaryColor3uiEXT = _get_function('glSecondaryColor3uiEXT', [_ctypes.c_uint, _ctypes.c_uint, _ctypes.c_uint], None)
glSecondaryColor3uivEXT = _get_function('glSecondaryColor3uivEXT', [_ctypes.POINTER(_ctypes.c_uint)], None)
glSecondaryColor3usEXT = _get_function('glSecondaryColor3usEXT', [_ctypes.c_ushort, _ctypes.c_ushort, _ctypes.c_ushort], None)
glSecondaryColor3usvEXT = _get_function('glSecondaryColor3usvEXT', [_ctypes.POINTER(_ctypes.c_ushort)], None)
glSecondaryColorPointerEXT = _get_function('glSecondaryColorPointerEXT', [_ctypes.c_int, _ctypes.c_uint, _ctypes.c_int, _ctypes.c_void_p], None)