|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.niftygui.NiftyJmeDisplay
public class NiftyJmeDisplay
Nested Class Summary | |
---|---|
protected class |
NiftyJmeDisplay.ResourceLocationJme
|
Field Summary | |
---|---|
protected AssetManager |
assetManager
|
protected int |
h
|
protected boolean |
inited
|
protected InputSystemJme |
inputSys
|
protected de.lessvoid.nifty.Nifty |
nifty
|
protected RenderDeviceJme |
renderDev
|
protected Renderer |
renderer
|
protected RenderManager |
renderManager
|
protected NiftyJmeDisplay.ResourceLocationJme |
resourceLocation
|
protected SoundDeviceJme |
soundDev
|
protected ViewPort |
vp
|
protected int |
w
|
Constructor Summary | |
---|---|
NiftyJmeDisplay()
|
|
NiftyJmeDisplay(AssetManager assetManager,
InputManager inputManager,
AudioRenderer audioRenderer,
ViewPort vp)
|
Method Summary | |
---|---|
void |
cleanup()
Called when the SP is removed from the RM. |
de.lessvoid.nifty.Nifty |
getNifty()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean inited
protected de.lessvoid.nifty.Nifty nifty
protected AssetManager assetManager
protected RenderManager renderManager
protected RenderDeviceJme renderDev
protected InputSystemJme inputSys
protected SoundDeviceJme soundDev
protected Renderer renderer
protected ViewPort vp
protected NiftyJmeDisplay.ResourceLocationJme resourceLocation
protected int w
protected int h
Constructor Detail |
---|
public NiftyJmeDisplay()
public NiftyJmeDisplay(AssetManager assetManager, InputManager inputManager, AudioRenderer audioRenderer, ViewPort vp)
Method Detail |
---|
public void initialize(RenderManager rm, ViewPort vp)
SceneProcessor
initialize
in interface SceneProcessor
rm
- The render manager to which the SP was added tovp
- The viewport to which the SP is assignedpublic de.lessvoid.nifty.Nifty getNifty()
public void reshape(ViewPort vp, int w, int h)
SceneProcessor
reshape
in interface SceneProcessor
public boolean isInitialized()
isInitialized
in interface SceneProcessor
public void preFrame(float tpf)
SceneProcessor
preFrame
in interface SceneProcessor
tpf
- Time per framepublic void postQueue(RenderQueue rq)
SceneProcessor
postQueue
in interface SceneProcessor
rq
- The render queuepublic void postFrame(FrameBuffer out)
SceneProcessor
postFrame
in interface SceneProcessor
out
- The FB to which the scene was rendered.public void cleanup()
SceneProcessor
cleanup
in interface SceneProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |