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

Function loadShader

source/lib/cuon-utils.js:70–94  ·  view source on GitHub ↗

* Create a shader object * @param gl GL context * @param type the type of the shader object to be created * @param source shader program (string) * @return created shader object, or null if the creation has failed.

(gl, type, source)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

createProgramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected