|
Nokia N97 SDK Example Applications Guide |
#include <Slideshowrenderers.h>
Inheritance diagram for CMaskTransition:

This transition effect uses a mask texture to fade in a picture. It uses OpenGL ES texture environment combiners to modulate the picture with the mask.
Definition at line 65 of file Slideshowrenderers.h.
Public Types |
|
| enum | TSweepStyle { ESweepHorizontal, ESweepVertical, ESweepCurved, ESweepCurved2 } |
Public Member Functions |
|
| CMaskTransition (const TTexture &mask, TSweepStyle sweepStyle) | |
| virtual void | Render (const TTexture &texture, GLfloat ratio) |
Private Attributes |
|
| TSweepStyle | iSweepStyle |
| const TTexture & | iMask |
|
|
Different mask sweeping styles supported by the effect. Definition at line 71 of file Slideshowrenderers.h. 00072 { 00073 ESweepHorizontal, 00074 ESweepVertical, 00075 ESweepCurved, 00076 ESweepCurved2, 00077 };
|
|
||||||||||||
|
Constructor.
Definition at line 70 of file Slideshowrenderers.cpp. 00070 : 00071 iSweepStyle(sweepStyle), iMask(mask) 00072 { 00073 }
|
|
||||||||||||
|
Draw a gradually appearing picture. The previous picture is assumed to already be on the screen.
Implements MTransitionRenderer. |
|
|
Selected sweep style for this instance Definition at line 90 of file Slideshowrenderers.h. |
|
|
Mask texture Definition at line 92 of file Slideshowrenderers.h. |
|
© Nokia 2009 |