glCreateProgram

Creates a program object

Signature

glCreateProgram( void )-> GLuint
glCreateProgram( ) -> <class 'ctypes.c_uint'>

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glCreateProgram
OpenGLContext OpenGLContext/scenegraph/shaders.py Lines: 459
{LGPL} PyMT pymt/graphx/shader.py Lines: 10, 30
{GPL3} OpenGL-Programmable 06-perpixel.py Lines: 94
{GPL3} OpenGL-Programmable 09-gles2.py Lines: 114
{GPL3} OpenGL-Programmable 10-gl3.2core.py Lines: 122
{GPL3} OpenGL-Programmable 08-pbo.py Lines: 100
{GPL3} OpenGL-Programmable 05-shader.py Lines: 86
{GPL3} OpenGL-Programmable 07-attrib.py Lines: 100