Struct luminance::tess::TessRender
[−]
[src]
pub struct TessRender<'a, V> where
V: 'a, { /* fields omitted */ }
Tessellation render.
Methods
impl<'a, V> TessRender<'a, V>
[src]
fn one_whole(tess: &'a Tess<V>) -> Self
Create a tessellation render for the whole tessellation once.
fn one_sub(tess: &'a Tess<V>, vert_nb: usize) -> Self
Create a tessellation render for a part of the tessellation once. The part is selected by giving the number of vertices to render. This function can then be used to use the tessellation’s vertex buffer as one see fit.
Panic
Panic if the number of vertices is higher to the capacity of the tessellation’s vertex buffer.
fn render(&self) where
V: Vertex,
V: Vertex,
Trait Implementations
impl<'a, V: Clone> Clone for TessRender<'a, V> where
V: 'a,
[src]
V: 'a,
fn clone(&self) -> TessRender<'a, V>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more