Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/tfjs-examples
/ useProgram
Method
useProgram
gpu-pipeline/webgl/gl-class.js:53–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
}
52
53
useProgram() {
54
this.gl_.useProgram(this.program_);
55
}
56
57
getUniformLocation(symbol) {
58
if
(this.cachedUniformLocations_.has(symbol)) {
Callers
2
startProcessFrame
Method · 0.80
createProgram
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected