⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 在IPHONE使用OPGL ES的小粒子
💻 TXT
字号:
You need a toolchain set up to compile this. See e.g. http://iphone.fiveforty.net/wiki/index.php/Toolchain_Project.Copy OpenGLES to whereever the rest of your framework includes are. Some existing distributions have OpenGLES/gl.h, but are typically missing egl.h and egltypes.h. Just replace with the contents of the OpenGLES found here.Now, build with 'make', this will produce an executable, GLTest.Because by default the GL renderer writes directly to the framebuffer, there are contention issues with the iPhone UI. (Unfortunately the direct display API to gain control of the display is not present in the iPhone CG libs.) Thus the best way to run the resulting executable is to copy it over to the phone and run it from the command line (e.g. via ssh) while the Springboard is showing, as that does not try to update the display except during mail or phone alerts.If you have ssh set up (preferably with public key authorization so you don't have to keep typing passwords), and adjust IPHONE_IP in the makefile, 'make run' will take care of copying over the binary and running it.A.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -