Struct smaragd::Vertex
[−]
[src]
pub struct Vertex { pub position: [f32; 3], pub barycentric: [f32; 3], pub color: [f32; 3], pub border: [f32; 3], }
Fields
position: [f32; 3]
barycentric: [f32; 3]
color: [f32; 3]
border: [f32; 3]
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 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,
C: CapabilitiesSource + ?Sized,
Returns true if the backend supports this vertex format.