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

Method setUniformValue

core/src/processing/opengl/PShader.java:621–625  ·  view source on GitHub ↗
(int loc, int x)

Source from the content-addressed store, hash-verified

619
620
621 protected void setUniformValue(int loc, int x) {
622 if (-1 < loc) {
623 pgl.uniform1i(loc, x);
624 }
625 }
626
627
628 protected void setUniformValue(int loc, int x, int y) {

Callers 3

setCommonUniformsMethod · 0.95
bindTypedMethod · 0.95
setTextureMethod · 0.95

Calls 8

uniform1iMethod · 0.45
uniform2iMethod · 0.45
uniform3iMethod · 0.45
uniform4iMethod · 0.45
uniform1fMethod · 0.45
uniform2fMethod · 0.45
uniform3fMethod · 0.45
uniform4fMethod · 0.45

Tested by

no test coverage detected