gfx-rs/gfx-rs — pull request #179 by kvark (2014-08-05 02:26:51+00:00)
Title: `ProgramShell` typedef for `#[shader_param]`

This introduces a type that implements `ProgramShell` with a name given by the user:
```rust
#[shader_param(MyShell)]
struct MyParam {
...
}
```
This type hides the associated link structure. It is also what `renderer.connect_program` returns, so the user can now safely store this type in an external structure without worrying about the implementation details.

The PR also implements the `#[unused]` attribute (thus, closing #151) to mark the fields that are excluded from parameter linkage. Might be helpful when experimenting with the shader and having already a logic in place to modify these parameters.