21#ifndef __LUARENDERERAPI_H__
22#define __LUARENDERERAPI_H__
61 static int RendererCreate( lua_State *pLuaState );
62 static int RendererDestroy( lua_State *pLuaState );
63 static int RendererGetCurrent( lua_State *pLuaState );
64 static int RendererGetConfig( lua_State *pLuaState );
65 static int RendererGetDefaultView( lua_State *pLuaState );
66 static int RendererGetBackend( lua_State *pLuaState );
67 static int RendererGetViewCount( lua_State *pLuaState );
69 static void RegisterEnums( lua_State *pLuaState );
73 static bool CheckHandle( lua_State *pLuaState,
int nIndex, std :: string &strError );
74 static bool ValidateZoomFactor(
double fFactor,
unsigned &nZoomPos, std :: string &strError );
75 static void Register( lua_State *pLuaState );
Renderer lifecycle Lua primitives: create the process's one renderer from a script,...
Definition luarendererapi.h:59
static void Register(lua_State *pLuaState)
Register the renderer lifecycle Lua-callable functions and constants.
Definition luarendererapi.cpp:806
static bool ValidateZoomFactor(double fFactor, unsigned &nZoomPos, std ::string &strError)
Check a zoom FACTOR and convert it to sunlight's zoom position.
Definition luarendererapi.cpp:87
static bool CheckHandle(lua_State *pLuaState, int nIndex, std ::string &strError)
Check that argument nIndex names the current renderer.
Definition luarendererapi.cpp:410
Definition irendererprovider.h:32