Struct lyon_tessellation::VertexBuffers
[−]
[src]
pub struct VertexBuffers<VertexType> { pub vertices: Vec<VertexType>, pub indices: Vec<Index>, }
Structure that holds the vertex and index data.
Usually writen into though temporary BuffersBuilder
objects.
Fields
vertices: Vec<VertexType>
indices: Vec<Index>
Methods
impl<VertexType> VertexBuffers<VertexType>
[src]
fn new() -> VertexBuffers<VertexType>
[src]
Constructor
fn with_capacity(
num_vertices: usize,
num_indices: usize
) -> VertexBuffers<VertexType>
[src]
num_vertices: usize,
num_indices: usize
) -> VertexBuffers<VertexType>
Constructor
Trait Implementations
impl<VertexType: Clone> Clone for VertexBuffers<VertexType>
[src]
fn clone(&self) -> VertexBuffers<VertexType>
[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