VERTEX

Constant VERTEX 

Source
pub const VERTEX: &'static str;
Expand description

simple vertex shader. uniform requires model: Mat4, perspective: Mat4 (use Mat4::view_matrix_3d() for 3d or Mat4::view_matrix_2d() for 2d/orthographic) and camera: Mat4 (inverse camera matrix. use Mat4::from_inverse_transform() or call .inverse() before feeding the matrix into to the shader)

If you are new to shaders or how things render I highly recomend you check out the glium tutorial book (https://github.com/glium/glium/tree/master/book) it is where this shader is from after all

WARNING! if ALL vertex bindings aren’t bound in the draw call your program will PANIC on most computers, HOWEVER, some don’t panic, which may lead you to FALSELY believe you program will run else where