Struct rin_material::BasicMaterialBuilder [−][src]
pub struct BasicMaterialBuilder { /* fields omitted */ }
Builder for BasicMaterial
.
Implementations
impl BasicMaterialBuilder
[src]
impl BasicMaterialBuilder
[src]pub fn properties<VALUE: Into<Parameter<Vec<Property>>>>(
&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 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
pub fn output_linear_colors<VALUE: Into<Parameter<bool>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
impl BasicMaterialBuilder
[src]
impl BasicMaterialBuilder
[src]pub fn new() -> BasicMaterialBuilder
[src]
pub fn base_color<C: ToRgba>(&mut self, color: &C) -> &mut BasicMaterialBuilder
[src]
pub fn texture<T: Into<TextureSampler>>(
&mut self,
texture: T
) -> &mut BasicMaterialBuilder
[src]
&mut self,
texture: T
) -> &mut BasicMaterialBuilder
pub fn build(&mut self) -> BasicMaterial
[src]
Trait Implementations
impl Clone for BasicMaterialBuilder
[src]
impl Clone for BasicMaterialBuilder
[src]fn clone(&self) -> BasicMaterialBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for BasicMaterialBuilder
[src]
impl Default for BasicMaterialBuilder
[src]fn default() -> BasicMaterialBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for BasicMaterialBuilder
impl Send for BasicMaterialBuilder
impl Sync for BasicMaterialBuilder
impl Unpin for BasicMaterialBuilder
impl UnwindSafe for BasicMaterialBuilder
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]