edu.dhbw.andar.interfaces
Interface OpenGLRenderer

All Known Implementing Classes:
CustomRenderer

public interface OpenGLRenderer

Author:
Tobias Domhan

Method Summary
 void draw(GL10 gl)
          Draw stuff in this method that has nothing to do with Augmented Reality.
 void initGL(GL10 gl)
          Called once, when the OpenGL Surface was created.
 void setupEnv(GL10 gl)
          Setup the OpenGL environment.
 

Method Detail

draw

void draw(GL10 gl)
Draw stuff in this method that has nothing to do with Augmented Reality. Will be invoked at the end of each render phase.

Parameters:
gl -

setupEnv

void setupEnv(GL10 gl)
Setup the OpenGL environment. This method will be called just before each AR object is drawn. This method may be used to setup lighting, and other things common to all Augmented Reality objects.

Parameters:
gl -

initGL

void initGL(GL10 gl)
Called once, when the OpenGL Surface was created. Used to do some general OpenGL specific initialization.

Parameters:
gl -