MCPcopy Create free account
hub / github.com/PavelDoGreat/WebGL-Fluid-Simulation / attach

Function attach

script.js:1071–1075  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

1069 texelSizeX,
1070 texelSizeY,
1071 attach (id) {
1072 gl.activeTexture(gl.TEXTURE0 + id);
1073 gl.bindTexture(gl.TEXTURE_2D, texture);
1074 return id;
1075 }
1076 };
1077}
1078

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected