gfx_app 0.9.0

GFX example application framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate gfx;
#[macro_use] extern crate gfx_macros;

#[derive(VertexData)]
struct Vertex {
    pos: [u8; 4],
}

#[derive(ConstantBuffer)]
struct Constant {
    transform: [[f32; 4]; 4],
}