Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Sorts the RenderTokens by Effect rank -> Actor rank -> blending on/off -> Z distance form the Camera -> GLSL program -> render state set -> enable set -> texture set -> light set -> Shader pointer -> Renderable pointer. More...
#include <RenderQueueSorter.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| RenderQueueSorterAggressive () | |
| 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 |
Sorts the RenderTokens by Effect rank -> Actor rank -> blending on/off -> Z distance form the Camera -> GLSL program -> render state set -> enable set -> texture set -> light set -> Shader pointer -> Renderable pointer.
Definition at line 287 of file RenderQueueSorter.hpp.
| vl::RenderQueueSorterAggressive::RenderQueueSorterAggressive | ( | ) | [inline] |
Definition at line 291 of file RenderQueueSorter.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| virtual const char* vl::RenderQueueSorterAggressive::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::RenderQueueSorter.
Definition at line 290 of file RenderQueueSorter.hpp.
| virtual bool vl::RenderQueueSorterAggressive::mightNeedZCameraDistance | ( | ) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 296 of file RenderQueueSorter.hpp.
| virtual bool vl::RenderQueueSorterAggressive::confirmZCameraDistanceNeed | ( | const RenderToken * | a ) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 297 of file RenderQueueSorter.hpp.
References vl::AlphaDepthSort, vl::AlwaysDepthSort, vl::Shader::blendingEnabled(), mDepthSortMode, vl::RenderToken::mShader, and vl::NeverDepthSort.
Referenced by operator()().
| virtual bool vl::RenderQueueSorterAggressive::operator() | ( | const RenderToken * | a, |
| const RenderToken * | b | ||
| ) | const [inline, virtual] |
Implements vl::RenderQueueSorter.
Definition at line 303 of file RenderQueueSorter.hpp.
References vl::AlwaysDepthSort, vl::Shader::blendingEnabled(), confirmZCameraDistanceNeed(), vl::Shader::getEnableSet(), vl::Shader::getRenderStateSet(), vl::Shader::glslProgram(), 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::RenderQueueSorterAggressive::depthSortMode | ( | ) | const [inline] |
Definition at line 360 of file RenderQueueSorter.hpp.
References mDepthSortMode.
| void vl::RenderQueueSorterAggressive::setDepthSortMode | ( | EDepthSortMode | mode ) | [inline] |
Definition at line 361 of file RenderQueueSorter.hpp.
References mDepthSortMode.
Definition at line 364 of file RenderQueueSorter.hpp.
Referenced by confirmZCameraDistanceNeed(), depthSortMode(), operator()(), and setDepthSortMode().