A C D E F G I M O P R S T V

A

angle - Variable in class m3gac.OpenGLSample
The cube's current rotation angle.

C

commandAction(Command, Displayable) - Method in class m3gac.Main
Receives command actions.

D

destroy() - Method in class m3gac.OpenGLSample
Stops the animation.
destroyApp(boolean) - Method in class m3gac.Main
Enters the destroyed state.

E

egl - Variable in class m3gac.OpenGLSample
Object for executing EGL operations.
eglContext - Variable in class m3gac.OpenGLSample
EGL context used for rendering.
eglDisplay - Variable in class m3gac.OpenGLSample
EGL Display used for rendering.
eglWindowSurface - Variable in class m3gac.OpenGLSample
EGL surface used for rendering.
exitCommand - Variable in class m3gac.Main
Exit command.

F

FACE_NORMALS - Static variable in class m3gac.OpenGLSample
Face normals.

G

gl - Variable in class m3gac.OpenGLSample
Object for executing OpenGL operations.
graphics - Variable in class m3gac.OpenGLSample
2D graphics context for rendering.

I

init() - Method in class m3gac.OpenGLSample
Starts the animation.
initCamera(float, float, float, float) - Method in class m3gac.OpenGLSample
Initializes the camera with a perspective projection matrix.
initCube() - Method in class m3gac.OpenGLSample
Initializes the cube's vertex data.
initGL() - Method in class m3gac.OpenGLSample
Initializes the EGL, GL, and Graphics contexts.
initLight() - Method in class m3gac.OpenGLSample
Creates a directional light.
initTexture(String) - Method in class m3gac.OpenGLSample
Loads an image from the given resource and uses it as texture.
isRunning - Variable in class m3gac.OpenGLSample
Flag whether thread is running.

M

m3gac - package m3gac
 
Main - Class in m3gac
MIDlet for OpenGLSample.
Main() - Constructor for class m3gac.Main
Constructor.

O

OpenGLSample - Class in m3gac
Demonstrates 3D rendering using the Java Binding for the OpenGL ES API (JSR 239).
OpenGLSample() - Constructor for class m3gac.OpenGLSample
Constructor.

P

pauseApp() - Method in class m3gac.Main
Enters the paused state.

R

render(Graphics) - Method in class m3gac.OpenGLSample
Renders the sample.
run() - Method in class m3gac.OpenGLSample
Animation loop.

S

sample - Variable in class m3gac.Main
The sample.
startApp() - Method in class m3gac.Main
Enters the active state.
STRIPS - Static variable in class m3gac.OpenGLSample
Triangle strip information.

T

toX(int) - Static method in class m3gac.OpenGLSample
Converts an int to a fixed-point value (GLfixed).
toX(float) - Static method in class m3gac.OpenGLSample
Converts a float to a fixed-point value (GLfixed).

V

VERTEX_POSITIONS - Static variable in class m3gac.OpenGLSample
Vertex positions.
VERTEX_TEX_COORDS - Static variable in class m3gac.OpenGLSample
Vertex texture coordinates (origin at the lower left corner).

A C D E F G I M O P R S T V