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
impl Clone for ProvokingVertex
[src]
fn clone(&self) -> ProvokingVertex
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ProvokingVertex
[src]
impl Debug for ProvokingVertex
[src]
impl PartialEq for ProvokingVertex
[src]
fn eq(&self, __arg_0: &ProvokingVertex) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.