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

pub trait UniformValue: UniformValueTypes { }

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 OpenGL layer, it's marked as a sealed trait, and can't be implemented outside of Tetra. This might change in the future!

Implementations on Foreign Types

impl UniformValue for i32[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

Loading content...