SoWinRenderAreaSetPostRenderCallback Method (SoWinRenderAreaRenderCallback) |
Note: This API is now obsolete.
Namespace: OIV.Inventor.Win
[EditorBrowsableAttribute(EditorBrowsableState.Never)] [ObsoleteAttribute("Use PostRenderCallback property instead.")] public void SetPostRenderCallback( SoWinRenderAreaRenderCallback cb )
Specifies the delegate to be invoked after the Open Inventor render traversal and immediately before the OpenGL buffer swap. Generally the application should not modify Open Inventor state in these delegates, but they can be useful for special effects using OpenGL calls.
When the delegate is invoked, Open Inventor has completed normal rendering (including delayed transparent objects, multi-pass, etc), but no "end of frame" calls (glFlush, glFinish, SwapBuffers...) have been made. The delegate should return true if "end of frame" handling has been done by the application (Open Inventor will do nothing in this case). If false is returned, Open Inventor will do its normal end of frame calls (normally calling SwapBuffers).