Struct rin::blender::scene_data::material::Material[][src]

pub struct Material {
Show fields pub name: String, pub albedo: Rgb<f32, LinearRgb>, pub specular: Rgb<f32, LinearRgb>, pub specular_tint: f32, pub emissive: Rgb<f32, LinearRgb>, pub subsurface: Option<Rgb<f32, LinearRgb>>, pub subsurface_blur: f32, pub subsurface_scale: f32, pub clearcoat_factor: f32, pub clearcoat_roughness: f32, pub alpha: f32, pub metallicness: f32, pub anisotropy: f32, pub anisotropic_rotation: f32, pub roughness: f32, pub normal_scale: f32, pub texture: Option<Image>, pub normal_map: Option<Image>, pub occlusion_map: Option<Image>, pub metallic_roughness_map: Option<Image>, pub metallic_map: Option<Image>, pub roughness_map: Option<Image>, pub emissive_map: Option<Image>, pub anisotropy_map: Option<Image>, pub subsurface_map: Option<Image>, pub texture_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub normal_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub occlusion_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub metallic_roughness_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub metallic_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub roughness_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub emissive_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub anisotropy_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub subsurface_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>, pub doublesided: bool, pub ty: Type, pub custom_properties: Vec<Property, Global>, pub blend_mode: Option<BlendMode>, pub shadow_mode: Option<ShadowMode>,
}

Fields

name: Stringalbedo: Rgb<f32, LinearRgb>specular: Rgb<f32, LinearRgb>specular_tint: f32emissive: Rgb<f32, LinearRgb>subsurface: Option<Rgb<f32, LinearRgb>>subsurface_blur: f32subsurface_scale: f32clearcoat_factor: f32clearcoat_roughness: f32alpha: f32metallicness: f32anisotropy: f32anisotropic_rotation: f32roughness: f32normal_scale: f32texture: Option<Image>normal_map: Option<Image>occlusion_map: Option<Image>metallic_roughness_map: Option<Image>metallic_map: Option<Image>roughness_map: Option<Image>emissive_map: Option<Image>anisotropy_map: Option<Image>subsurface_map: Option<Image>texture_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>normal_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>occlusion_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>metallic_roughness_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>metallic_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>roughness_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>emissive_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>anisotropy_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>subsurface_map_matrix: Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>doublesided: boolty: Typecustom_properties: Vec<Property, Global>blend_mode: Option<BlendMode>shadow_mode: Option<ShadowMode>

Trait Implementations

impl Clone for Material[src]

impl<'de> Deserialize<'de> for Material[src]

impl Serialize for Material[src]

Auto Trait Implementations

impl RefUnwindSafe for Material

impl Send for Material

impl Sync for Material

impl Unpin for Material

impl UnwindSafe for Material

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<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<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<T> Serialize for T where
    T: Serialize + ?Sized
[src]

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]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]