I'm refactoring the render layer of cocos2d-x, and the new engine will use Metal on iOS
. In the original version, cocos2dx would recreate all buffers and textures when the app was brought to foreground after a long time stayed in the background.
I'm a newbie with Metal, and my question is: Is it necessary to recreate the MTLBuffer, MTLTexture and other Metal resources as GLES?