This document is archived and information here might be outdated. Recommended version. |
Fired when drawing finishes.
[Visual Basic .NET] Public Event AfterDraw As AfterDrawEventHandler
[C#] public event AfterDrawEventHandler AfterDraw
[C++]
HRESULT AfterDraw(
ISceneViewer* pViewer
);
[C++] Parameters pViewer [in]
pViewer is a parameter of type ISceneViewer*
This event method is often used by an OpenGL routine that renders something after the main features in the scene are drawn. Just like the art of painting, one normally needs to draw the background first and then the main feature, followed by foreground features or other miscellaneous features. So this method is generally used for drawing of graphics after the background and the main features are drawn. It can also be used for executing some routines other than drawing.