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