MCPcopy Create free account
hub / github.com/gpujs/gpu.js / updateValue

Method updateValue

src/backend/web-gl/kernel-value/float.js:22–25  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

20 }
21
22 updateValue(value) {
23 if (this.origin === 'constants') return;
24 this.kernel.setUniform1f(this.id, this.uploadValue = value);
25 }
26}
27
28module.exports = {

Callers 2

buildMethod · 0.45
runMethod · 0.45

Calls 1

setUniform1fMethod · 0.80

Tested by

no test coverage detected