| |||
| Home > Building and Running the Samples > Using the Template to write a sample application for Linux on ARM | |||
Using the Template sample as a base you can easily get started writing OpenGL ES 2.0 applications.
To add code to Template:
Add setup
code that will be run only at the start in the setupGraphics() method.
This method performs startup actions such as loading shaders, enabling
OpenGL ES states, and loading textures.
Place the code that will draw each frame in the renderFrame() method