MCPcopy Index your code
hub / github.com/benfry/processing4 / attribColor

Method attribColor

core/src/processing/opengl/PShapeOpenGL.java:1150–1154  ·  view source on GitHub ↗
(String name, int color)

Source from the content-addressed store, hash-verified

1148
1149
1150 @Override
1151 public void attribColor(String name, int color) {
1152 VertexAttribute attrib = attribImpl(name, VertexAttribute.COLOR, PGL.INT, 1);
1153 if (attrib != null) attrib.set(new int[] {color});
1154 }
1155
1156
1157 @Override

Callers

nothing calls this directly

Calls 2

attribImplMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected