PrimaryFeather/Starling-Framework — pull request #217 by alexmac (2012-11-26 01:57:04+00:00)
Title: Allow filter subclasses to override the default location of shader attributes

This makes it easier to hook up filters to shaders that have come from places that don't have good control over what location they expect shader attributes/constants to be stored in. For me this made it easier to hook up the backend of glsl2agal(https://github.com/adobe/glsl2agal) to a starling filter:

Here is the example usecase:

https://github.com/alexmac/StarlingFilterPlayground/blob/master/src/starling/filters/GLSLFilter.as

And in action:

http://alexmac.github.com/StarlingFilterPlayground