Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## shout3d.core
Interface RenderObserver

All Known Implementing Classes:
  Shout3DPanel, JSRenderObserver

public abstract interface RenderObserver

An interface which implements a callback from a Renderer

Method Summary
`void` | `onPostRender(Renderer renderer, java.lang.Object userData)` This method should be called by the renderer on all registered observers, immediately following completion of rendering.
`void` | `onPreRender(Renderer renderer, java.lang.Object userData)` This method should be called by the renderer on all registered observers, immediately prior to rendering.

Method Detail

### onPreRender

    public void onPreRender(Renderer renderer,
                            java.lang.Object userData)

  This method should be called by the renderer on all registered observers, immediately prior to rendering. The userData is the same data that was passed from this RenderObserver to the Renderer in renderer.addRenderObserver(this,userData)
  Parameters:
    `render` - the renderer
    `userData` - data used by this RenderObserver

### onPostRender

    public void onPostRender(Renderer renderer,
                             java.lang.Object userData)

  This method should be called by the renderer on all registered observers, immediately following completion of rendering. The userData is the same data that was passed from this RenderObserver to the Renderer in renderer.addRenderObserver(this,userData)
  Parameters:
    `render` - the renderer
    `userData` - data used by this RenderObserver

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD