Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codrops/RainEffect
/ updateTexture
Function
updateTexture
demo/js/index3.js:4854–4856 ·
view source on GitHub ↗
(gl, source)
Source
from the content-addressed store, hash-verified
4852
}
4853
4854
function
updateTexture(gl, source) {
4855
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, source);
4856
}
4857
4858
function
setRectangle(gl, x, y, width, height) {
4859
var
x1 = x;
Callers
1
createTexture
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected