Type Definition azul_glium::vertex::VertexFormat

source ·
pub type VertexFormat = Cow<'static, [(Cow<'static, str>, usize, AttributeType, bool)]>;
Expand description

Describes the layout of each vertex in a vertex buffer.

The first element is the name of the binding, the second element is the offset from the start of each vertex to this element, the third element is the type and the fourth element indicates whether or not the element should use fixed-point normalization when binding in a VAO.