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 Clone for Mode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Mode
[src]

impl Debug for Mode
[src]

[src]

Formats the value using the given formatter.

impl PartialEq<Mode> for Mode
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Default for Mode
[src]

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

[src]