[][src]Enum duku::Mips

pub enum Mips {
    Log2,
    Zero,
}

Texture mipmapping mode.

Generates extra smaller textures that are used when objects are rendered further away.

Rendering with mips is faster to sample, but they require more memory.

Variants

Log2

generates as many mips as possible

Zero

generates no mips

Trait Implementations

impl Clone for Mips[src]

impl Copy for Mips[src]

impl Debug for Mips[src]

impl Eq for Mips[src]

impl PartialEq<Mips> for Mips[src]

impl StructuralEq for Mips[src]

impl StructuralPartialEq for Mips[src]

Auto Trait Implementations

impl RefUnwindSafe for Mips

impl Send for Mips

impl Sync for Mips

impl Unpin for Mips

impl UnwindSafe for Mips

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> 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.