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: Debug> Debug for TessVertices<'a, T> where
    T: 'a + Vertex
[src]

[src]

Formats the value using the given formatter. Read more

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

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

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

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

[src]

Performs the conversion.

Auto Trait Implementations

impl<'a, T> Send for TessVertices<'a, T> where
    T: Sync

impl<'a, T> Sync for TessVertices<'a, T> where
    T: Sync