MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / DefaultRenderFunc

Method DefaultRenderFunc

LuaSTGPlus/LuaWrapper.cpp:746–754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744 return 0;
745 }
746 static int DefaultRenderFunc(lua_State* L)LNOEXCEPT
747 {
748 if (!lua_istable(L, 1))
749 return luaL_error(L, "invalid lstg object for 'DefaultRenderFunc'.");
750 lua_rawgeti(L, 1, 2); // t(object) ??? id
751 if (!LPOOL.DoDefaultRender(luaL_checkinteger(L, -1)))
752 return luaL_error(L, "invalid lstg object for 'DefaultRenderFunc'.");
753 return 0;
754 }
755 static int NextObject(lua_State* L)LNOEXCEPT
756 {
757 return LPOOL.NextObject(L);

Callers

nothing calls this directly

Calls 1

DoDefaultRenderMethod · 0.80

Tested by

no test coverage detected