Fix CubeMesh handling.

Add VertexAttribIPointer, interface out the VertexAttribPointer as there is more than 1 possibility.

Signed-off-by: Nick Minkler <sleaker@gmail.com>