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]

[src]

Create a tessellation render that will render the whole input tessellation with only one instance.

[src]

Create a tessellation render for a part of the tessellation starting at the beginning of its buffer with only one instance.

The part is selected by giving the number of vertices to render.

Note: if you also need to use an arbitrary part of your tessellation (not starting at the first vertex in its buffer), have a look at TessRender::one_slice.

Panic

Panic if the number of vertices is higher to the capacity of the tessellation’s vertex buffer.

[src]

Create a tessellation render for a slice of the tessellation starting anywhere in its buffer with only one instance.

The part is selected by giving the start vertex and the number of vertices to render. This

Panic

Panic if the start vertex is higher to the capacity of the tessellation’s vertex buffer.

Panic if the number of vertices is higher to the capacity of the tessellation’s vertex buffer.

[src]

Render a tessellation.

Trait Implementations

impl<'a, V: Clone> Clone for TessRender<'a, V> where
    V: 'a, 
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, V> From<&'a Tess<V>> for TessRender<'a, V>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<'a, V> Send for TessRender<'a, V> where
    V: Sync

impl<'a, V> Sync for TessRender<'a, V> where
    V: Sync