Struct lambda_platform::gfx::assembler::VertexAttribute
source · pub struct VertexAttribute {
pub location: u32,
pub offset: u32,
pub element: VertexElement<ColorFormat>,
}
Expand description
Attributes for a vertex.
Fields§
§location: u32
§offset: u32
§element: VertexElement<ColorFormat>
Trait Implementations§
source§impl Clone for VertexAttribute
impl Clone for VertexAttribute
source§fn clone(&self) -> VertexAttribute
fn clone(&self) -> VertexAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more