Skip to content
levovix0 edited this page Dec 14, 2020 · 1 revision

Here are all the events that can be received and processed in the run macro.

init

no params
no out
occurs after the window is created and before it is opened.

close

no params
no out
occurs after the window is closed.

render

params: () (RenderEngine)
out: Renderer
occurs when the window needs to render.
Can be requested using redraw(var Window)

resize

no params
out: newSize (oldSize, newSize)
occurs when the window resized.

Clone this wiki locally