Enum luminance::tess::Mode
[−]
[src]
pub enum Mode { Point, Line, LineStrip, Triangle, TriangleFan, TriangleStrip, }
Vertices can be connected via several modes.
Variants
Point
A single point.
Line
A line, defined by two points.
LineStrip
A strip line, defined by at least two points and zero or many other ones.
Triangle
A triangle, defined by three points.
TriangleFan
A triangle fan, defined by at least three points and zero or many other ones.
TriangleStrip
A triangle strip, defined by at least three points and zero or many other ones.
Trait Implementations
impl Copy for Mode
[src]
impl Clone for Mode
[src]
fn clone(&self) -> Mode
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