org.ogre4j
Class CompositorChain.RQListener

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.CompositorChain.RQListener
All Implemented Interfaces:
ICompositorChain.IRQListener, IRenderQueueListener, INativeObject
Enclosing class:
CompositorChain

protected static class CompositorChain.RQListener
extends NativeObject
implements ICompositorChain.IRQListener


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  CompositorChain.RQListener()
           
  CompositorChain.RQListener(InstancePointer p)
          This constructor is public for internal useage only!
protected CompositorChain.RQListener(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  CompositorChain.RQListener(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void flushUpTo(short id)
          Flush remaining render system operations
 void notifyViewport(IViewport vp)
          Notify current destination viewport
 void renderQueueEnded(short id, java.lang.String invocation, BooleanPointer repeatThisQueue)
          Event raised after a queue group is rendered.
 void renderQueueStarted(short id, java.lang.String invocation, BooleanPointer skipThisQueue)
          Event raised before a queue group is rendered.
 void setOperation(ICompositorInstance.ITargetOperation op, ISceneManager sm, IRenderSystem rs)
          Set current operation and target
 
Methods inherited from class org.xbig.base.NativeObject
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xbig.base.INativeObject
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Constructor Detail

CompositorChain.RQListener

public CompositorChain.RQListener(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


CompositorChain.RQListener

protected CompositorChain.RQListener(InstancePointer p,
                                     boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


CompositorChain.RQListener

public CompositorChain.RQListener(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

CompositorChain.RQListener

public CompositorChain.RQListener()
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

renderQueueStarted

public void renderQueueStarted(short id,
                               java.lang.String invocation,
                               BooleanPointer skipThisQueue)
Description copied from interface: IRenderQueueListener
Event raised before a queue group is rendered.

Specified by:
renderQueueStarted in interface ICompositorChain.IRQListener
Specified by:
renderQueueStarted in interface IRenderQueueListener

renderQueueEnded

public void renderQueueEnded(short id,
                             java.lang.String invocation,
                             BooleanPointer repeatThisQueue)
Description copied from interface: IRenderQueueListener
Event raised after a queue group is rendered.

Specified by:
renderQueueEnded in interface ICompositorChain.IRQListener
Specified by:
renderQueueEnded in interface IRenderQueueListener

setOperation

public void setOperation(ICompositorInstance.ITargetOperation op,
                         ISceneManager sm,
                         IRenderSystem rs)
Set current operation and target

Specified by:
setOperation in interface ICompositorChain.IRQListener

notifyViewport

public void notifyViewport(IViewport vp)
Notify current destination viewport

Specified by:
notifyViewport in interface ICompositorChain.IRQListener

flushUpTo

public void flushUpTo(short id)
Flush remaining render system operations

Specified by:
flushUpTo in interface ICompositorChain.IRQListener


Copyright © 2007 netAllied GmbH. All Rights Reserved.