pub trait ShaderUniform {
    unsafe fn set_self_for_shader(&self, name: &str) -> Result<(), ()>;
}
Expand description

Trait implemented by types that can be used to set uniforms in shaders.

Required Methods

Implementations on Foreign Types

Implementors