O'Reilly logo

OpenGL ES 2 for Android by Kevin Brothaler

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

Making the Final Connections

We spent a good part of the last two chapters laying down a basic foundation for our application: we learned how to define the structure of an object using an array of attributes, and we also learned how to create shaders, load and compile them, and link them together into an OpenGL program.

Now it’s time to start building on this foundation and making the final connections. In the next few steps, we’re going to put the pieces together, and then we’ll be ready to draw the first version of our air hockey table to the screen.

Validate Our OpenGL Program Object

Before we start using an OpenGL program, we should validate it first to see if the program is valid for the current OpenGL state. According to the OpenGL ES 2.0 ...

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