Struct smaragd::Vertex [] [src]

pub struct Vertex {
    pub position: [f32; 3],
    pub barycentric: [f32; 3],
    pub color: [f32; 3],
    pub border: [f32; 3],
}

Fields

Trait Implementations

impl Copy for Vertex
[src]

impl Clone for Vertex
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Vertex for Vertex

Builds the VertexFormat representing the layout of this element.

Returns true if the backend supports this vertex format.