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

Function useProgram

src/gl-obj.js:24–27  ·  view source on GitHub ↗
(program)

Source from the content-addressed store, hash-verified

22 return program;
23 },
24 useProgram(program){
25 this.program=program;
26 this.gl.useProgram(program);
27 },
28 createTexture(source,i){
29 return WebGL.createTexture(this.gl,source,i);
30 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected