[][src]Enum nannou::draw::renderer::VertexMode

#[repr(u32)]pub enum VertexMode {
    Color,
    Texture,
    Text,
}

A top-level indicator of whether or not

Variants

Color

Use the color values and ignore the texture coordinates.

Texture

Use the texture color and ignore the color values.

Text

A special mode used by the text primitive.

Uses the color values, but multiplies the alpha by the glyph cache texture's red value.

Trait Implementations

impl Clone for VertexMode[src]

impl Copy for VertexMode[src]

impl Debug for VertexMode[src]

impl Eq for VertexMode[src]

impl Hash for VertexMode[src]

impl PartialEq<VertexMode> for VertexMode[src]

impl StructuralEq for VertexMode[src]

impl StructuralPartialEq for VertexMode[src]

impl VertexDescriptor for VertexMode[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

impl<T> NodeId for T where
    T: 'static + Copy + Clone + PartialEq<T> + Eq + Hash + Send
[src]

impl<T> SetParameter for T

impl<T> SetParameter for T

impl<T> Style for T where
    T: Any + Debug + PartialEq<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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,