|
Graphite Version 3
An experimental 3D geometry processing program
|
Functions to exchange objects between Lua and Graphite. More...
Go to the source code of this file.
Namespaces | |
| namespace | OGF |
| Global Graphite namespace. | |
Functions | |
| void | OGF::GOMLua::lua_pushgraphiteval (lua_State *L, const Any &value) |
| Pushes a value on the LUA stack. | |
| void | OGF::GOMLua::lua_tographiteval (lua_State *L, int index, Any &result, MetaType *mtype=nullptr) |
| Converts a LUA value to a graphite value stored in an Any. | |
Functions to exchange objects between Lua and Graphite.
Definition in file interop.h.
| void OGF::GOMLua::lua_pushgraphiteval | ( | lua_State * | L, |
| const Any & | value | ||
| ) |
Pushes a value on the LUA stack.
The GOM meta type mtype is used to determine the type of the LUA value pushed onto the stack.
| [in] | L | a pointer to the LUA state. |
| [in] | value | the value represented by an Any |
| void OGF::GOMLua::lua_tographiteval | ( | lua_State * | L, |
| int | index, | ||
| Any & | result, | ||
| MetaType * | mtype = nullptr |
||
| ) |
Converts a LUA value to a graphite value stored in an Any.
| [in] | L | a pointer to the LUA state. |
| [in] | index | the stack index of the LUA object to be converted. |
| [out] | result | the result wrapped in an Any |
| [in] | mtype | the optional desired metatype |