stackgl

stackgl/glsl-token-descope

JavaScript
3
2
Other

glsl-token-descope is a utility for modularizing GLSL source files by renaming variables to avoid global conflicts when inlining code from multiple shaders. It takes an array of GLSL tokens and modifies their names in-place, making it useful for tools like glslify that combine shader code from different sources. This project is primarily aimed at developers working with WebGL and GLSL shaders who need to safely merge shader code without variable name clashes.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stackgl/glsl-token-descope

Account's avatar
Take an array of GLSL tokens and determine which tokens are either assignments or variable declarations.
Account's avatar
Determine the scope depth of an array of GLSL tokens
Account's avatar
Takes an array of GLSL tokens and determines whether or not they're a property of another identifier
Account's avatar
Infer the scope of each token in an array of GLSL tokens
Account's avatar
Converts an array of GLSL tokens to a plain source string
Account's avatar
r/w stream of glsl tokens
Account's avatar
Formatted TAP output like Mocha's spec reporter
Account's avatar
tap-producing test harness for node and browsers

Support the repos that depend on stackgl/glsl-token-descope

Top contributors

hughsk's profile
hughsk
7 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet