gl-shader-update
v0.0.0
Published
Update the vertex/fragment sources of a shader instance created by gl-shader, gl-shader-core or glslify.
Downloads
25
Maintainers
Readme
gl-shader-update
Update the vertex/fragment sources of a shader instance created by gl-shader, gl-shader-core or glslify.
Usage
update.vert(shader, source)
Replace shader
's current vertex shader with source
.
update.frag(shader, source)
Replace shader
's current fragment shader with source
.
License
MIT. See LICENSE.md for details.