Struct quicksilver::graphics::Vertex [−][src]
A vertex for drawing items to the GPU
Fields
pos: Vector
The position of the vertex in space
tex_pos: Option<Vector>
If there is a texture attached to this vertex, where to get the texture data from
It is normalized from 0 to 1
col: Color
The color to blend this vertex with
Trait Implementations
impl Clone for Vertex
[src]
impl Clone for Vertex
fn clone(&self) -> Vertex
[src]
fn clone(&self) -> Vertex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Vertex
[src]
impl Copy for Vertex
impl Debug for Vertex
[src]
impl Debug for Vertex