Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

seventoes

macrumors newbie
Original poster
Feb 5, 2008
28
0
Hi, noob to OpenGL + Core Graphics here!

I understand the concepts behind normal cocoa programming, that is, the UIViews and the basics of CGLayers and such. I've started working on a game using OpenGL, using the EAGLView class in the GLPaint demo, which wraps CAEAGLLayer into an easy-for-me-to-understand UIView subclass. All is fine so far, but now I realize that I need a scroll view for my game.

From the docs it looks like what I'm looking for is CAScrollLayer, but I have no idea how I'm supposed to 'upgrade' the current EAGLView to use the CAScrollLayer.

Any guidance is appreciated!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.