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