Struct rin::scene::water::WaterMaterial[][src]

pub struct WaterMaterial {
    pub parameters: Parameters,
    pub msaa_samples: Parameter<u32>,
    pub dudv_map: Parameter<TextureSampler>,
    pub normal_map: Parameter<TextureSampler>,
    // some fields omitted
}

Fields

parameters: Parametersmsaa_samples: Parameter<u32>dudv_map: Parameter<TextureSampler>normal_map: Parameter<TextureSampler>

Implementations

impl WaterMaterial[src]

pub fn parameters_mut(&mut self) -> &mut Parameters[src]

pub fn parameters_changed(&self) -> bool[src]

pub fn lighting_parameters_changed(&self) -> bool[src]

pub fn shader_precision_changed(&self) -> bool[src]

pub fn buffers_changed(&self) -> bool[src]

pub fn entity(&self) -> Entity[src]

pub fn priority(&self) -> Option<i32>[src]

Trait Implementations

impl Material for WaterMaterial[src]

impl Material for WaterMaterial[src]

impl MaterialParameterTypes for WaterMaterial[src]

impl WriteStd140 for WaterMaterial[src]

Auto Trait Implementations

impl !RefUnwindSafe for WaterMaterial

impl !Send for WaterMaterial

impl !Sync for WaterMaterial

impl Unpin for WaterMaterial

impl !UnwindSafe for WaterMaterial

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> 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, 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]