edu.dhbw.andar.pub
Class CustomRenderer

java.lang.Object
  extended by edu.dhbw.andar.pub.CustomRenderer
All Implemented Interfaces:
OpenGLRenderer

public class CustomRenderer
extends java.lang.Object
implements OpenGLRenderer

Author:
tobi

Constructor Summary
CustomRenderer()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomRenderer

public CustomRenderer()
Method Detail

draw

public final void draw(GL10 gl)
Description copied from interface: OpenGLRenderer
Draw stuff in this method that has nothing to do with Augmented Reality. Will be invoked at the end of each render phase.

Specified by:
draw in interface OpenGLRenderer

setupEnv

public final void setupEnv(GL10 gl)
Description copied from interface: OpenGLRenderer
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.

Specified by:
setupEnv in interface OpenGLRenderer

initGL

public final void initGL(GL10 gl)
Description copied from interface: OpenGLRenderer
Called once, when the OpenGL Surface was created. Used to do some general OpenGL specific initialization.

Specified by:
initGL in interface OpenGLRenderer