Struct ggez::graphics::Vertex []

pub struct Vertex {
    pub pos: [f32; 2],
    pub uv: [f32; 2],
}

Internal structure containing vertex data.

Fields

Trait Implementations

impl Clone for Vertex

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Vertex

impl Debug for Vertex

Formats the value using the given formatter.

impl Pod for Vertex

impl Structure<Format> for Vertex

Get the layout of an element by name.