Trait solstice::vertex::Vertex

source ·
pub trait Vertex: Pod {
    // Required method
    fn build_bindings() -> &'static [VertexFormat];
}
Expand description

Trait for structures that represent a vertex.

Required Methods§

source

fn build_bindings() -> &'static [VertexFormat]

Builds the VertexFormat representing the layout of this element.

Implementors§