[][src]Struct mutiny::material::StandardMaterial

pub struct StandardMaterial {
    pub texture: Option<TextureSampler>,
    pub normal_map: Option<TextureSampler>,
    pub occlusion_map: Option<TextureSampler>,
    pub metallic_roughness_map: Option<TextureSampler>,
    pub emissive_map: Option<TextureSampler>,
    pub texture_matrix: Option<Mat4>,
    pub normal_map_matrix: Option<Mat4>,
    pub occlusion_map_matrix: Option<Mat4>,
    pub metallic_roughness_map_matrix: Option<Mat4>,
    pub emissive_map_matrix: Option<Mat4>,
    pub base_color: Rgba<f32>,
    pub emissive_color: Rgba<f32>,
    pub roughness: f32,
    pub metallic: f32,
    pub reflectance: f32,
    pub reflectance_tint: f32,
    pub double_sided: bool,
    pub normal_scale: f32,
    pub alpha_type: AlphaType,
    // some fields omitted
}

Fields

hidden

hidden

Trait Implementations

impl PbrMaterial for StandardMaterial
[src]

impl PbrMaterial for StandardMaterial
[src]

impl Material for StandardMaterial
[src]

impl Debug for StandardMaterial
[src]

Auto Trait Implementations

impl Send for StandardMaterial

impl !Sync for StandardMaterial

Blanket Implementations

impl<M> Material for M where
    M: PbrMaterial
[src]

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

impl<T> From for T
[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> Any for T where
    T: 'static + ?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> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<B, P> IntoControlBuilder for P where
    B: BuilderFromProperty<P>, 
[src]

impl<T, U> IntoDuration for T where
    U: FromDuration<T>, 
[src]