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