开发者

Combining OpenGL ES and View-Based Application

开发者 https://www.devze.com 2023-01-31 19:41 出处:网络
How to combine OpenGL ES a开发者_JAVA百科pplication with a View-Based Application for iPhone?You really just link the two together by switching the view in UIWindow.

How to combine OpenGL ES a开发者_JAVA百科pplication with a View-Based Application for iPhone?


You really just link the two together by switching the view in UIWindow.

[window addSubview:yourView];

It really is that easy. You just can't mix OpenGL ES and UIView drawing within the same view, unless you stop OpenGL ES animating of course.

0

精彩评论

暂无评论...
验证码 换一张
取 消