[−][src]Macro glium::implement_uniform_block
Implements the glium::uniforms::UniformBlock
trait for the given type.
The parameters must be the name of the struct and the names of its fields.
Example
#[derive(Copy, Clone)] struct Vertex { value1: [f32; 3], value2: [f32; 2], } implement_uniform_block!(Vertex, value1, value2);