Graphics Reference
In-Depth Information
Appendix C
ES Framework API
The example programs throughout the topic use a framework of utility
functions for performing common OpenGL ES 3.0 functions. These utility
functions are not part of OpenGL ES 3.0, but rather are custom functions
that we wrote to support the sample code in the topic. The ES Framework
API is included with the source code for the topic available from the topic
website at opengles-book.com. The ES Framework 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 topic.
Framework Core Functions
This section provides documentation on the core functions in the ES
Framework API.
GLboolean ESUTIL_API esCreateWindow (ESContext * esContext,
const char * title,
GLint width,
GLint height,
GLuint flags )
Create a window with the specified parameters.
Parameters:
esContext application context
t i t l e name for title bar of window
(continues)
 
 
 
 
Search WWH ::




Custom Search