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