Struct luminance::tessellation::Tessellation [] [src]

pub struct Tessellation<C> where C: HasTessellation {
    pub repr: C::Tessellation,
}

GPU Tessellation.

Fields

Methods

impl<C> Tessellation<C> where C: HasTessellation
[src]

Create a new tessellation.

The mode argument gives the type of the primitives and how to interpret the vertices and indices slices. If indices is set to None, the tessellation will use the vertices as-is.

Trait Implementations

impl<C: Debug> Debug for Tessellation<C> where C: HasTessellation, C::Tessellation: Debug
[src]

Formats the value using the given formatter.

impl<C> Drop for Tessellation<C> where C: HasTessellation
[src]

A method called when the value goes out of scope. Read more