psychopy.tools.gltools.detachShader

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

Detach a shader object from a program.

Parameters:
  • program (int) – Program handle to detach shader from. Must have originated from a createProgram() or glCreateProgram call.

  • shader (int) – Handle of shader object to detach. Must have been previously attached to program.


Back to top