在iPhone应用程序中将单个像素直接绘制到屏幕上的最快的方法是什么? [英] What is the fastest way to draw single pixels directly to the screen in an iPhone application?
本文介绍了在iPhone应用程序中将单个像素直接绘制到屏幕上的最快的方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
推荐答案
很可能使用OpenGL,例如:
Most probably using OpenGL, something like:
glBegin(GL_POINTS);
glColor3f(...);
glVertex3f(...);
...
glEnd();
更快的可能是使用顶点数组来指定点。
Even faster would probably be to use vertex arrays for specifying the points.
这篇关于在iPhone应用程序中将单个像素直接绘制到屏幕上的最快的方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文