Registers a D function to be called from Lua. Code is modified from MrcSnm's example found in the HipremeEngine.
The Lua state to handle the data from the Lua side of things. Template params:
The function to be registered.
See Implementation
Registers a D function to be called from Lua. Code is modified from MrcSnm's example found in the HipremeEngine.