synchronize with libgdx SpriteBatch.cpp VertexBufferObject.cpp and ShaderProgram.cpp