void glVertexAttribPointer( GLuint index,
GLint size,
GLenum type,
GLboolean normalized,
GLsizei stride,
const GLvoid * pointer);

from official site


about first parameter, what are the options for it ? and is it used instead of specifically defining glvertexpointer, gltexcoordpointer, glcolorpointer and glnormalpointer ?

so should I use it instead of them, same performance ?