Struct rin_material::ClothMaterialBuilder [−][src]
pub struct ClothMaterialBuilder { /* fields omitted */ }
Builder for ClothMaterial
.
Implementations
impl ClothMaterialBuilder
[src]
impl ClothMaterialBuilder
[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 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 emissive_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
&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 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 ClothMaterialBuilder
[src]
impl ClothMaterialBuilder
[src]pub fn new() -> Self
[src]
pub fn color<C: ToRgba>(&mut self, color: C) -> &mut ClothMaterialBuilder
[src]
pub fn sheen_color<C: ToRgba>(&mut self, color: C) -> &mut ClothMaterialBuilder
[src]
pub fn emissive_color<C: ToRgb>(
&mut self,
color: C
) -> &mut ClothMaterialBuilder
[src]
&mut self,
color: C
) -> &mut ClothMaterialBuilder
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 emissive_map<T: Into<TextureSampler>>(&mut self, texture: T) -> &mut Self
[src]
pub fn build(&mut self) -> ClothMaterial
[src]
Trait Implementations
impl Clone for ClothMaterialBuilder
[src]
impl Clone for ClothMaterialBuilder
[src]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]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<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]