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

pub trait UniformValue: UniformValueTypes { }

Represents a type 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 Mat4[src]

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

Loading content...

Implementors

Loading content...