psychopy.tools.gltools.attachObjectARB

psychopy.tools.gltools.attachObjectARB(program, shader)[source]

Attach a shader object to a program.

Parameters:
  • program (int) – Program handle to attach shader to. Must have originated from a createProgramObjectARB() or glCreateProgramObjectARB call.

  • shader (int) – Handle of shader object to attach. Must have originated from a compileShaderObjectARB() or glCreateShaderObjectARB call.


Back to top