Struct glium_shapes::vertex::Vertex [] [src]

pub struct Vertex {
    pub position: [f32; 3],
    pub normal: [f32; 3],
    pub texcoord: [f32; 2],
}

The vertex structure shared across all shapes.

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 Debug for Vertex
[src]

Formats the value using the given formatter.

impl Vertex for Vertex

Builds the VertexFormat representing the layout of this element.

Returns true if the backend supports this vertex format.