Struct lyon_tessellation::geometry_builder::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>
Constructor
fn with_capacity(
num_vertices: usize,
num_indices: usize
) -> VertexBuffers<VertexType>
num_vertices: usize,
num_indices: usize
) -> VertexBuffers<VertexType>
Constructor