Trait luminance::shader::uniform::Uniformable
[−]
[src]
pub trait Uniformable<C>: Sized where C: HasUniform { fn update(u: &Uniform<C, Self>, x: Self); }
Types that can behave as Uniform
.
Required Methods
Implementors
impl<C> Uniformable<C> for i32 where C: HasUniform
impl<C> Uniformable<C> for [i32; 2] where C: HasUniform
impl<C> Uniformable<C> for [i32; 3] where C: HasUniform
impl<C> Uniformable<C> for [i32; 4] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [i32] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[i32; 2]] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[i32; 3]] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[i32; 4]] where C: HasUniform
impl<C> Uniformable<C> for u32 where C: HasUniform
impl<C> Uniformable<C> for [u32; 2] where C: HasUniform
impl<C> Uniformable<C> for [u32; 3] where C: HasUniform
impl<C> Uniformable<C> for [u32; 4] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [u32] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[u32; 2]] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[u32; 3]] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[u32; 4]] where C: HasUniform
impl<C> Uniformable<C> for f32 where C: HasUniform
impl<C> Uniformable<C> for [f32; 2] where C: HasUniform
impl<C> Uniformable<C> for [f32; 3] where C: HasUniform
impl<C> Uniformable<C> for [f32; 4] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [f32] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[f32; 2]] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[f32; 3]] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[f32; 4]] where C: HasUniform
impl<C> Uniformable<C> for M22 where C: HasUniform
impl<C> Uniformable<C> for M33 where C: HasUniform
impl<C> Uniformable<C> for M44 where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [M22] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [M33] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [M44] where C: HasUniform
impl<C> Uniformable<C> for bool where C: HasUniform
impl<C> Uniformable<C> for [bool; 2] where C: HasUniform
impl<C> Uniformable<C> for [bool; 3] where C: HasUniform
impl<C> Uniformable<C> for [bool; 4] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [bool] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[bool; 2]] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[bool; 3]] where C: HasUniform
impl<'a, C> Uniformable<C> for &'a [[bool; 4]] where C: HasUniform
impl<'a, C, L, D, P> Uniformable<C> for &'a Texture<C, L, D, P> where C: HasUniform, L: Layerable, D: Dimensionable, P: Pixel