Enum luminance::tess::TessVertices [] [src]

pub enum TessVertices<'a, T> where T: 'a + Vertex {
    Fill(&'a [T]),
    Reserve(usize),
}

Accepted vertices for building tessellations.

This type enables you to pass in a slice of vertices or ask for the GPU to only reserve enough space for the number of vertices, leaving the allocated memory uninitialized.

Variants

Pass in a slice of vertices.

Reserve a certain number of vertices.

Trait Implementations

impl<'a, T> From<&'a [T]> for TessVertices<'a, T> where T: 'a + Vertex
[src]

Performs the conversion.