Struct rin_material::SubsurfaceMaterialBuilder[][src]

pub struct SubsurfaceMaterialBuilder { /* fields omitted */ }

Builder for SubsurfaceMaterial.

Implementations

impl SubsurfaceMaterialBuilder[src]

pub fn base_color_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn normal_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn occlusion_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn metallic_roughness_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn metallic_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn roughness_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn emissive_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn base_color_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn normal_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn occlusion_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn metallic_roughness_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn emissive_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn subsurface_power<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn thickness<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn roughness<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn metallic<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn reflectance<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn reflectance_tint<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn double_sided<VALUE: Into<Parameter<bool>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn normal_scale<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn alpha_type<VALUE: Into<Parameter<AlphaType>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn shader_precision<VALUE: Into<Parameter<ShaderPrecision>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn override_translucent<VALUE: Into<Parameter<Option<bool>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn debug_texcoords<VALUE: Into<Parameter<bool>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn debug_normals<VALUE: Into<Parameter<bool>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

impl SubsurfaceMaterialBuilder[src]

pub fn new() -> Self[src]

pub fn color<C: ToRgba>(&mut self, color: C) -> &mut SubsurfaceMaterialBuilder[src]

pub fn subsurface_color<C: ToRgba>(
    &mut self,
    color: C
) -> &mut SubsurfaceMaterialBuilder
[src]

pub fn emissive_color<C: ToRgb>(
    &mut self,
    color: C
) -> &mut SubsurfaceMaterialBuilder
[src]

pub fn base_color_map<T: Into<TextureSampler>>(
    &mut self,
    texture: T
) -> &mut Self
[src]

pub fn normal_map<T: Into<TextureSampler>>(&mut self, texture: T) -> &mut Self[src]

pub fn occlusion_map<T: Into<TextureSampler>>(
    &mut self,
    texture: T
) -> &mut Self
[src]

pub fn metallic_roughness_map<T: Into<TextureSampler>>(
    &mut self,
    texture: T
) -> &mut Self
[src]

pub fn metallic_map<T: Into<TextureSampler>>(&mut self, texture: T) -> &mut Self[src]

pub fn roughness_map<T: Into<TextureSampler>>(
    &mut self,
    texture: T
) -> &mut Self
[src]

pub fn emissive_map<T: Into<TextureSampler>>(&mut self, texture: T) -> &mut Self[src]

pub fn build(&mut self) -> SubsurfaceMaterial[src]

Trait Implementations

impl Clone for SubsurfaceMaterialBuilder[src]

impl Default for SubsurfaceMaterialBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for SubsurfaceMaterialBuilder

impl Send for SubsurfaceMaterialBuilder

impl Sync for SubsurfaceMaterialBuilder

impl Unpin for SubsurfaceMaterialBuilder

impl UnwindSafe for SubsurfaceMaterialBuilder

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