# LuxModule: luxinialuacore

The luxinia lua core contains the most useful utility functions. These handle the console, the timercallback and the keyboard / mouse event events, the module core and the autodoc system.

The 'luxinia' table can have following fields:

1. think: a function that is called every frame after rendering. The default function takes care of the the Timers.
2. windowresized: The default function calls functions registered with UtilFunctions.addWindowResizeListener.

These functions also reside in the table for advanced access.

1. framebegin:
2. framepostvistest:
3. framepostl3d:
4. frameend:

The 'luxiniaptrs' table has following fields:

1. fmcache: lightuserdata pointer to FastMathCache_t (luxmath library)
2. refsys: lightuserdata pointer to LuxiniaRefSys_t (luxinia library)
3. fpub: lightuserdata pointer to LuxiniaFPub_t (luxinia library)

Please do not alter those! They are typically read on "mymodule_luaopen" in lua dll extenders.

## Class overview