Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [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 v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:11.
Permission is granted to use this page to write and publish articles regarding Visualization Library.