Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Sorts the RenderTokens by their Effect rank -> Actor rank -> Shader pointer -> Renderable pointer. More...
#include <RenderQueueSorter.hpp>
Public Member Functions | |
RenderQueueSorterBasic () | |
virtual bool | mightNeedZCameraDistance () const |
virtual bool | confirmZCameraDistanceNeed (const RenderToken *) const |
virtual bool | operator() (const RenderToken *a, const RenderToken *b) const |
Sorts the RenderTokens by their Effect rank -> Actor rank -> Shader pointer -> Renderable pointer.
Definition at line 104 of file RenderQueueSorter.hpp.
vl::RenderQueueSorterBasic::RenderQueueSorterBasic | ( | ) | [inline] |
Definition at line 109 of file RenderQueueSorter.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
virtual bool vl::RenderQueueSorterBasic::mightNeedZCameraDistance | ( | ) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 113 of file RenderQueueSorter.hpp.
virtual bool vl::RenderQueueSorterBasic::confirmZCameraDistanceNeed | ( | const RenderToken * | ) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 114 of file RenderQueueSorter.hpp.
virtual bool vl::RenderQueueSorterBasic::operator() | ( | const RenderToken * | a, |
const RenderToken * | b | ||
) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 115 of file RenderQueueSorter.hpp.
References vl::RenderToken::mActor, vl::RenderToken::mEffectRenderRank, vl::RenderToken::mRenderable, vl::RenderToken::mShader, vl::Actor::renderBlock(), and vl::Actor::renderRank().