[][src]Function opengl_graphics::shader_utils::uniform_location

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.