The OpenD Programming Language

SimpleWindow.redrawOpenGlScene

Put your code in here that you want to be drawn automatically when your window is uncovered. Set a handler here *before* entering your event loop any time you pass OpenGlOptions.yes to the constructor. Ideally, you will set this delegate immediately after constructing the SimpleWindow.

class SimpleWindow
version(!without_opengl)
void delegate() redrawOpenGlScene;

Meta