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

Method setAttributeVBO

core/src/processing/opengl/PShader.java:612–618  ·  view source on GitHub ↗
(int loc, int vboId, int size, int type,
                                 boolean normalized, int stride, int offset)

Source from the content-addressed store, hash-verified

610
611
612 protected void setAttributeVBO(int loc, int vboId, int size, int type,
613 boolean normalized, int stride, int offset) {
614 if (-1 < loc) {
615 pgl.bindBuffer(PGL.ARRAY_BUFFER, vboId);
616 pgl.vertexAttribPointer(loc, size, type, normalized, stride, offset);
617 }
618 }
619
620
621 protected void setUniformValue(int loc, int x) {

Callers 13

setVertexAttributeMethod · 0.95
setColorAttributeMethod · 0.95
setNormalAttributeMethod · 0.95
setTexcoordAttributeMethod · 0.95
setAmbientAttributeMethod · 0.95
setSpecularAttributeMethod · 0.95
setEmissiveAttributeMethod · 0.95
setShininessAttributeMethod · 0.95
setLineAttributeMethod · 0.95
setPointAttributeMethod · 0.95
flushPolysMethod · 0.95
flushSortedPolysMethod · 0.95

Calls 2

bindBufferMethod · 0.45
vertexAttribPointerMethod · 0.45

Tested by

no test coverage detected