com.jme.app
Class SimplePassGame

java.lang.Object
  extended by com.jme.app.AbstractGame
      extended by com.jme.app.BaseGame
          extended by com.jme.app.BaseSimpleGame
              extended by com.jme.app.SimplePassGame

public abstract class SimplePassGame
extends BaseSimpleGame

Adds multi-pass rendering management to BaseSimpleGame.

Version:
$Revision: 4131 $, $Date: 2009-03-19 20:15:28 +0000 (Thu, 19 Mar 2009) $
Author:
Joshua Slack

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme.app.BaseGame
BaseGame.BaseGameSettings
 
Nested classes/interfaces inherited from class com.jme.app.AbstractGame
AbstractGame.ConfigShowMode
 
Field Summary
protected  BasicPassManager pManager
           
 
Fields inherited from class com.jme.app.BaseSimpleGame
alphaBits, cam, depthBits, graphNode, input, lightState, pause, rootNode, samples, showBounds, showDepth, showGraphs, showNormals, statNode, stencilBits, timer, tpf, wireState
 
Fields inherited from class com.jme.app.BaseGame
throwableHandler
 
Fields inherited from class com.jme.app.AbstractGame
display, finished, settings
 
Constructor Summary
SimplePassGame()
           
 
Method Summary
protected  void doDebug(Renderer r)
           
protected  void initGame()
          Creates pass manager then calls super.initGame();
protected  void render(float interpolation)
          This is called every frame in BaseGame.start(), after update()
protected  void update(float interpolation)
          This is called every frame in BaseGame.start()
 
Methods inherited from class com.jme.app.BaseSimpleGame
cameraParallel, cameraPerspective, cleanup, initSystem, quit, reinit, setupStatGraphs, setupStats, simpleInitGame, simpleRender, simpleUpdate, updateInput
 
Methods inherited from class com.jme.app.BaseGame
getNewSettings, getThrowableHandler, setThrowableHandler, start
 
Methods inherited from class com.jme.app.AbstractGame
assertDisplayCreated, finish, getAttributes, getVersion, setConfigShowMode, setConfigShowMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pManager

protected BasicPassManager pManager
Constructor Detail

SimplePassGame

public SimplePassGame()
Method Detail

update

protected final void update(float interpolation)
This is called every frame in BaseGame.start()

Overrides:
update in class BaseSimpleGame
Parameters:
interpolation - unused in this implementation
See Also:
AbstractGame.update(float interpolation)

render

protected final void render(float interpolation)
This is called every frame in BaseGame.start(), after update()

Overrides:
render in class BaseSimpleGame
Parameters:
interpolation - unused in this implementation
See Also:
AbstractGame.render(float interpolation)

initGame

protected final void initGame()
Creates pass manager then calls super.initGame();

Overrides:
initGame in class BaseSimpleGame
See Also:
BaseSimpleGame.initGame()

doDebug

protected void doDebug(Renderer r)
Overrides:
doDebug in class BaseSimpleGame