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
position: [f32; 3]
normal: [f32; 3]
texcoord: [f32; 2]
Trait Implementations
impl Copy for Vertex
[src]
impl Clone for Vertex
[src]
fn clone(&self) -> Vertex
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Vertex
[src]
impl Vertex for Vertex
fn build_bindings() -> VertexFormat
Builds the VertexFormat
representing the layout of this element.
fn is_supported<C>(caps: &C) -> bool where C: CapabilitiesSource + ?Sized
Returns true if the backend supports this vertex format.