diff options
| author | jussi | 2024-11-22 14:57:31 +0200 |
|---|---|---|
| committer | jussi | 2024-11-22 14:57:31 +0200 |
| commit | cb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1 (patch) | |
| tree | e64efb0dedce13c03011186de34c72a06cad1757 /ReiLua_API.lua | |
| parent | c9ebe23d6282e96b410dc7687e0be1c4f3ba1b4d (diff) | |
| download | reilua-enhanced-cb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1.tar.gz reilua-enhanced-cb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1.tar.bz2 reilua-enhanced-cb2b0e4dff5e1d98054f9e5f809fd3a14cd220a1.zip | |
WindowShouldClose and custom main loop example.
Diffstat (limited to 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index f68df06..f757083 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -1337,6 +1337,11 @@ function RL.InitWindow( size, title ) end ---@return any RL.CloseWindow function RL.CloseWindow() end +---Check if application should close (KEY_ESCAPE pressed or windows close icon clicked). +---Note! Not needed unless you want to make custom main loop +---@return any RL.WindowShouldClose +function RL.WindowShouldClose() end + ---Check if window has been initialized successfully ---- Success return bool ---@return any state |
