MCPcopy Create free account
hub / github.com/benfry/processing4 / getAttributeLoc

Method getAttributeLoc

core/src/processing/opengl/PShader.java:603–606  ·  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

601 * @return int
602 */
603 protected int getAttributeLoc(String name) {
604 init();
605 return pgl.getAttribLocation(glProgram, name);
606 }
607
608
609 /**

Callers 2

loadAttributesMethod · 0.95
activeMethod · 0.80

Calls 2

initMethod · 0.95
getAttribLocationMethod · 0.45

Tested by

no test coverage detected