Get uniform names and locations from a given shader program object.
This function works with both standard and ARB program object variants.
program (int) – Handle of program to retrieve uniforms. Must have originated from a
createProgram()
, createProgramObjectARB()
, glCreateProgram
or glCreateProgramObjectARB call.
builtins (bool, optional) – Include built-in GLSL uniforms (eg. gl_ModelViewProjectionMatrix). Default is False.
Uniform names and locations.