Enum gltf::mesh::Mode [] [src]

pub enum Mode {
    Points,
    Lines,
    LineLoop,
    LineStrip,
    Triangles,
    TriangleStrip,
    TriangleFan,
}

The type of primitives to render.

Variants

Corresponds to GL_POINTS.

Corresponds to GL_LINES.

Corresponds to GL_LINE_LOOP.

Corresponds to GL_LINE_STRIP.

Corresponds to GL_TRIANGLES.

Corresponds to GL_TRIANGLE_STRIP.

Corresponds to GL_TRIANGLE_FAN.

Trait Implementations

impl Default for Mode
[src]

impl Copy for Mode
[src]

impl<'de> Deserialize<'de> for Mode
[src]

impl PartialEq<Mode> for Mode
[src]

impl Debug for Mode
[src]

Formats the value using the given formatter.

impl Clone for Mode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more