Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
The MorphingCallback class is used by MorphingActor to implement the morphing animation on the GPU. More...
#include <MorphingActor.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| virtual void | operator() (const Camera *cam, Actor *actor, Renderable *renderable, const Shader *, int pass) |
| Called upon callback execution. | |
The MorphingCallback class is used by MorphingActor to implement the morphing animation on the GPU.
| virtual const char* vl::MorphingCallback::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::Object.
| void MorphingCallback::operator() | ( | const Camera * | cam, |
| Actor * | actor, | ||
| Renderable * | renderable, | ||
| const Shader * | shader, | ||
| int | pass | ||
| ) | [virtual] |
Called upon callback execution.
| cam | The camera used for the current rendering. |
| actor | The Actor bound to this rendering callback. |
| renderable | The currently selected Actor LOD. |
| shader | The currently active Shader. |
| pass | The current Actor[s] rendering pass. |
Implements vl::ActorRenderingCallback.