OpenGLSurface.Render event

From Xojo Documentation

Event


OpenGLSurface.Render() As Boolean

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.