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