Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
module.exports = {
Callers
2
build
Method · 0.45
run
Method · 0.45
Calls
1
setUniform1f
Method · 0.80
Tested by
no test coverage detected