Struct rin_material::SubsurfaceMaterialBuilder [−][src]
pub struct SubsurfaceMaterialBuilder { /* fields omitted */ }
Builder for SubsurfaceMaterial
.
Implementations
impl SubsurfaceMaterialBuilder
[src]
impl SubsurfaceMaterialBuilder
[src]pub fn base_color_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn normal_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn occlusion_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn metallic_roughness_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn metallic_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn roughness_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn emissive_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn base_color_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn normal_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn occlusion_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn metallic_roughness_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn emissive_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn subsurface_power<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn thickness<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn roughness<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn metallic<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn reflectance<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn reflectance_tint<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn double_sided<VALUE: Into<Parameter<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn normal_scale<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn alpha_type<VALUE: Into<Parameter<AlphaType>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn shader_precision<VALUE: Into<Parameter<ShaderPrecision>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn override_translucent<VALUE: Into<Parameter<Option<bool>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn debug_texcoords<VALUE: Into<Parameter<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn debug_normals<VALUE: Into<Parameter<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
impl SubsurfaceMaterialBuilder
[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]
&mut self,
color: C
) -> &mut SubsurfaceMaterialBuilder
pub fn emissive_color<C: ToRgb>(
&mut self,
color: C
) -> &mut SubsurfaceMaterialBuilder
[src]
&mut self,
color: C
) -> &mut SubsurfaceMaterialBuilder
pub fn base_color_map<T: Into<TextureSampler>>(
&mut self,
texture: T
) -> &mut Self
[src]
&mut self,
texture: T
) -> &mut Self
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]
&mut self,
texture: T
) -> &mut Self
pub fn metallic_roughness_map<T: Into<TextureSampler>>(
&mut self,
texture: T
) -> &mut Self
[src]
&mut self,
texture: T
) -> &mut Self
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]
&mut self,
texture: T
) -> &mut Self
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 Clone for SubsurfaceMaterialBuilder
[src]fn clone(&self) -> SubsurfaceMaterialBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default 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<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[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]