From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DesktopOpenGLSurface.Render() As Boolean

New in 2021r3

Supported for all project types and targets.

Fires when you call the Render method. You can perform OpenGL drawing here and when this event exits, it will swap the image buffers for double-buffered OpenGL contexts.