private int fetchAttributeLocation (String name) {
GL20 gl = Gdx.graphics.getGL20();
int location;
if ((location = attributes.get(name, -1)) == -1) {
location = gl.glGetAttribLocation(program, name);
if (location != -1) attributes.put(name, location);
}
return location;
}