Looking Toward Other Platforms

If you’re thinking about moving beyond Android some day and expanding your reach, then you’ll definitely want to give some thought to portability and cross-platform code. OpenGL ES 2 is well supported on many major platforms, including iOS and the Web via WebGL; however, these other platforms are often built around other programming languages. On iOS, Objective C is the primary development language, and on the Web, JavaScript is the primary development language.

Since rewriting code for each platform tends to take more resources, cross-platform development can have a lot of appeal. On one end of the spectrum, you have proprietary environments that use the same language on all platforms and abstract everything away ...

Get OpenGL ES 2 for Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.