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

Method setUniformValue

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

Source from the content-addressed store, hash-verified

628
629
630 protected void setUniformValue(int loc, int x) {
631 if (-1 < loc) {
632 pgl.uniform1i(loc, x);
633 }
634 }
635
636
637 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