Struct quicksilver::graphics::Vertex[][src]

pub struct Vertex {
    pub pos: Vector,
    pub tex_pos: Option<Vector>,
    pub col: Color,
}

A vertex for drawing items to the GPU

Fields

The position of the vertex in space

If there is a texture attached to this vertex, where to get the texture data from

It is normalized from 0 to 1

The color to blend this vertex with

Trait Implementations

impl Clone for Vertex
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Vertex
[src]

impl Debug for Vertex
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Vertex

impl Sync for Vertex