A wrapper module for bundling glslify scripts using common functionality within the glslify module ecosystem
A wrapper module for bundling glslify scripts using common functionality within the glslify module ecosystem.
Normalizes the API to closely match what's seen when using glslify as a browserify transform, such that when dealing with the simple case it can be used more quickly in other modules.
cwdis the working directory of any inline shaders.
optionsis an object literal, and should support any of the parameters you can use when using the browserify transform. Notably,
done(err, result)is called when ready.
The bundled fragment shader.
The bundled vertex shader.
An array of files that were used within the bundling process.
MIT. See LICENSE.md for details.