Struct rin_material::LambertMaterialBuilder[][src]

pub struct LambertMaterialBuilder { /* fields omitted */ }

Builder for LambertMaterial.

Implementations

impl LambertMaterialBuilder[src]

pub fn base_color_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn normal_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn occlusion_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn roughness_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn emissive_map_opt<VALUE: Into<Parameter<Option<TextureSampler>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn base_color_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn normal_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn occlusion_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn metallic_roughness_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn emissive_map_matrix<VALUE: Into<Parameter<Option<Mat4>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn roughness<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn double_sided<VALUE: Into<Parameter<bool>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn normal_scale<VALUE: Into<Parameter<f32>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn alpha_type<VALUE: Into<Parameter<AlphaType>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn shader_precision<VALUE: Into<Parameter<ShaderPrecision>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn override_translucent<VALUE: Into<Parameter<Option<bool>>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn debug_texcoords<VALUE: Into<Parameter<bool>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

pub fn debug_normals<VALUE: Into<Parameter<bool>>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

impl LambertMaterialBuilder[src]

pub fn new() -> Self[src]

pub fn color<C: ToRgba>(&mut self, color: C) -> &mut LambertMaterialBuilder[src]

pub fn emissive_color<C: ToRgb>(
    &mut self,
    color: C
) -> &mut LambertMaterialBuilder
[src]

pub fn base_color_map<T: Into<TextureSampler>>(
    &mut self,
    texture: T
) -> &mut Self
[src]

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]

pub fn roughness_map<T: Into<TextureSampler>>(
    &mut self,
    texture: T
) -> &mut Self
[src]

pub fn emissive_map<T: Into<TextureSampler>>(&mut self, texture: T) -> &mut Self[src]

pub fn build(&mut self) -> LambertMaterial[src]

Trait Implementations

impl Clone for LambertMaterialBuilder[src]

impl Default for LambertMaterialBuilder[src]

Auto Trait Implementations

impl RefUnwindSafe for LambertMaterialBuilder

impl Send for LambertMaterialBuilder

impl Sync for LambertMaterialBuilder

impl Unpin for LambertMaterialBuilder

impl UnwindSafe for LambertMaterialBuilder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]