I'm trying to understand glVertexAttribPointer
, and I noticed that it accepts many more types than those that have an equivalent in GLSL. So to write down everything I know so far, I made this diagram matching all the types (except for the packed ones, which don't matter, and GL_FIXED
, which I don't understand.
Blue nodes represent the type in GLSL, while yellow nodes represent the symbolic constants passed to glVertexAttribPointer
.
Red nodes represent some kind of conversion between types.
Each yellow node is only directly connected to one blue node, what seems to be its main representation in GLSL, but some can be converted to some other form.
So I guess my question is: Are the relationships in this diagram correct, and how does GL_FIXED
fit into it?