MCPcopy
hub / github.com/processing/p5.js / updateUniformValue

Method updateUniformValue

src/webgl/p5.RendererGL.js:1147–1155  ·  view source on GitHub ↗
(shader, uniform, data)

Source from the content-addressed store, hash-verified

1145 }
1146
1147 updateUniformValue(shader, uniform, data) {
1148 return setWebGLUniformValue(
1149 shader,
1150 uniform,
1151 data,
1152 (tex) => this.getTexture(tex),
1153 this.GL
1154 );
1155 }
1156
1157 _updateTexture(uniform, tex) {
1158 const gl = this.GL;

Callers 1

setUniformMethod · 0.45

Calls 2

setWebGLUniformValueFunction · 0.90
getTextureMethod · 0.45

Tested by

no test coverage detected