bjz/gfx-rs — pull request #37 by kvark (2014-06-30 02:56:47+00:00)
Title: Mesh-Program attribute matching on bind

This PR implements actual shader-mesh binding by matching names. This can be cached (as the next step) with a simple `HashMap` that holds the sequence of attribute indices, but I'd rather have all other matching functionality done first (shader parameters is the major one, and there is also a need to match shader outputs).

I had to put a simple handle management in place, to be replaced by a proper one with #22.