rDisplayListAlphaSensitive Class Reference

display list wrapper for display lists changing when the alpha blending setting changes More...

#include <rDisplayList.h>

Inheritance diagram for rDisplayListAlphaSensitive:

Inheritance graph
[legend]
Collaboration diagram for rDisplayListAlphaSensitive:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 rDisplayListAlphaSensitive ()

Protected Member Functions

virtual bool OnCall ()
 calls the display list, returns true if there was a list to call

Private Attributes

bool lastAlpha_
 the last alpha blending value


Detailed Description

display list wrapper for display lists changing when the alpha blending setting changes

Definition at line 116 of file rDisplayList.h.


Constructor & Destructor Documentation

rDisplayListAlphaSensitive::rDisplayListAlphaSensitive (  ) 

Definition at line 186 of file rDisplayList.cpp.

00187 : lastAlpha_( sr_alphaBlend )
00188 {}


Member Function Documentation

bool rDisplayListAlphaSensitive::OnCall (  )  [protected, virtual]

calls the display list, returns true if there was a list to call

Reimplemented from rDisplayList.

Definition at line 190 of file rDisplayList.cpp.

References lastAlpha_, rDisplayList::OnCall(), and sr_alphaBlend.

00191 {
00192     // check whether crucial settings changed
00193     if ( sr_alphaBlend != lastAlpha_ )
00194     {
00195         lastAlpha_ = sr_alphaBlend;
00196         return false;
00197     }
00198 
00199     return rDisplayList::OnCall();
00200 }

Here is the call graph for this function:


Member Data Documentation

bool rDisplayListAlphaSensitive::lastAlpha_ [private]

the last alpha blending value

Definition at line 125 of file rDisplayList.h.

Referenced by OnCall().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:52:24 2008 for Armagetron Advanced by  doxygen 1.5.4