Function rin::gl::program::uniform [−][src]
pub fn uniform<Str, T, U>(name: Str, value: &T) -> Uniform where
T: AsUniform<U>,
U: ?Sized,
Str: AsRef<str>,
Create a uniform from it’s name and value
pub fn uniform<Str, T, U>(name: Str, value: &T) -> Uniform where
T: AsUniform<U>,
U: ?Sized,
Str: AsRef<str>,
Create a uniform from it’s name and value