GLTextureAtlas
| Last Revision: | Version 1.5, 2010-06-25 Changed deployment target back to iPhone OS 3.2 and added CFBundleIconFiles in Info.plist. (Full Revision History) |
| Build Requirements: | iOS 4.0 SDK |
| Runtime Requirements: | iPhone OS 3.2 or later |
This sample demonstrates how to use a texture atlas to draw multiple objects with different textures simultaneously using OpenGL ES. The application uses a texture atlas in the PVR format. By adding in degenerated triangles, and compute 3D transformations ourselves using matrices, we are able to collapse all the draw calls into one.
© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-06-25)