From eda4eacfce4f62ca09fb4f6559f9b7aeabe3cc31 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 5 Feb 2024 22:40:31 +0200 Subject: Raygui styles include properties, texture and font. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 61489c0..cc796da 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,10 @@ Application should now start successfully from executable. All functionality can ReiLua_API.lua can be put into project folder to provide annotations when using "Lua Language Server". +## Object unloading + +Some objects allocate memory that needs to be freed when object is no longer needed. By default objects like Textures are unloaded by the Lua garbage collector. It is generatty however recommended to handle this manually in more complex projects. You can change the behavior with SetGCUnload. + ## Interpreter Mode ReiLua can also be used to run single lua file using interpreter mode with arguments -i or --interpret. Given file will be called with dofile. Usage example: -- cgit v1.2.3