Struct rin_material::StandardMaterialBuilder [−][src]
pub struct StandardMaterialBuilder { /* fields omitted */ }
Builder for StandardMaterial
.
Implementations
impl StandardMaterialBuilder
[src]
impl StandardMaterialBuilder
[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 metallic_roughness_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn metallic_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn roughness_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 metallic_roughness_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 normal_scale<VALUE: Into<Parameter<f32>>>(
&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 metallic<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn reflectance<VALUE: Into<Parameter<f32>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn reflectance_tint<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 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 StandardMaterialBuilder
[src]
impl StandardMaterialBuilder
[src]pub fn new() -> Self
[src]
pub fn color<C: ToRgba>(&mut self, color: C) -> &mut StandardMaterialBuilder
[src]
pub fn emissive_color<C: ToRgb>(
&mut self,
color: C
) -> &mut StandardMaterialBuilder
[src]
&mut self,
color: C
) -> &mut StandardMaterialBuilder
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 metallic_roughness_map<T: Into<TextureSampler>>(
&mut self,
texture: T
) -> &mut Self
[src]
&mut self,
texture: T
) -> &mut Self
pub fn metallic_map<T: Into<TextureSampler>>(&mut self, texture: T) -> &mut Self
[src]
pub fn roughness_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) -> StandardMaterial
[src]
Trait Implementations
impl Clone for StandardMaterialBuilder
[src]
impl Clone for StandardMaterialBuilder
[src]fn clone(&self) -> StandardMaterialBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for StandardMaterialBuilder
[src]
impl Default for StandardMaterialBuilder
[src]fn default() -> StandardMaterialBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for StandardMaterialBuilder
impl Send for StandardMaterialBuilder
impl Sync for StandardMaterialBuilder
impl Unpin for StandardMaterialBuilder
impl UnwindSafe for StandardMaterialBuilder
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]