Struct rin::material::StandardMaterial[][src]

pub struct StandardMaterial {
Show fields pub base_color_map: Parameter<Option<TextureSampler>>, pub normal_map: Parameter<Option<TextureSampler>>, pub occlusion_map: Parameter<Option<TextureSampler>>, pub metallic_roughness_map: Parameter<Option<TextureSampler>>, pub metallic_map: Parameter<Option<TextureSampler>>, pub roughness_map: Parameter<Option<TextureSampler>>, pub emissive_map: Parameter<Option<TextureSampler>>, pub base_color: Parameter<AlphaColor<f32, Rgb<f32, LinearRgb>>>, pub emissive_color: Parameter<Rgb<f32, LinearRgb>>, pub normal_scale: Parameter<f32>, pub roughness: Parameter<f32>, pub metallic: Parameter<f32>, pub reflectance: Parameter<f32>, pub reflectance_tint: Parameter<f32>, pub double_sided: Parameter<bool>, pub alpha_type: Parameter<AlphaType>, pub shader_precision: Parameter<ShaderPrecision>, pub override_translucent: Parameter<Option<bool>>, pub debug_texcoords: Parameter<bool>, pub debug_normals: Parameter<bool>, // some fields omitted
}

Fields

base_color_map: Parameter<Option<TextureSampler>>normal_map: Parameter<Option<TextureSampler>>occlusion_map: Parameter<Option<TextureSampler>>metallic_roughness_map: Parameter<Option<TextureSampler>>metallic_map: Parameter<Option<TextureSampler>>roughness_map: Parameter<Option<TextureSampler>>emissive_map: Parameter<Option<TextureSampler>>base_color: Parameter<AlphaColor<f32, Rgb<f32, LinearRgb>>>emissive_color: Parameter<Rgb<f32, LinearRgb>>normal_scale: Parameter<f32>roughness: Parameter<f32>metallic: Parameter<f32>reflectance: Parameter<f32>reflectance_tint: Parameter<f32>double_sided: Parameter<bool>alpha_type: Parameter<AlphaType>shader_precision: Parameter<ShaderPrecision>override_translucent: Parameter<Option<bool>>debug_texcoords: Parameter<bool>debug_normals: Parameter<bool>

Implementations

impl StandardMaterial[src]

Trait Implementations

impl Clone for StandardMaterial[src]

impl Debug for StandardMaterial[src]

impl Default for StandardMaterial[src]

impl Material for StandardMaterial[src]

impl MaterialParameterTypes for StandardMaterial[src]

impl PbrMaterial for StandardMaterial[src]

impl WriteStd140 for StandardMaterial[src]

Auto Trait Implementations

impl RefUnwindSafe for StandardMaterial

impl Send for StandardMaterial

impl Sync for StandardMaterial

impl Unpin for StandardMaterial

impl UnwindSafe for StandardMaterial

Blanket Implementations

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

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

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

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

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

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

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

impl<M> FullMaterial for M where
    M: 'static + Material
[src]

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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>, 
[src]