MCPcopy Create free account
hub / github.com/codrops/RainEffect / activeTexture

Function activeTexture

demo/js/index3.js:4850–4852  ·  view source on GitHub ↗
(gl, i)

Source from the content-addressed store, hash-verified

4848}
4849
4850function activeTexture(gl, i) {
4851 gl.activeTexture(gl["TEXTURE" + i]);
4852}
4853
4854function updateTexture(gl, source) {
4855 gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, source);

Callers 1

createTextureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected