How to use the pyglet.gl.lib.link_GL 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 sympy / sympy / sympy / thirdparty / pyglet / pyglet / gl / gl.py View on Github external
glNormal3s = _link_function('glNormal3s', None, [GLshort, GLshort, GLshort], None)

# /usr/include/GL/gl.h:1478
glNormal3sv = _link_function('glNormal3sv', None, [POINTER(GLshort)], None)

# /usr/include/GL/gl.h:1479
glNormalPointer = _link_function('glNormalPointer', None, [GLenum, GLsizei, POINTER(GLvoid)], None)

# /usr/include/GL/gl.h:1480
glOrtho = _link_function('glOrtho', None, [GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1481
glPassThrough = _link_function('glPassThrough', None, [GLfloat], None)

# /usr/include/GL/gl.h:1482
glPixelMapfv = _link_function('glPixelMapfv', None, [GLenum, GLsizei, POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1483
glPixelMapuiv = _link_function('glPixelMapuiv', None, [GLenum, GLsizei, POINTER(GLuint)], None)

# /usr/include/GL/gl.h:1484
glPixelMapusv = _link_function('glPixelMapusv', None, [GLenum, GLsizei, POINTER(GLushort)], None)

# /usr/include/GL/gl.h:1485
glPixelStoref = _link_function('glPixelStoref', None, [GLenum, GLfloat], None)

# /usr/include/GL/gl.h:1486
glPixelStorei = _link_function('glPixelStorei', None, [GLenum, GLint], None)

# /usr/include/GL/gl.h:1487
glPixelTransferf = _link_function('glPixelTransferf', None, [GLenum, GLfloat], None)
github pyglet / pyglet / pyglet / gl / gl.py View on Github external
glListBase = _link_function('glListBase', None, [GLuint], None)

# /usr/include/GL/gl.h:1448
glLoadIdentity = _link_function('glLoadIdentity', None, [], None)

# /usr/include/GL/gl.h:1449
glLoadMatrixd = _link_function('glLoadMatrixd', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1450
glLoadMatrixf = _link_function('glLoadMatrixf', None, [POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1451
glLoadName = _link_function('glLoadName', None, [GLuint], None)

# /usr/include/GL/gl.h:1452
glLogicOp = _link_function('glLogicOp', None, [GLenum], None)

# /usr/include/GL/gl.h:1453
glMap1d = _link_function('glMap1d', None, [GLenum, GLdouble, GLdouble, GLint, GLint, POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1454
glMap1f = _link_function('glMap1f', None, [GLenum, GLfloat, GLfloat, GLint, GLint, POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1455
glMap2d = _link_function('glMap2d', None, [GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1456
glMap2f = _link_function('glMap2f', None, [GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1457
glMapGrid1d = _link_function('glMapGrid1d', None, [GLint, GLdouble, GLdouble], None)
github sympy / sympy / sympy / thirdparty / pyglet / pyglet / gl / gl.py View on Github external
glStencilOp = _link_function('glStencilOp', None, [GLenum, GLenum, GLenum], None)

# /usr/include/GL/gl.h:1548
glTexCoord1d = _link_function('glTexCoord1d', None, [GLdouble], None)

# /usr/include/GL/gl.h:1549
glTexCoord1dv = _link_function('glTexCoord1dv', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1550
glTexCoord1f = _link_function('glTexCoord1f', None, [GLfloat], None)

# /usr/include/GL/gl.h:1551
glTexCoord1fv = _link_function('glTexCoord1fv', None, [POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1552
glTexCoord1i = _link_function('glTexCoord1i', None, [GLint], None)

# /usr/include/GL/gl.h:1553
glTexCoord1iv = _link_function('glTexCoord1iv', None, [POINTER(GLint)], None)

# /usr/include/GL/gl.h:1554
glTexCoord1s = _link_function('glTexCoord1s', None, [GLshort], None)

# /usr/include/GL/gl.h:1555
glTexCoord1sv = _link_function('glTexCoord1sv', None, [POINTER(GLshort)], None)

# /usr/include/GL/gl.h:1556
glTexCoord2d = _link_function('glTexCoord2d', None, [GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1557
glTexCoord2dv = _link_function('glTexCoord2dv', None, [POINTER(GLdouble)], None)
github pyglet / pyglet / pyglet / gl / gl.py View on Github external
glTexCoord3d = _link_function('glTexCoord3d', None, [GLdouble, GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1565
glTexCoord3dv = _link_function('glTexCoord3dv', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1566
glTexCoord3f = _link_function('glTexCoord3f', None, [GLfloat, GLfloat, GLfloat], None)

# /usr/include/GL/gl.h:1567
glTexCoord3fv = _link_function('glTexCoord3fv', None, [POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1568
glTexCoord3i = _link_function('glTexCoord3i', None, [GLint, GLint, GLint], None)

# /usr/include/GL/gl.h:1569
glTexCoord3iv = _link_function('glTexCoord3iv', None, [POINTER(GLint)], None)

# /usr/include/GL/gl.h:1570
glTexCoord3s = _link_function('glTexCoord3s', None, [GLshort, GLshort, GLshort], None)

# /usr/include/GL/gl.h:1571
glTexCoord3sv = _link_function('glTexCoord3sv', None, [POINTER(GLshort)], None)

# /usr/include/GL/gl.h:1572
glTexCoord4d = _link_function('glTexCoord4d', None, [GLdouble, GLdouble, GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1573
glTexCoord4dv = _link_function('glTexCoord4dv', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1574
glTexCoord4f = _link_function('glTexCoord4f', None, [GLfloat, GLfloat, GLfloat, GLfloat], None)
github sympy / sympy / sympy / thirdparty / pyglet / pyglet / gl / gl.py View on Github external
glTexParameteri = _link_function('glTexParameteri', None, [GLenum, GLenum, GLint], None)

# /usr/include/GL/gl.h:1596
glTexParameteriv = _link_function('glTexParameteriv', None, [GLenum, GLenum, POINTER(GLint)], None)

# /usr/include/GL/gl.h:1597
glTexSubImage1D = _link_function('glTexSubImage1D', None, [GLenum, GLint, GLint, GLsizei, GLenum, GLenum, POINTER(GLvoid)], None)

# /usr/include/GL/gl.h:1598
glTexSubImage2D = _link_function('glTexSubImage2D', None, [GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, POINTER(GLvoid)], None)

# /usr/include/GL/gl.h:1599
glTranslated = _link_function('glTranslated', None, [GLdouble, GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1600
glTranslatef = _link_function('glTranslatef', None, [GLfloat, GLfloat, GLfloat], None)

# /usr/include/GL/gl.h:1601
glVertex2d = _link_function('glVertex2d', None, [GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1602
glVertex2dv = _link_function('glVertex2dv', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1603
glVertex2f = _link_function('glVertex2f', None, [GLfloat, GLfloat], None)

# /usr/include/GL/gl.h:1604
glVertex2fv = _link_function('glVertex2fv', None, [POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1605
glVertex2i = _link_function('glVertex2i', None, [GLint, GLint], None)
github pyglet / pyglet / pyglet / gl / gl.py View on Github external
glColor3usv = _link_function('glColor3usv', None, [POINTER(GLushort)], None)

# /usr/include/GL/gl.h:1324
glColor4b = _link_function('glColor4b', None, [GLbyte, GLbyte, GLbyte, GLbyte], None)

# /usr/include/GL/gl.h:1325
glColor4bv = _link_function('glColor4bv', None, [POINTER(GLbyte)], None)

# /usr/include/GL/gl.h:1326
glColor4d = _link_function('glColor4d', None, [GLdouble, GLdouble, GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1327
glColor4dv = _link_function('glColor4dv', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1328
glColor4f = _link_function('glColor4f', None, [GLfloat, GLfloat, GLfloat, GLfloat], None)

# /usr/include/GL/gl.h:1329
glColor4fv = _link_function('glColor4fv', None, [POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1330
glColor4i = _link_function('glColor4i', None, [GLint, GLint, GLint, GLint], None)

# /usr/include/GL/gl.h:1331
glColor4iv = _link_function('glColor4iv', None, [POINTER(GLint)], None)

# /usr/include/GL/gl.h:1332
glColor4s = _link_function('glColor4s', None, [GLshort, GLshort, GLshort, GLshort], None)

# /usr/include/GL/gl.h:1333
glColor4sv = _link_function('glColor4sv', None, [POINTER(GLshort)], None)
github pyglet / pyglet / pyglet / gl / gl.py View on Github external
glColor4ub = _link_function('glColor4ub', None, [GLubyte, GLubyte, GLubyte, GLubyte], None)

# /usr/include/GL/gl.h:1335
glColor4ubv = _link_function('glColor4ubv', None, [POINTER(GLubyte)], None)

# /usr/include/GL/gl.h:1336
glColor4ui = _link_function('glColor4ui', None, [GLuint, GLuint, GLuint, GLuint], None)

# /usr/include/GL/gl.h:1337
glColor4uiv = _link_function('glColor4uiv', None, [POINTER(GLuint)], None)

# /usr/include/GL/gl.h:1338
glColor4us = _link_function('glColor4us', None, [GLushort, GLushort, GLushort, GLushort], None)

# /usr/include/GL/gl.h:1339
glColor4usv = _link_function('glColor4usv', None, [POINTER(GLushort)], None)

# /usr/include/GL/gl.h:1340
glColorMask = _link_function('glColorMask', None, [GLboolean, GLboolean, GLboolean, GLboolean], None)

# /usr/include/GL/gl.h:1341
glColorMaterial = _link_function('glColorMaterial', None, [GLenum, GLenum], None)

# /usr/include/GL/gl.h:1342
glColorPointer = _link_function('glColorPointer', None, [GLint, GLenum, GLsizei, POINTER(GLvoid)], None)

# /usr/include/GL/gl.h:1343
glCopyPixels = _link_function('glCopyPixels', None, [GLint, GLint, GLsizei, GLsizei, GLenum], None)

# /usr/include/GL/gl.h:1344
glCopyTexImage1D = _link_function('glCopyTexImage1D', None, [GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint], None)
github sympy / sympy / sympy / thirdparty / pyglet / pyglet / gl / gl.py View on Github external
glPixelTransferi = _link_function('glPixelTransferi', None, [GLenum, GLint], None)

# /usr/include/GL/gl.h:1489
glPixelZoom = _link_function('glPixelZoom', None, [GLfloat, GLfloat], None)

# /usr/include/GL/gl.h:1490
glPointSize = _link_function('glPointSize', None, [GLfloat], None)

# /usr/include/GL/gl.h:1491
glPolygonMode = _link_function('glPolygonMode', None, [GLenum, GLenum], None)

# /usr/include/GL/gl.h:1492
glPolygonOffset = _link_function('glPolygonOffset', None, [GLfloat, GLfloat], None)

# /usr/include/GL/gl.h:1493
glPolygonStipple = _link_function('glPolygonStipple', None, [POINTER(GLubyte)], None)

# /usr/include/GL/gl.h:1494
glPopAttrib = _link_function('glPopAttrib', None, [], None)

# /usr/include/GL/gl.h:1495
glPopClientAttrib = _link_function('glPopClientAttrib', None, [], None)

# /usr/include/GL/gl.h:1496
glPopMatrix = _link_function('glPopMatrix', None, [], None)

# /usr/include/GL/gl.h:1497
glPopName = _link_function('glPopName', None, [], None)

# /usr/include/GL/gl.h:1498
glPrioritizeTextures = _link_function('glPrioritizeTextures', None, [GLsizei, POINTER(GLuint), POINTER(GLclampf)], None)
github pyglet / pyglet / pyglet / gl / gl.py View on Github external
glStencilOp = _link_function('glStencilOp', None, [GLenum, GLenum, GLenum], None)

# /usr/include/GL/gl.h:1548
glTexCoord1d = _link_function('glTexCoord1d', None, [GLdouble], None)

# /usr/include/GL/gl.h:1549
glTexCoord1dv = _link_function('glTexCoord1dv', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1550
glTexCoord1f = _link_function('glTexCoord1f', None, [GLfloat], None)

# /usr/include/GL/gl.h:1551
glTexCoord1fv = _link_function('glTexCoord1fv', None, [POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1552
glTexCoord1i = _link_function('glTexCoord1i', None, [GLint], None)

# /usr/include/GL/gl.h:1553
glTexCoord1iv = _link_function('glTexCoord1iv', None, [POINTER(GLint)], None)

# /usr/include/GL/gl.h:1554
glTexCoord1s = _link_function('glTexCoord1s', None, [GLshort], None)

# /usr/include/GL/gl.h:1555
glTexCoord1sv = _link_function('glTexCoord1sv', None, [POINTER(GLshort)], None)

# /usr/include/GL/gl.h:1556
glTexCoord2d = _link_function('glTexCoord2d', None, [GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1557
glTexCoord2dv = _link_function('glTexCoord2dv', None, [POINTER(GLdouble)], None)
github sympy / sympy / sympy / thirdparty / pyglet / pyglet / gl / gl.py View on Github external
glMultMatrixd = _link_function('glMultMatrixd', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1467
glMultMatrixf = _link_function('glMultMatrixf', None, [POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1468
glNewList = _link_function('glNewList', None, [GLuint, GLenum], None)

# /usr/include/GL/gl.h:1469
glNormal3b = _link_function('glNormal3b', None, [GLbyte, GLbyte, GLbyte], None)

# /usr/include/GL/gl.h:1470
glNormal3bv = _link_function('glNormal3bv', None, [POINTER(GLbyte)], None)

# /usr/include/GL/gl.h:1471
glNormal3d = _link_function('glNormal3d', None, [GLdouble, GLdouble, GLdouble], None)

# /usr/include/GL/gl.h:1472
glNormal3dv = _link_function('glNormal3dv', None, [POINTER(GLdouble)], None)

# /usr/include/GL/gl.h:1473
glNormal3f = _link_function('glNormal3f', None, [GLfloat, GLfloat, GLfloat], None)

# /usr/include/GL/gl.h:1474
glNormal3fv = _link_function('glNormal3fv', None, [POINTER(GLfloat)], None)

# /usr/include/GL/gl.h:1475
glNormal3i = _link_function('glNormal3i', None, [GLint, GLint, GLint], None)

# /usr/include/GL/gl.h:1476
glNormal3iv = _link_function('glNormal3iv', None, [POINTER(GLint)], None)