Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]

vl::RenderQueueSorterStandard Class Reference

Implements the default RenderQueueSorter. More...

#include <RenderQueueSorter.hpp>

Inheritance diagram for vl::RenderQueueSorterStandard:

vl::RenderQueueSorter vl::Object

List of all members.

Public Member Functions

virtual const char * className ()
 Returns the name of the class.
 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


Detailed Description

Implements the default RenderQueueSorter.

Sorts the RenderTokens by:

  1. Actor render block
  2. Effect render rank
  3. Actor render rank
  4. Solid objects first, translucent objects last
  5. Sort translucent objects back-to-front
  6. Sort solid objects by Shader
  7. Sort solid objects by Renderable

Constructor & Destructor Documentation

vl::RenderQueueSorterStandard::RenderQueueSorterStandard (  )  [inline]


Member Function Documentation

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

Returns the name of the class.

Reimplemented from vl::RenderQueueSorter.

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

Implements vl::RenderQueueSorter.

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

Implements vl::RenderQueueSorter.

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

Implements vl::RenderQueueSorter.

EDepthSortMode vl::RenderQueueSorterStandard::depthSortMode (  )  const [inline]

void vl::RenderQueueSorterStandard::setDepthSortMode ( EDepthSortMode  mode  )  [inline]


Member Data Documentation


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

Visualization Library v2009.08 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Fri Aug 28 10:14:14 2009.
Permission is granted to use this page to write and publish articles regarding Visualization Library.