Struct rin::material::SubsurfaceMaterialBuilder [−][src]
pub struct SubsurfaceMaterialBuilder { /* fields omitted */ }
Builder for SubsurfaceMaterial
.
Implementations
impl SubsurfaceMaterialBuilder
[src]
impl SubsurfaceMaterialBuilder
[src]pub fn new() -> SubsurfaceMaterialBuilder
[src]
pub fn color<C>(&mut self, color: C) -> &mut SubsurfaceMaterialBuilder where
C: ToRgba,
[src]
C: ToRgba,
pub fn subsurface_color<C>(
&mut self,
color: C
) -> &mut SubsurfaceMaterialBuilder where
C: ToRgba,
[src]
&mut self,
color: C
) -> &mut SubsurfaceMaterialBuilder where
C: ToRgba,
pub fn emissive_color<C>(&mut self, color: C) -> &mut SubsurfaceMaterialBuilder where
C: ToRgb,
[src]
C: ToRgb,
pub fn base_color_map<T>(
&mut self,
texture: T
) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
&mut self,
texture: T
) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
pub fn normal_map<T>(&mut self, texture: T) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
T: Into<TextureSampler>,
pub fn occlusion_map<T>(&mut self, texture: T) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
T: Into<TextureSampler>,
pub fn metallic_roughness_map<T>(
&mut self,
texture: T
) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
&mut self,
texture: T
) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
pub fn metallic_map<T>(&mut self, texture: T) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
T: Into<TextureSampler>,
pub fn roughness_map<T>(&mut self, texture: T) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
T: Into<TextureSampler>,
pub fn emissive_map<T>(&mut self, texture: T) -> &mut SubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
T: Into<TextureSampler>,
pub fn build(&mut self) -> SubsurfaceMaterial
[src]
impl SubsurfaceMaterialBuilder
[src]
impl SubsurfaceMaterialBuilder
[src]pub fn base_color_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn normal_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn occlusion_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn metallic_roughness_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn metallic_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn roughness_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn emissive_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn base_color_matrix<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
pub fn normal_map_matrix<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
pub fn occlusion_map_matrix<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
pub fn metallic_roughness_map_matrix<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
pub fn emissive_map_matrix<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
pub fn subsurface_power<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn thickness<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn roughness<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn metallic<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn reflectance<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn reflectance_tint<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn double_sided<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
pub fn normal_scale<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn alpha_type<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<AlphaType>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<AlphaType>>,
pub fn shader_precision<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<ShaderPrecision>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<ShaderPrecision>>,
pub fn override_translucent<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<bool>>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<bool>>>,
pub fn debug_texcoords<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
pub fn debug_normals<VALUE>(
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut SubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
Trait Implementations
impl Clone for SubsurfaceMaterialBuilder
[src]
impl Clone for SubsurfaceMaterialBuilder
[src]pub 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]pub fn default() -> 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> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[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]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]