MCPcopy Create free account
hub / github.com/GrayMind/WebGL-Programming-Guide / initShaders

Function initShaders

source/lib/cuon-utils.js:9–20  ·  view source on GitHub ↗

* Create a program object and make current * @param gl GL context * @param vshader a vertex shader program (string) * @param fshader a fragment shader program (string) * @return true, if the program object was created and successfully made current

(gl, vshader, fshader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

createProgramFunction · 0.85

Tested by

no test coverage detected