Enum nannou::ui::backend::glium::glium::draw_parameters::ProvokingVertex [] [src]

pub enum ProvokingVertex {
    LastVertex,
    FirstVertex,
}

The vertex to use for flat shading.

Variants

Use the last vertex of each primitive.

Use the first vertex of each primitive.

Note that for triangle fans, this is not the first vertex but the second vertex.

Trait Implementations

impl Copy for ProvokingVertex
[src]

impl Clone for ProvokingVertex
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<ProvokingVertex> for ProvokingVertex
[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 Debug for ProvokingVertex
[src]

[src]

Formats the value using the given formatter.

impl Eq for ProvokingVertex
[src]