Function opengl_graphics::shader_utils::uniform_location [−][src]
pub fn uniform_location(program: GLuint, name: &str) -> Result<GLuint, String>
Finds uniform location from a program.
Returns Err
if there is no uniform with such name.