MCPcopy
hub / github.com/spritejs/spritejs / setProgram

Method setProgram

typings/spritejs.d.ts:469–469  ·  view source on GitHub ↗

* Use a custom WebGLProgram when drawing the mesh. * @param program

(program: WebGLProgram | null)

Source from the content-addressed store, hash-verified

467 * @param program
468 */
469 setProgram(program: WebGLProgram | null): void;
470 /**
471 * Set shader attributes to program.
472 * @param key

Callers 15

node.jsFile · 0.65
layer.jsFile · 0.65
cloud.jsFile · 0.65
drawMethod · 0.65
drawMethod · 0.65
spritejs.min.jsFile · 0.65
setProgramMethod · 0.65
drawMethod · 0.65
drawMethod · 0.65
addPassMethod · 0.65
setProgramMethod · 0.65

Implementers 2

Mesh2Ddocs/demo/spritejs.worker.es.js
eedocs/demo/spritejs.worker.es.min.js

Calls

no outgoing calls

Tested by

no test coverage detected