Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codrops/RainEffect
/ activeTexture
Function
activeTexture
demo/js/main.js:4784–4786 ·
view source on GitHub ↗
(gl, i)
Source
from the content-addressed store, hash-verified
4782
}
4783
4784
function
activeTexture(gl, i) {
4785
gl.activeTexture(gl[
"TEXTURE"
+ i]);
4786
}
4787
4788
function
updateTexture(gl, source) {
4789
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, source);
Callers
1
createTexture
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected