Struct mallumo::GuiVertex
[−]
[src]
pub struct GuiVertex { pub color: [f32; 4], pub position: [f32; 2], pub tex_coords: [f32; 2], pub mode: u32, // some fields omitted }
The Vertex
type passed to the vertex shader.
Fields
color: [f32; 4]
position: [f32; 2]
tex_coords: [f32; 2]
mode: u32
Trait Implementations
impl Copy for GuiVertex
[src]
impl Clone for GuiVertex
[src]
fn clone(&self) -> GuiVertex
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more