pub fn attribute_location(program: GLuint, name: &str) -> Result<GLuint, String>
Expand description

Finds attribute location from a program.

Returns Err if there is no attribute with such name.