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

Method getUniformLoc

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

Returns the ID location of the uniform parameter given its name. @param name String @return int

(String name)

Source from the content-addressed store, hash-verified

604 * @return int
605 */
606 protected int getUniformLoc(String name) {
607 init();
608 return pgl.getUniformLocation(glProgram, name);
609 }
610
611
612 protected void setAttributeVBO(int loc, int vboId, int size, int type,

Callers 2

consumeUniformsMethod · 0.95
loadUniformsMethod · 0.95

Calls 2

initMethod · 0.95
getUniformLocationMethod · 0.45

Tested by

no test coverage detected