GLKIT vs Core Animation Layers

Discussion in 'iOS Programming' started by Blakeasd, May 24, 2013.

  1. Blakeasd macrumors 6502a

    Dec 29, 2009
    Hello. Are there any advantages to using Core Anomation layers for OpenGL ES compared to using GLKit. Is there any reason why I wouldn't want to use GLKit for my OpenGL ES needs?

  2. Duncan C macrumors 6502a

    Duncan C

    Jan 21, 2008
    Northern Virginia
    GLKit ends up using EAGALLayer under the covers, just like anything else on iOS. The tiled rendering engine is based on layers at the hardware level.

    GLKit has some nice enhancements that make things easier, especially as compared to raw GS 2.0, where there's no built in directional lighting support, no built-in perspective, or much of anything. I was pretty lost at first when I moved from desktop OpenGL to ES 2.0. I wish GLKit was out then.

Share This Page