Function opengl_graphics::shader_utils::attribute_location
[−]
[src]
pub fn attribute_location(program: GLuint, name: &str) -> Result<GLuint, String>
Creates a vertex buffer for an attribute from a program.
Returns None
if there is no attribute with such name.