OpenGL ES recommended way of displaying a background image
问题 Whats the recommended way of displaying a background image in an OpenGL ES app. UIImage added to view hierarchy underneath glview? image drawn in OpenGL draw routine from texture in memory? Are there any performance / memory considerations to take account of? 回答1: I like to load a texture using Apple's Texture2D class. Create a quad (two triangles, six vertices) that maps to the corners of the screen. Then you map the texture coordinates to the vertices, pass that to glDrawArrays and go. I