com.jme3.post
インタフェース SceneProcessor

既知の実装クラスの一覧:
BasicShadowRenderer, FilterPostProcessor, HDRRenderer, NiftyJmeDisplay, PreDepthProcessor, PssmShadowRenderer, ReflectionProcessor, SimpleWaterProcessor, SimpleWaterProcessor.RefractionProcessor, TestOctree

public interface SceneProcessor

Scene processors are used to compute/render things before and after the classic render of the scene. They have to be added to a viewport and are rendered in the order they've been added


メソッドの概要
 void cleanup()
          Called when the SP is removed from the RM.
 void initialize(RenderManager rm, ViewPort vp)
          Called in the render thread to initialize the scene processor.
 boolean isInitialized()
           
 void postFrame(FrameBuffer out)
          Called after a frame has been rendered and the queue flushed.
 void postQueue(RenderQueue rq)
          Called after the scene graph has been queued, but before it is flushed.
 void preFrame(float tpf)
          Called before a frame
 void reshape(ViewPort vp, int w, int h)
          Called when the resolution of the viewport has been changed.
 

メソッドの詳細

initialize

void initialize(RenderManager rm,
                ViewPort vp)
Called in the render thread to initialize the scene processor.

パラメータ:
rm - The render manager to which the SP was added to
vp - The viewport to which the SP is assigned

reshape

void reshape(ViewPort vp,
             int w,
             int h)
Called when the resolution of the viewport has been changed.

パラメータ:
vp -

isInitialized

boolean isInitialized()
戻り値:
True if initialize() has been called on this SceneProcessor, false if otherwise.

preFrame

void preFrame(float tpf)
Called before a frame

パラメータ:
tpf - Time per frame

postQueue

void postQueue(RenderQueue rq)
Called after the scene graph has been queued, but before it is flushed.

パラメータ:
rq - The render queue

postFrame

void postFrame(FrameBuffer out)
Called after a frame has been rendered and the queue flushed.

パラメータ:
out - The FB to which the scene was rendered.

cleanup

void cleanup()
Called when the SP is removed from the RM.