Optimize structures for OpenGL rendering