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