Link a shader program. 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
createProgram()
or glCreateProgram call.
ValueError – Specified program handle is invalid.
RuntimeError – Program failed to link. Log will be dumped to sterr.