O'Reilly logo

OpenGL® ES 2.0 Programming Guide by Dave Shreiner, Dan Ginsburg, Aaftab Munshi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix D. ES Framework API

The example programs throughout the book use a framework of utility functions for performing common OpenGL ES 2.0 functions. The API provides routines for tasks such as creating a window, setting up callback functions, loading a shader, loading a program, and creating geometry. The purpose of this appendix is to provide documentation for the ES Framework API functions used throughout the book.

Framework Core Functions

This section provides documentation on the core functions in the ES Framework API.

void ESUTIL_API

esInitContext(ESContext * esContext)

Initialize ES framework context. This must be called before calling any other functions.

Parameters:

esContext

application context

GLboolean ESUTIL_API

esCreateWindow(ESContext ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required