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

Method getAttributeLoc

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

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

(String name)

Source from the content-addressed store, hash-verified

592 * @return int
593 */
594 protected int getAttributeLoc(String name) {
595 init();
596 return pgl.getAttribLocation(glProgram, name);
597 }
598
599
600 /**

Callers 2

loadAttributesMethod · 0.95
activeMethod · 0.80

Calls 2

initMethod · 0.95
getAttribLocationMethod · 0.45

Tested by

no test coverage detected