Trait gfx::shade::ToUniform
[−]
[src]
pub trait ToUniform: Copy { fn convert(self) -> UniformValue; }
Required Methods
fn convert(self) -> UniformValue
Implementors
impl ToUniform for i32
impl ToUniform for f32
impl ToUniform for [i32; 2]
impl ToUniform for [i32; 3]
impl ToUniform for [i32; 4]
impl ToUniform for [f32; 2]
impl ToUniform for [f32; 3]
impl ToUniform for [f32; 4]
impl ToUniform for [[f32; 2]; 2]
impl ToUniform for [[f32; 3]; 3]
impl ToUniform for [[f32; 4]; 4]