Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
setCommonUniforms
Method · 0.95
bindTyped
Method · 0.95
setTexture
Method · 0.95
Calls
8
uniform1i
Method · 0.45
uniform2i
Method · 0.45
uniform3i
Method · 0.45
uniform4i
Method · 0.45
uniform1f
Method · 0.45
uniform2f
Method · 0.45
uniform3f
Method · 0.45
uniform4f
Method · 0.45
Tested by
no test coverage detected