Original Post
In GLSL, is it guaranteed that the index location of vertex attributes is a one-to-one matching with the order you declared them in?
for e.g. if I have:
getGetAttribLocation("pos") will always return 0 and glGetAttribLocation("texcoord") will always return 1 ?
for e.g. if I have:
attribute vec3 pos;
attribute vec2 texcoord;
getGetAttribLocation("pos") will always return 0 and glGetAttribLocation("texcoord") will always return 1 ?