[][src]Trait tetra::graphics::UniformValue

pub trait UniformValue { }

Implemented for types that can be passed as a uniform value to a shader.

As the implementation of this trait currently interacts directly with the platform layer, it cannot be implemented outside of Tetra itself. This may change in the future!

Implementations on Foreign Types

impl UniformValue for i32[src]

impl UniformValue for u32[src]

impl UniformValue for f32[src]

impl UniformValue for Vec2<f32>[src]

impl UniformValue for Vec3<f32>[src]

impl UniformValue for Vec4<f32>[src]

impl UniformValue for Mat2<f32>[src]

impl UniformValue for Mat3<f32>[src]

impl UniformValue for Mat4<f32>[src]

impl<'a, T> UniformValue for &'a T where
    T: UniformValue
[src]

Loading content...

Implementors

impl UniformValue for Color[src]

impl UniformValue for Texture[src]

Loading content...