org.ogre4j
Interface IRenderPriorityGroup

All Superinterfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, INativeObject, ISceneCtlAllocatedObject
All Known Implementing Classes:
RenderPriorityGroup

public interface IRenderPriorityGroup
extends INativeObject, ISceneCtlAllocatedObject


Method Summary
 void addOrganisationMode(QueuedRenderableCollection.OrganisationMode om)
          Add a required sorting / grouping mode for the solids in this group.
 void addRenderable(IRenderable pRend, ITechnique pTech)
          Add a renderable to this group.
 void clear()
          Clears this group of renderables.
 void defaultOrganisationMode()
          Set the sorting / grouping mode for the solids in this group to the default.
 IQueuedRenderableCollection getSolidsBasic()
          Get the collection of basic solids currently queued, this includes all solids when there are no shadows, or all solids which have shadow receiving enabled when using modulative shadows, or all ambient passes of solids which have shadow receive enabled for additive shadows.
 IQueuedRenderableCollection getSolidsDecal()
          Get the collection of solids currently queued for decal passes (only applicable in additive shadow modes).
 IQueuedRenderableCollection getSolidsDiffuseSpecular()
          Get the collection of solids currently queued per light (only applicable in additive shadow modes).
 IQueuedRenderableCollection getSolidsNoShadowReceive()
          Get the collection of solids for which shadow receipt is disabled (only applicable when shadows are enabled).
 IQueuedRenderableCollection getTransparents()
          Get the collection of transparent objects currently queued
 IQueuedRenderableCollection getTransparentsUnsorted()
          Get the collection of transparent objects currently queued
 void resetOrganisationModes()
          Reset the organisation modes required for the solids in this group.
 void setShadowCastersCannotBeReceivers(boolean ind)
          Sets whether or not objects which cast shadows should be treated as never receiving shadows.
 void setSplitNoShadowPasses(boolean split)
          Sets whether or not passes which have shadow receive disabled should be separated.
 void setSplitPassesByLightingType(boolean split)
          Sets whether or not the queue will split passes by their lighting type, ie ambient, per-light and decal.
 void sort(ICamera cam)
          Sorts the objects which have been added to the queue; transparent objects by their depth in relation to the passed in .
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

getSolidsBasic

IQueuedRenderableCollection getSolidsBasic()
Get the collection of basic solids currently queued, this includes all solids when there are no shadows, or all solids which have shadow receiving enabled when using modulative shadows, or all ambient passes of solids which have shadow receive enabled for additive shadows.


getSolidsDiffuseSpecular

IQueuedRenderableCollection getSolidsDiffuseSpecular()
Get the collection of solids currently queued per light (only applicable in additive shadow modes).


getSolidsDecal

IQueuedRenderableCollection getSolidsDecal()
Get the collection of solids currently queued for decal passes (only applicable in additive shadow modes).


getSolidsNoShadowReceive

IQueuedRenderableCollection getSolidsNoShadowReceive()
Get the collection of solids for which shadow receipt is disabled (only applicable when shadows are enabled).


getTransparentsUnsorted

IQueuedRenderableCollection getTransparentsUnsorted()
Get the collection of transparent objects currently queued


getTransparents

IQueuedRenderableCollection getTransparents()
Get the collection of transparent objects currently queued


resetOrganisationModes

void resetOrganisationModes()
Reset the organisation modes required for the solids in this group.


addOrganisationMode

void addOrganisationMode(QueuedRenderableCollection.OrganisationMode om)
Add a required sorting / grouping mode for the solids in this group.


defaultOrganisationMode

void defaultOrganisationMode()
Set the sorting / grouping mode for the solids in this group to the default.


addRenderable

void addRenderable(IRenderable pRend,
                   ITechnique pTech)
Add a renderable to this group.


sort

void sort(ICamera cam)
Sorts the objects which have been added to the queue; transparent objects by their depth in relation to the passed in .


clear

void clear()
Clears this group of renderables.


setSplitPassesByLightingType

void setSplitPassesByLightingType(boolean split)
Sets whether or not the queue will split passes by their lighting type, ie ambient, per-light and decal.


setSplitNoShadowPasses

void setSplitNoShadowPasses(boolean split)
Sets whether or not passes which have shadow receive disabled should be separated.


setShadowCastersCannotBeReceivers

void setShadowCastersCannotBeReceivers(boolean ind)
Sets whether or not objects which cast shadows should be treated as never receiving shadows.



Copyright © 2007 netAllied GmbH. All Rights Reserved.