Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Implements the default RenderQueueSorter. More...
#include <RenderQueueSorter.hpp>
Public Member Functions | |
RenderQueueSorterStandard () | |
virtual bool | mightNeedZCameraDistance () const |
virtual bool | confirmZCameraDistanceNeed (const RenderToken *a) const |
virtual bool | operator() (const RenderToken *a, const RenderToken *b) const |
EDepthSortMode | depthSortMode () const |
void | setDepthSortMode (EDepthSortMode mode) |
Public Attributes | |
EDepthSortMode | mDepthSortMode |
Implements the default RenderQueueSorter.
Sorts the RenderTokens by:
Definition at line 149 of file RenderQueueSorter.hpp.
vl::RenderQueueSorterStandard::RenderQueueSorterStandard | ( | ) | [inline] |
Definition at line 154 of file RenderQueueSorter.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
virtual bool vl::RenderQueueSorterStandard::mightNeedZCameraDistance | ( | ) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 159 of file RenderQueueSorter.hpp.
virtual bool vl::RenderQueueSorterStandard::confirmZCameraDistanceNeed | ( | const RenderToken * | a ) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 160 of file RenderQueueSorter.hpp.
References vl::AlphaDepthSort, vl::AlwaysDepthSort, vl::Shader::isBlendingEnabled(), mDepthSortMode, vl::RenderToken::mShader, and vl::NeverDepthSort.
Referenced by operator()().
virtual bool vl::RenderQueueSorterStandard::operator() | ( | const RenderToken * | a, |
const RenderToken * | b | ||
) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 166 of file RenderQueueSorter.hpp.
References vl::AlwaysDepthSort, confirmZCameraDistanceNeed(), vl::Shader::isBlendingEnabled(), vl::RenderToken::mActor, vl::RenderToken::mCameraDistance, mDepthSortMode, vl::RenderToken::mEffectRenderRank, vl::RenderToken::mRenderable, vl::RenderToken::mShader, vl::Actor::renderBlock(), and vl::Actor::renderRank().
EDepthSortMode vl::RenderQueueSorterStandard::depthSortMode | ( | ) | const [inline] |
Definition at line 214 of file RenderQueueSorter.hpp.
References mDepthSortMode.
void vl::RenderQueueSorterStandard::setDepthSortMode | ( | EDepthSortMode | mode ) | [inline] |
Definition at line 215 of file RenderQueueSorter.hpp.
References mDepthSortMode.
Definition at line 218 of file RenderQueueSorter.hpp.
Referenced by confirmZCameraDistanceNeed(), depthSortMode(), operator()(), and setDepthSortMode().