Enum luminance::tess::Mode [] [src]

pub enum Mode {
    Point,
    Line,
    LineStrip,
    Triangle,
    TriangleFan,
    TriangleStrip,
}

Vertices can be connected via several modes.

Variants

A single point.

A line, defined by two points.

A strip line, defined by at least two points and zero or many other ones.

A triangle, defined by three points.

A triangle fan, defined by at least three points and zero or many other ones.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mode
[src]

Formats the value using the given formatter.