19 #ifndef INCLUDED_JSINTERFACE_RENDERER
20 #define INCLUDED_JSINTERFACE_RENDERER
24 #define DECLARE_BOOLEAN_SCRIPT_SETTING(NAME) \
25 bool Get##NAME##Enabled(void* cbdata); \
26 void Set##NAME##Enabled(void* cbdata, bool Enabled);
28 namespace JSI_Renderer
50 #undef DECLARE_BOOLEAN_SCRIPT_SETTING
void RegisterScriptFunctions(ScriptInterface &scriptInterface)
void SetRenderPath(void *cbdata, std::string name)
DECLARE_BOOLEAN_SCRIPT_SETTING(Shadows)
std::string GetRenderPath(void *cbdata)
Abstraction around a SpiderMonkey JSContext.