Struct rin::material::BasicMaterialBuilder [−][src]
pub struct BasicMaterialBuilder { /* fields omitted */ }
Builder for BasicMaterial
.
Implementations
impl BasicMaterialBuilder
[src]
impl BasicMaterialBuilder
[src]pub fn new() -> BasicMaterialBuilder
[src]
pub fn base_color<C>(&mut self, color: &C) -> &mut BasicMaterialBuilder where
C: ToRgba,
[src]
C: ToRgba,
pub fn texture<T>(&mut self, texture: T) -> &mut BasicMaterialBuilder where
T: Into<TextureSampler>,
[src]
T: Into<TextureSampler>,
pub fn build(&mut self) -> BasicMaterial
[src]
impl BasicMaterialBuilder
[src]
impl BasicMaterialBuilder
[src]pub fn properties<VALUE>(&mut self, value: VALUE) -> &mut BasicMaterialBuilder where
VALUE: Into<Parameter<Vec<Property, Global>>>,
[src]
VALUE: Into<Parameter<Vec<Property, Global>>>,
pub fn alpha_type<VALUE>(&mut self, value: VALUE) -> &mut BasicMaterialBuilder where
VALUE: Into<Parameter<AlphaType>>,
[src]
VALUE: Into<Parameter<AlphaType>>,
pub fn debug_texcoords<VALUE>(
&mut self,
value: VALUE
) -> &mut BasicMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut BasicMaterialBuilder where
VALUE: Into<Parameter<bool>>,
pub fn debug_normals<VALUE>(
&mut self,
value: VALUE
) -> &mut BasicMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut BasicMaterialBuilder where
VALUE: Into<Parameter<bool>>,
pub fn output_linear_colors<VALUE>(
&mut self,
value: VALUE
) -> &mut BasicMaterialBuilder where
VALUE: Into<Parameter<bool>>,
[src]
&mut self,
value: VALUE
) -> &mut BasicMaterialBuilder where
VALUE: Into<Parameter<bool>>,
Trait Implementations
impl Clone for BasicMaterialBuilder
[src]
impl Clone for BasicMaterialBuilder
[src]pub 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]pub 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<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]