#include <OgreRenderQueueSortingGrouping.h>
Public Types | |
typedef std::vector< Renderable * > | RenderableList |
typedef std::map< Material *, RenderableList > | MaterialGroupMap |
Map on material within each queue group, this is for non-transparent objects only. More... | |
typedef std::vector< Renderable * > | TransparentObjectList |
Transparent object list, these are not grouped by material but will be sorted by descending Z. More... | |
Public Methods | |
RenderPriorityGroup () | |
~RenderPriorityGroup () | |
void | addRenderable (Renderable *pRend) |
Add a renderable to this group. More... | |
void | sortTransparentObjects (const Camera *cam) |
Sorts the transparent objects which have been added to the queue by their depth in relation to the passed in Camera. More... | |
void | clear (void) |
Clears this group of renderables. More... | |
Protected Attributes | |
MaterialGroupMap | mMaterialGroups |
TransparentObjectList | mTransparentObjects |
Friends | |
class | Ogre::SceneManager |
This class optimises the grouped renderables by sorting them by material to reduce render state changes, and outsorts transparent objects.
|
Map on material within each queue group, this is for non-transparent objects only.
|
|
|
|
Transparent object list, these are not grouped by material but will be sorted by descending Z.
|
|
|
|
|
|
Add a renderable to this group.
|
|
Clears this group of renderables.
|
|
Sorts the transparent objects which have been added to the queue by their depth in relation to the passed in Camera.
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team