Trait gfx::shade::ToUniform[][src]

pub trait ToUniform: Copy {
    fn convert(self) -> UniformValue;
}

Required methods

fn convert(self) -> UniformValue[src]

Loading content...

Implementations on Foreign Types

impl ToUniform for i32[src]

impl ToUniform for u32[src]

impl ToUniform for f32[src]

impl ToUniform for [i32; 2][src]

impl ToUniform for [i32; 3][src]

impl ToUniform for [i32; 4][src]

impl ToUniform for [u32; 2][src]

impl ToUniform for [u32; 3][src]

impl ToUniform for [u32; 4][src]

impl ToUniform for [f32; 2][src]

impl ToUniform for [f32; 3][src]

impl ToUniform for [f32; 4][src]

impl ToUniform for [[f32; 2]; 2][src]

impl ToUniform for [[f32; 3]; 3][src]

impl ToUniform for [[f32; 4]; 4][src]

Loading content...

Implementors

Loading content...