org.ogre4j
Class RenderQueueInvocation

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.RenderQueueInvocation
All Implemented Interfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, IRenderQueueInvocation, ISceneCtlAllocatedObject, INativeObject

public class RenderQueueInvocation
extends NativeObject
implements IRenderQueueInvocation


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  RenderQueueInvocation(InstancePointer p)
          This constructor is public for internal useage only!
protected RenderQueueInvocation(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  RenderQueueInvocation(short renderQueueGroupID, java.lang.String invocationName)
          Constructor
  RenderQueueInvocation(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 java.lang.String getInvocationName()
           
static java.lang.String getRENDER_QUEUE_INVOCATION_SHADOWS()
           
 short getRenderQueueGroupID()
           
 QueuedRenderableCollection.OrganisationMode getSolidsOrganisation()
          Get the organisation mode being used for solids in this queue group invocation.
 boolean getSuppressRenderStateChanges()
          Gets whether shadows are suppressed when invoking this queue.
 boolean getSuppressShadows()
          Gets whether shadows are suppressed when invoking this queue.
 void invoke(IRenderQueueGroup group, ISceneManager targetSceneManager)
          Invoke this class on a concrete queue group.
static void setRENDER_QUEUE_INVOCATION_SHADOWS(java.lang.String _jni_value_)
           
 void setSolidsOrganisation(QueuedRenderableCollection.OrganisationMode org)
          Set the organisation mode being used for solids in this queue group invocation.
 void setSuppressRenderStateChanges(boolean suppress)
          Sets whether render state changes are suppressed when invoking this queue.
 void setSuppressShadows(boolean suppress)
          Sets whether shadows are suppressed when invoking this queue.
 
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

RenderQueueInvocation

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


RenderQueueInvocation

protected RenderQueueInvocation(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.


RenderQueueInvocation

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

RenderQueueInvocation

public RenderQueueInvocation(short renderQueueGroupID,
                             java.lang.String invocationName)
Constructor

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

getRenderQueueGroupID

public short getRenderQueueGroupID()
Specified by:
getRenderQueueGroupID in interface IRenderQueueInvocation

getInvocationName

public java.lang.String getInvocationName()
Specified by:
getInvocationName in interface IRenderQueueInvocation

setSolidsOrganisation

public void setSolidsOrganisation(QueuedRenderableCollection.OrganisationMode org)
Set the organisation mode being used for solids in this queue group invocation.

Specified by:
setSolidsOrganisation in interface IRenderQueueInvocation

getSolidsOrganisation

public QueuedRenderableCollection.OrganisationMode getSolidsOrganisation()
Get the organisation mode being used for solids in this queue group invocation.

Specified by:
getSolidsOrganisation in interface IRenderQueueInvocation

setSuppressShadows

public void setSuppressShadows(boolean suppress)
Sets whether shadows are suppressed when invoking this queue.

Specified by:
setSuppressShadows in interface IRenderQueueInvocation

getSuppressShadows

public boolean getSuppressShadows()
Gets whether shadows are suppressed when invoking this queue.

Specified by:
getSuppressShadows in interface IRenderQueueInvocation

setSuppressRenderStateChanges

public void setSuppressRenderStateChanges(boolean suppress)
Sets whether render state changes are suppressed when invoking this queue.

Specified by:
setSuppressRenderStateChanges in interface IRenderQueueInvocation

getSuppressRenderStateChanges

public boolean getSuppressRenderStateChanges()
Gets whether shadows are suppressed when invoking this queue.

Specified by:
getSuppressRenderStateChanges in interface IRenderQueueInvocation

invoke

public void invoke(IRenderQueueGroup group,
                   ISceneManager targetSceneManager)
Invoke this class on a concrete queue group.

Specified by:
invoke in interface IRenderQueueInvocation

getRENDER_QUEUE_INVOCATION_SHADOWS

public static java.lang.String getRENDER_QUEUE_INVOCATION_SHADOWS()

setRENDER_QUEUE_INVOCATION_SHADOWS

public static void setRENDER_QUEUE_INVOCATION_SHADOWS(java.lang.String _jni_value_)


Copyright © 2007 netAllied GmbH. All Rights Reserved.