Enum glium::draw_parameters::ProvokingVertex [] [src]

pub enum ProvokingVertex {
    LastVertex,
    FirstVertex,
}

The vertex to use for flat shading.

Variants

LastVertex

Use the last vertex of each primitive.

FirstVertex

Use the first vertex of each primitive.

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

Trait Implementations

Derived Implementations

impl Eq for ProvokingVertex

impl PartialEq for ProvokingVertex

fn eq(&self, __arg_0: &ProvokingVertex) -> bool

fn ne(&self, __arg_0: &ProvokingVertex) -> bool

impl Debug for ProvokingVertex

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for ProvokingVertex

impl Clone for ProvokingVertex

fn clone(&self) -> ProvokingVertex

fn clone_from(&mut self, source: &Self)