Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Public Attributes

vl::RenderQueueSorterAggressive Class Reference

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>

Inheritance diagram for vl::RenderQueueSorterAggressive:
vl::RenderQueueSorter vl::Object

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

vl::RenderQueueSorterAggressive::RenderQueueSorterAggressive (  ) [inline]

Member Function Documentation

virtual const char* vl::RenderQueueSorterAggressive::className (  ) [inline, virtual]

Returns the name of the class.

Reimplemented from vl::RenderQueueSorter.

virtual bool vl::RenderQueueSorterAggressive::mightNeedZCameraDistance (  ) const [inline, virtual]

Implements vl::RenderQueueSorter.

virtual bool vl::RenderQueueSorterAggressive::confirmZCameraDistanceNeed ( const RenderToken a ) const [inline, virtual]

Implements vl::RenderQueueSorter.

virtual bool vl::RenderQueueSorterAggressive::operator() ( const RenderToken a,
const RenderToken b 
) const [inline, virtual]

Implements vl::RenderQueueSorter.

EDepthSortMode vl::RenderQueueSorterAggressive::depthSortMode (  ) const [inline]
void vl::RenderQueueSorterAggressive::setDepthSortMode ( EDepthSortMode  mode ) [inline]

Member Data Documentation


The documentation for this class was generated from the following file:

Visualization Library v2010.11.1125 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Fri Nov 26 2010 10:33:51.
Permission is granted to use this page to write and publish articles regarding Visualization Library.