MCPcopy Index your code
hub / github.com/processing/processing / unbind

Method unbind

core/src/processing/opengl/PShader.java:366–374  ·  view source on GitHub ↗

Unbinds the shader program.

()

Source from the content-addressed store, hash-verified

364 * Unbinds the shader program.
365 */
366 public void unbind() {
367 if (hasType()) unbindTyped();
368
369 if (bound) {
370 unbindTextures();
371 pgl.useProgram(0);
372 bound = false;
373 }
374 }
375
376
377 /**

Callers 8

flushPolysMethod · 0.95
flushSortedPolysMethod · 0.95
flushLinesMethod · 0.95
flushPointsMethod · 0.95
renderPolysMethod · 0.95
renderLinesMethod · 0.95
renderPointsMethod · 0.95
unbindTypedMethod · 0.45

Calls 4

hasTypeMethod · 0.95
unbindTypedMethod · 0.95
unbindTexturesMethod · 0.95
useProgramMethod · 0.45

Tested by

no test coverage detected