Struct rin::material::ClothSubsurfaceMaterialBuilder [−][src]
pub struct ClothSubsurfaceMaterialBuilder { /* fields omitted */ }
Builder for ClothSubsurfaceMaterial
.
Implementations
impl ClothSubsurfaceMaterialBuilder
[src]
impl ClothSubsurfaceMaterialBuilder
[src]pub fn new() -> ClothSubsurfaceMaterialBuilder
[src]
pub fn color<C>(&mut self, color: C) -> &mut ClothSubsurfaceMaterialBuilder where
C: ToRgba,
[src]
C: ToRgba,
pub fn sheen_color<C>(
&mut self,
color: C
) -> &mut ClothSubsurfaceMaterialBuilder where
C: ToRgba,
[src]
&mut self,
color: C
) -> &mut ClothSubsurfaceMaterialBuilder where
C: ToRgba,
pub fn subsurface_color<C>(
&mut self,
color: C
) -> &mut ClothSubsurfaceMaterialBuilder where
C: ToRgba,
[src]
&mut self,
color: C
) -> &mut ClothSubsurfaceMaterialBuilder where
C: ToRgba,
pub fn emissive_color<C>(
&mut self,
color: C
) -> &mut ClothSubsurfaceMaterialBuilder where
C: ToRgb,
[src]
&mut self,
color: C
) -> &mut ClothSubsurfaceMaterialBuilder where
C: ToRgb,
pub fn base_color_map<T>(
&mut self,
texture: T
) -> &mut ClothSubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
&mut self,
texture: T
) -> &mut ClothSubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
pub fn normal_map<T>(
&mut self,
texture: T
) -> &mut ClothSubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
&mut self,
texture: T
) -> &mut ClothSubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
pub fn occlusion_map<T>(
&mut self,
texture: T
) -> &mut ClothSubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
&mut self,
texture: T
) -> &mut ClothSubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
pub fn emissive_map<T>(
&mut self,
texture: T
) -> &mut ClothSubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
[src]
&mut self,
texture: T
) -> &mut ClothSubsurfaceMaterialBuilder where
T: Into<TextureSampler>,
pub fn build(&mut self) -> ClothSubsurfaceMaterial
[src]
impl ClothSubsurfaceMaterialBuilder
[src]
impl ClothSubsurfaceMaterialBuilder
[src]pub fn base_color_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn normal_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn occlusion_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn emissive_map_opt<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<TextureSampler>>>,
pub fn base_color_matrix<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder 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 ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder 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 ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder 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 ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>>>,
pub fn roughness<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn double_sided<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
pub fn normal_scale<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<f32>>,
pub fn alpha_type<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<AlphaType>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<AlphaType>>,
pub fn shader_precision<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<ShaderPrecision>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<ShaderPrecision>>,
pub fn override_translucent<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<bool>>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<Option<bool>>>,
pub fn debug_texcoords<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
pub fn debug_normals<VALUE>(
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut ClothSubsurfaceMaterialBuilder where
VALUE: Into<Parameter<bool>>,
Trait Implementations
impl Clone for ClothSubsurfaceMaterialBuilder
[src]
impl Clone for ClothSubsurfaceMaterialBuilder
[src]pub fn clone(&self) -> ClothSubsurfaceMaterialBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ClothSubsurfaceMaterialBuilder
[src]
impl Default for ClothSubsurfaceMaterialBuilder
[src]pub fn default() -> ClothSubsurfaceMaterialBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClothSubsurfaceMaterialBuilder
impl Send for ClothSubsurfaceMaterialBuilder
impl Sync for ClothSubsurfaceMaterialBuilder
impl Unpin for ClothSubsurfaceMaterialBuilder
impl UnwindSafe for ClothSubsurfaceMaterialBuilder
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]