[][src]Enum three::Material

pub enum Material {
    Basic(Basic),
    CustomBasic(Custom),
    Line(Line),
    Lambert(Lambert),
    Phong(Phong),
    Pbr(Pbr),
    Sprite(Sprite),
    Wireframe(Wireframe),
}

Specifies the appearance of a Mesh.

Variants

Renders triangle meshes with a solid color or texture.

Renders triangle meshes with a custom pipeline with a basic material as its input.

Renders line strip meshes with a solid color and unit width.

Renders triangle meshes with the Gouraud illumination model.

Renders triangle meshes with the Phong illumination model.

Renders triangle meshes with a PBR (physically-based rendering) illumination model

Renders Sprite objects with the given texture.

Renders the edges of a triangle mesh with a solid color.

Trait Implementations

impl PartialEq<Material> for Material
[src]

impl From<Basic> for Material
[src]

impl From<Custom> for Material
[src]

impl From<Lambert> for Material
[src]

impl From<Line> for Material
[src]

impl From<Phong> for Material
[src]

impl From<Pbr> for Material
[src]

impl From<Sprite> for Material
[src]

impl From<Wireframe> for Material
[src]

impl Clone for Material
[src]

Performs copy-assignment from source. Read more

impl Eq for Material
[src]

impl Debug for Material
[src]

impl Hash for Material
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Material

impl Sync for Material

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> SetParameter for T

Sets value as a parameter of self.

impl<T> Erased for T