Updating VertexBuffer to be able to use an internal IndexBuffer for cross platform compatability.