This callback is used to draw some elements on the screen after the 3D view has been drawn. More...
Public Member Functions | |
virtual | ~VgIEnginePostDrawCallback () |
Destructor. | |
virtual void | postDraw (VgIEngineContext *pContext)=0 |
This method is called after a 3D view is rendered. | |
void | setEngine (VgEngine::VgIEngine *pEngine) |
Set the engine associated with the callback. | |
Protected Member Functions | |
VgIEnginePostDrawCallback () | |
Constructor. |
This callback is used to draw some elements on the screen after the 3D view has been drawn.
virtual VgEngine::VgIEnginePostDrawCallback::~VgIEnginePostDrawCallback | ( | ) | [inline, virtual] |
Destructor.
Will automatically remove the object from the engine if has hasn't already been removed.
VgEngine::VgIEnginePostDrawCallback::VgIEnginePostDrawCallback | ( | ) | [inline, protected] |
Constructor.
virtual void VgEngine::VgIEnginePostDrawCallback::postDraw | ( | VgIEngineContext * | pContext ) | [pure virtual] |
This method is called after a 3D view is rendered.
pContext | the context used to draw on the screen. |
void VgEngine::VgIEnginePostDrawCallback::setEngine | ( | VgEngine::VgIEngine * | pEngine ) | [inline] |
Set the engine associated with the callback.
The is set automatically by the engine when the object is added as a listener of the post draw events.
pEngine | The engine to which this callback was added to. |