gfx-rs/gfx-rs — pull request #224 by KokaKiwi (2014-08-16 15:48:46+00:00)
Title: Add variable name customizing ability.

This PR add the ability to customize the variable name used in shader, while using a "rustier" name in the associated Rust struct.

You can choose the shader var name by adding the `#[name = "..."]` attribute to struct field, the same way you can add `#[as_float]` attribute.