I know we can pass vertex attributes like positions by vertex attribute pointer. But recently I come across opengl superbible 7 Ed.