Link a shader program object. Any attached shader objects will be made executable to run on associated GPU processor units when the program is used.


program (int) – Program handle to link. Must have originated from a createProgramObjectARB() or glCreateProgramObjectARB call.

  • ValueError – Specified program handle is invalid.

  • RuntimeError – Program failed to link. Log will be dumped to sterr.

Back to top