iPhone 从图片创建Bitmap 图片写入设备源代码

时间:2014-11-01 09:01:32
【文件属性】:

文件名称:iPhone 从图片创建Bitmap 图片写入设备源代码

文件大小:90KB

文件格式:ZIP

更新时间:2014-11-01 09:01:32

iPhone texture image bitmap OpenGL

The GLSprite sample application shows how to create a texture from an image. By looking at the code, you'll learn how to use Core Graphics to create a bitmap context and draw an image into the context. You'll then see how to use OpenGL ES to create a texture from the image data.


【文件预览】:
GLSprite
----GLSprite.xcodeproj()
--------project.pbxproj(15KB)
----Classes()
--------EAGLView.m(11KB)
--------GLSpriteAppDelegate.h(3KB)
--------GLSpriteAppDelegate.m(3KB)
--------EAGLView.h(4KB)
----Info.plist(1KB)
----en.lproj()
--------MainWindow.xib(9KB)
----main.m(3KB)
----ReadMe.txt(3KB)
----GLSprite_Prefix.pch(177B)
----Images()
--------Icon.png(1007B)
--------Icon-Small-50.png(992B)
--------Icon-72.png(1KB)
--------Icon-Small@2x.png(1010B)
--------Icon@2x.png(1KB)
--------iTunesArtwork(5KB)
--------Icon-Small.png(918B)
----Default.png(2KB)
----Sprite.png(62KB)

网友评论