Module ncinelua

Additional functions available in the Lua distribution of the nCine

Functions

reload_script () Reloads the current script if it the source file was modified.
For a fast reload to work correctly, every object should be set to nil after deletion.
is_gui_hidden () Returns true if the ImGui debug interface is currently not visible.
show_gui (show) Shows or hides the ImGui debug interface.


Functions

reload_script ()
Reloads the current script if it the source file was modified.
For a fast reload to work correctly, every object should be set to nil after deletion.

This function is only available when running a script with the ncinelua executable from a nCine Lua distribution or with apptest_lua.

is_gui_hidden ()
Returns true if the ImGui debug interface is currently not visible.

This function is only available when running a script with the ncinelua executable from a nCine Lua distribution or with apptest_lua.

Returns:

    boolean
show_gui (show)
Shows or hides the ImGui debug interface.

This function is only available when running a script with the ncinelua executable from a nCine Lua distribution or with apptest_lua.

Parameters:

  • show boolean
generated by LDoc 1.5.0 Last updated 2024-12-18 15:08:56