$ cnpm install glsl-extract-sync
A synchronous version of @chrisdickinson's glsl-extract module, originally sourced from @mikolalysenko's gl-shader module.
Returns an object with the attributes
and uniforms
defined in a given shader string.
MIT. See LICENSE.md for details.
Copyright 2014 - 2017 © taobao.org |