Game Development Reference
In-Depth Information
Figure 4-5. Icosahedron project
Table 4-1 lists the files that compose the project.
Table 4-1. Files for the Icosahedron Project
Language
File Name
Description
AndroidManifest.xml
XML
The file descriptor for the application. It describes the
package information, SDK requirements, and the main
activity or starting point of the application.
ShadersActivity.java
Java
The entry point of the application. It will be invoked by
Android when the application is launched from the device.
ShadersView.java
Java
The GL surface view that contains the OpenGL scene to
be rendered.
ViewRenderer.java
Java
The renderer in charge of initializing the scene and drawing
the frames.
ConfigChooser.java
Java
The configuration chooser is used to tell Android that
you want to use OpenGL ES 3.1.
ico.cpp
C++
The C++ code containing all shader and OpenGL rendering
code, plus the icosahedron vertex and face information.
Android.mk
The compilation file for ico.cpp .
Make
 
Search WWH ::




Custom Search