code: public int getAttribLocation (String name) {
      int loc = gl.glGetAttribLocation(id, name);
      assert loc >= 0 : "Failed to get " + name + " uniform";
      return loc;
    }
docs: Returns the attribute location with the specified {@code name}.