Function opengl_graphics::shader_utils::attribute_location[][src]

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

Finds attribute location from a program.

Returns Err if there is no attribute with such name.