Use a program object’s executable shader attachments in the current OpenGL rendering state.

In order to install the program object in the current rendering state, a program must have been successfully linked by calling linkProgram() or glLinkProgram.


program (int) – Handle of program to use. Must have originated from a createProgram() or glCreateProgram call and was successfully linked. Passing 0 or None disables shader programs.


Install a program for use in the current rendering state:


Disable the current shader program by specifying 0:


Back to top