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

Function createProgram

src/gl-obj.js:20–23  ·  view source on GitHub ↗
(vert,frag)

Source from the content-addressed store, hash-verified

18 this.useProgram(this.program);
19 },
20 createProgram(vert,frag){
21 let program=WebGL.createProgram(this.gl,vert,frag);
22 return program;
23 },
24 useProgram(program){
25 this.program=program;
26 this.gl.useProgram(program);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected