在iPhone上最快的图形绘制方法 [英] Fastest image drawing method on iPhone
问题描述
我试图通过改变一个UIImageView的图像在一个循环中绘制图像的iPhone屏幕。但是因为有在屏幕上没有太大的反应不是被绘制并跳过其他人,我需要另一种方法两个或三个图像。
I am trying to draw images to the iphone screen by changing the images of a UIImageView in a loop. But since there was no much response on the screen than two or three images being drawn and skipping others I need another method.
我试图表明这80以每秒30帧320在尺寸* 480 PNG图像。
I am trying to show 80 png images that are 320*480 in size at 30 images per second.
请建议这样做的最快方法。而一些样品code(如果可用)。
Please suggest the fastest method to do this. And some sample code if available.
感谢
推荐答案
在iPhone上最快的画法是OpenGL ES的。 :)
如果您与您的图像的一些纹理地图,你会实现你想要的。
The fastest drawing method on the iPhone is OpenGL ES. :) If you make some texture atlases with your images you'll achieve what you want.
这篇关于在iPhone上最快的图形绘制方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!