Struct rin::material::BasicMaterial[][src]

pub struct BasicMaterial {
    pub base_color: Parameter<Option<AlphaColor<f32, Rgb<f32, Srgb>>>>,
    pub texture: Parameter<Option<TextureSampler>>,
    pub properties: Parameter<Vec<Property, Global>>,
    pub alpha_type: Parameter<AlphaType>,
    pub debug_texcoords: Parameter<bool>,
    pub debug_normals: Parameter<bool>,
    pub output_linear_colors: Parameter<bool>,
}

Fields

base_color: Parameter<Option<AlphaColor<f32, Rgb<f32, Srgb>>>>texture: Parameter<Option<TextureSampler>>properties: Parameter<Vec<Property, Global>>alpha_type: Parameter<AlphaType>debug_texcoords: Parameter<bool>debug_normals: Parameter<bool>output_linear_colors: Parameter<bool>

Implementations

impl BasicMaterial[src]

Trait Implementations

impl Clone for BasicMaterial[src]

impl Debug for BasicMaterial[src]

impl Default for BasicMaterial[src]

impl Material for BasicMaterial[src]

impl Material for BasicMaterial[src]

impl MaterialParameterTypes for BasicMaterial[src]

impl WriteStd140 for BasicMaterial[src]

Auto Trait Implementations

impl RefUnwindSafe for BasicMaterial

impl Send for BasicMaterial

impl Sync for BasicMaterial

impl Unpin for BasicMaterial

impl UnwindSafe for BasicMaterial

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

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

impl<M> FullMaterial for M where
    M: 'static + Material
[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]