OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Collection of renderables by priority. More...
#include <OgreRenderQueueSortingGrouping.h>
Public Member Functions | |
RenderPriorityGroup (RenderQueueGroup *parent, bool splitPassesByLightingType, bool splitNoShadowPasses, bool shadowCastersNotReceivers) | |
~RenderPriorityGroup () | |
void | addOrganisationMode (QueuedRenderableCollection::OrganisationMode om) |
Add a required sorting / grouping mode for the solids in this group. More... | |
void | addRenderable (Renderable *pRend, Technique *pTech) |
Add a renderable to this group. More... | |
void | clear (void) |
Clears this group of renderables. More... | |
void | defaultOrganisationMode (void) |
Set the sorting / grouping mode for the solids in this group to the default. More... | |
const QueuedRenderableCollection & | getSolidsBasic (void) const |
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. More... | |
const QueuedRenderableCollection & | getSolidsDecal (void) const |
Get the collection of solids currently queued for decal passes (only applicable in additive shadow modes). More... | |
const QueuedRenderableCollection & | getSolidsDiffuseSpecular (void) const |
Get the collection of solids currently queued per light (only applicable in additive shadow modes). More... | |
const QueuedRenderableCollection & | getSolidsNoShadowReceive (void) const |
Get the collection of solids for which shadow receipt is disabled (only applicable when shadows are enabled). More... | |
const QueuedRenderableCollection & | getTransparents (void) const |
Get the collection of transparent objects currently queued. More... | |
const QueuedRenderableCollection & | getTransparentsUnsorted (void) const |
Get the collection of transparent objects currently queued. More... | |
void | merge (const RenderPriorityGroup *rhs) |
Merge group of renderables. More... | |
void | resetOrganisationModes (void) |
Reset the organisation modes required for the solids in this group. More... | |
void | setShadowCastersCannotBeReceivers (bool ind) |
Sets whether or not objects which cast shadows should be treated as never receiving shadows. More... | |
void | setSplitNoShadowPasses (bool split) |
Sets whether or not passes which have shadow receive disabled should be separated. More... | |
void | setSplitPassesByLightingType (bool split) |
Sets whether or not the queue will split passes by their lighting type, ie ambient, per-light and decal. More... | |
void | sort (const Camera *cam) |
Sorts the objects which have been added to the queue; transparent objects by their depth in relation to the passed in Camera. More... | |
Collection of renderables by priority.
Ogre::RenderPriorityGroup::RenderPriorityGroup | ( | RenderQueueGroup * | parent, |
bool | splitPassesByLightingType, | ||
bool | splitNoShadowPasses, | ||
bool | shadowCastersNotReceivers | ||
) |
|
inline |
|
inline |
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.
|
inline |
Get the collection of solids currently queued per light (only applicable in additive shadow modes).
|
inline |
Get the collection of solids currently queued for decal passes (only applicable in additive shadow modes).
|
inline |
Get the collection of solids for which shadow receipt is disabled (only applicable when shadows are enabled).
|
inline |
Get the collection of transparent objects currently queued.
|
inline |
Get the collection of transparent objects currently queued.
void Ogre::RenderPriorityGroup::resetOrganisationModes | ( | void | ) |
Reset the organisation modes required for the solids in this group.
Referenced by Ogre::RenderQueueGroup::addRenderable(), and Ogre::RenderQueueGroup::merge().
void Ogre::RenderPriorityGroup::addOrganisationMode | ( | QueuedRenderableCollection::OrganisationMode | om | ) |
Add a required sorting / grouping mode for the solids in this group.
Referenced by Ogre::RenderQueueGroup::addRenderable(), and Ogre::RenderQueueGroup::merge().
void Ogre::RenderPriorityGroup::defaultOrganisationMode | ( | void | ) |
Set the sorting / grouping mode for the solids in this group to the default.
void Ogre::RenderPriorityGroup::addRenderable | ( | Renderable * | pRend, |
Technique * | pTech | ||
) |
Add a renderable to this group.
Referenced by Ogre::RenderQueueGroup::addRenderable().
void Ogre::RenderPriorityGroup::sort | ( | const Camera * | cam | ) |
Sorts the objects which have been added to the queue; transparent objects by their depth in relation to the passed in Camera.
void Ogre::RenderPriorityGroup::clear | ( | void | ) |
Clears this group of renderables.
|
inline |
Sets whether or not the queue will split passes by their lighting type, ie ambient, per-light and decal.
|
inline |
Sets whether or not passes which have shadow receive disabled should be separated.
|
inline |
Sets whether or not objects which cast shadows should be treated as never receiving shadows.
void Ogre::RenderPriorityGroup::merge | ( | const RenderPriorityGroup * | rhs | ) |
Merge group of renderables.
Referenced by Ogre::RenderQueueGroup::merge().