iPhone - OpenGL使用C ++教程/片段 [英] iPhone - OpenGL using C++ tutorial/snippet

查看:125
本文介绍了iPhone - OpenGL使用C ++教程/片段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有什么好的教程或代码片段如何通过C / C ++在iPhone上使用OpenGL?

Is there any good tutorial or code snippet out there on how to use OpenGL via C/C++ on the iPhone?

推荐答案

http://developer.apple.com/ iphone / library / documentation / 3DDrawing / Conceptual / OpenGLES_ProgrammingGuide / WorkingwithEAGLContexts / WorkingwithEAGLContexts.html

我确定你需要一点Objective-创建上下文并做其他初始化东西。其余的也可以在C ++中使用。

I'm pretty sure you need a bit of Objective-C to create the context and do other initialization stuff. The rest is also usable in C++.

这篇关于iPhone - OpenGL使用C ++教程/片段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆