Struct lyon::tessellation::VertexBuffers
[−]
[src]
pub struct VertexBuffers<VertexType> { pub vertices: Vec<VertexType>, pub indices: Vec<u16>, }
Structure that holds the vertex and index data.
Usually writen into though temporary BuffersBuilder
objects.
Fields
vertices: Vec<VertexType>
indices: Vec<u16>
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 for VertexBuffers<VertexType> where
VertexType: Clone,
[src]
VertexType: Clone,
fn clone(&self) -> VertexBuffers<VertexType>
[src]
impl<VertexType> Debug for VertexBuffers<VertexType> where
VertexType: Debug,
[src]
VertexType: Debug,