org.xith3d.render
Class RenderCallbackAdapter

java.lang.Object
  extended by org.xith3d.render.RenderCallbackAdapter
All Implemented Interfaces:
RenderCallback

public abstract class RenderCallbackAdapter
extends java.lang.Object
implements RenderCallback

Adapter class for the RenderCallback interface.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.xith3d.render.RenderCallback
RenderCallback.RenderCallbackNotifier
 
Constructor Summary
RenderCallbackAdapter()
           
 
Method Summary
 void afterRenderPassCompleted(RenderPass renderPass, OpenGLLayer openGLLayer, java.lang.Object glObj)
          This method is invoked by the Renderer from the render thread.
 void afterRenderPassIsProcessed(RenderPass renderPass)
          This method is invoked by the Renderer from the render thread.
 void afterRenderPassIsSetUp(RenderPass renderPass, OpenGLLayer openGLLayer, java.lang.Object glObj)
          This method is invoked by the Renderer from the render thread.
 void afterRenderTargetIsActivated(RenderPass renderPass, RenderTarget renderTarget, OpenGLLayer openGLLayer, java.lang.Object glObj)
          This method is invoked after the given RenderTarget is being activated.
 void afterRenderTargetIsDeactivated(RenderPass renderPass, RenderTarget renderTarget, OpenGLLayer openGLLayer, java.lang.Object glObj)
          This method is invoked after the given RenderTarget is being deactivated.
 void beforeRenderPassIsProcessed(RenderPass renderPass)
          This method is invoked by the Renderer from the render thread.
 void beforeRenderPassIsRendered(RenderPass renderPass, OpenGLLayer openGLLayer, java.lang.Object glObj)
          This method is invoked by the Renderer from the render thread.
 void beforeRenderTargetIsActivated(RenderPass renderPass, RenderTarget renderTarget, OpenGLLayer openGLLayer, java.lang.Object glObj)
          This method is invoked before the given RenderTarget is being activated.
 void beforeRenderTargetIsDeactivated(RenderPass renderPass, RenderTarget renderTarget, OpenGLLayer openGLLayer, java.lang.Object glObj)
          This method is invoked before the given RenderTarget is being deactivated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderCallbackAdapter

public RenderCallbackAdapter()
Method Detail

beforeRenderPassIsProcessed

public void beforeRenderPassIsProcessed(RenderPass renderPass)
This method is invoked by the Renderer from the render thread. When this method is invoked, the RenderPass is about to be processed (e.g. shapes being culled).

Specified by:
beforeRenderPassIsProcessed in interface RenderCallback

afterRenderPassIsProcessed

public void afterRenderPassIsProcessed(RenderPass renderPass)
This method is invoked by the Renderer from the render thread. When this method is invoked, the RenderPass is processed (e.g. shapes being culled).

Specified by:
afterRenderPassIsProcessed in interface RenderCallback

beforeRenderPassIsRendered

public void beforeRenderPassIsRendered(RenderPass renderPass,
                                       OpenGLLayer openGLLayer,
                                       java.lang.Object glObj)
This method is invoked by the Renderer from the render thread. When this method is invoked, the RenderPass is about to be prepared.

Specified by:
beforeRenderPassIsRendered in interface RenderCallback
openGLLayer - the used OpenGLLayer
glObj - In JOGL mode, this is the GLCanvas, in LWJGL this is null

beforeRenderTargetIsActivated

public void beforeRenderTargetIsActivated(RenderPass renderPass,
                                          RenderTarget renderTarget,
                                          OpenGLLayer openGLLayer,
                                          java.lang.Object glObj)
This method is invoked before the given RenderTarget is being activated.

Specified by:
beforeRenderTargetIsActivated in interface RenderCallback
openGLLayer - the used OpenGLLayer

afterRenderTargetIsActivated

public void afterRenderTargetIsActivated(RenderPass renderPass,
                                         RenderTarget renderTarget,
                                         OpenGLLayer openGLLayer,
                                         java.lang.Object glObj)
This method is invoked after the given RenderTarget is being activated.

Specified by:
afterRenderTargetIsActivated in interface RenderCallback
openGLLayer - the used OpenGLLayer

afterRenderPassIsSetUp

public void afterRenderPassIsSetUp(RenderPass renderPass,
                                   OpenGLLayer openGLLayer,
                                   java.lang.Object glObj)
This method is invoked by the Renderer from the render thread. When this method is invoked, the RenderPass is fully set up.

Specified by:
afterRenderPassIsSetUp in interface RenderCallback
openGLLayer - the used OpenGLLayer
glObj - In JOGL mode, this is the GLCanvas, in LWJGL this is null

beforeRenderTargetIsDeactivated

public void beforeRenderTargetIsDeactivated(RenderPass renderPass,
                                            RenderTarget renderTarget,
                                            OpenGLLayer openGLLayer,
                                            java.lang.Object glObj)
This method is invoked before the given RenderTarget is being deactivated.

Specified by:
beforeRenderTargetIsDeactivated in interface RenderCallback
openGLLayer - the used OpenGLLayer

afterRenderTargetIsDeactivated

public void afterRenderTargetIsDeactivated(RenderPass renderPass,
                                           RenderTarget renderTarget,
                                           OpenGLLayer openGLLayer,
                                           java.lang.Object glObj)
This method is invoked after the given RenderTarget is being deactivated.

Specified by:
afterRenderTargetIsDeactivated in interface RenderCallback
openGLLayer - the used OpenGLLayer

afterRenderPassCompleted

public void afterRenderPassCompleted(RenderPass renderPass,
                                     OpenGLLayer openGLLayer,
                                     java.lang.Object glObj)
This method is invoked by the Renderer from the render thread. When this method is invoked, the RenderPass is fully set up.

Specified by:
afterRenderPassCompleted in interface RenderCallback
openGLLayer - the used OpenGLLayer
glObj - In JOGL mode, this is the GLCanvas, in LWJGL this is null