type.clear();
String name = GL20.glGetActiveAttrib(programHandle, i, 100, type);
int location = GL20.glGetAttribLocation(programHandle, name);
int typeValue = type.get(NO_SHADER);
ShaderAttribute attribute = new LWJGLShaderAttribute();
attribute.name = name;
attribute.location = location;
attribute.type = typeValue;
attributes[i] = attribute;