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

[]
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][+]

impl Copy for ProvokingVertex[src]

impl Debug for ProvokingVertex[src][+]

impl Eq for ProvokingVertex[src]

impl PartialEq<ProvokingVertex> for ProvokingVertex[src][+]

impl StructuralEq for ProvokingVertex[src]

impl StructuralPartialEq for ProvokingVertex[src]

Auto Trait Implementations

impl RefUnwindSafe for ProvokingVertex

impl Send for ProvokingVertex

impl Sync for ProvokingVertex

impl Unpin for ProvokingVertex

impl UnwindSafe for ProvokingVertex

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> Content for T where
    T: Copy
[src][+]

type Owned = T

A type that holds a sized version of the content.

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.