Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/9chu/LuaSTGPlus
/ GetFPS
Method
GetFPS
LuaSTGPlus/LuaWrapper.cpp:459–463 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
457
return 0;
458
}
459
static int GetFPS(lua_State* L)LNOEXCEPT
460
{
461
lua_pushnumber(L, LAPP.GetFPS());
462
return 1;
463
}
464
static int SetVsync(lua_State* L)LNOEXCEPT
465
{
466
LAPP.SetVsync(lua_toboolean(L, 1) == 0 ? false : true);
Callers
1
OnUpdate
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected