Fired when drawing finishes.
[Visual Basic 6.0] Event AfterDraw(
ByVal pViewer As ISceneViewer _
)
[Visual Basic .NET] Public Event AfterDraw As AfterDrawEventHandler
[C#] public event AfterDrawEventHandler AfterDraw
[C++] HRESULT AfterDraw( ISceneViewer* pViewer );
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.