Visualization Library

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

vl::RenderQueueSorterByShader Class Reference

Sorts the RenderTokens by their Shader pointer. More...

#include <RenderQueueSorter.hpp>

Inheritance diagram for vl::RenderQueueSorterByShader:
vl::RenderQueueSorter vl::Object

List of all members.

Public Member Functions

 RenderQueueSorterByShader ()
virtual bool mightNeedZCameraDistance () const
virtual bool confirmZCameraDistanceNeed (const RenderToken *) const
virtual bool operator() (const RenderToken *a, const RenderToken *b) const

Detailed Description

Sorts the RenderTokens by their Shader pointer.

Definition at line 63 of file RenderQueueSorter.hpp.


Constructor & Destructor Documentation

vl::RenderQueueSorterByShader::RenderQueueSorterByShader ( ) [inline]

Definition at line 68 of file RenderQueueSorter.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

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

Implements vl::RenderQueueSorter.

Definition at line 72 of file RenderQueueSorter.hpp.

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

Implements vl::RenderQueueSorter.

Definition at line 73 of file RenderQueueSorter.hpp.

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

Implements vl::RenderQueueSorter.

Definition at line 74 of file RenderQueueSorter.hpp.

References vl::RenderToken::mShader.


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

Visualization Library 2011.09.1160 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 2 2013 13:41:35.
Permission is granted to use this page to write and publish articles regarding Visualization Library.