Changeset View
Changeset View
Standalone View
Standalone View
source/renderer/scripting/JSInterface_Renderer.h
Show All 23 Lines | #define DECLARE_BOOLEAN_SCRIPT_SETTING(NAME) \ | ||||
bool Get##NAME##Enabled(ScriptInterface::CxPrivate* pCxPrivate); \ | bool Get##NAME##Enabled(ScriptInterface::CxPrivate* pCxPrivate); \ | ||||
void Set##NAME##Enabled(ScriptInterface::CxPrivate* pCxPrivate, bool Enabled); | void Set##NAME##Enabled(ScriptInterface::CxPrivate* pCxPrivate, bool Enabled); | ||||
namespace JSI_Renderer | namespace JSI_Renderer | ||||
{ | { | ||||
std::string GetRenderPath(ScriptInterface::CxPrivate* pCxPrivate); | std::string GetRenderPath(ScriptInterface::CxPrivate* pCxPrivate); | ||||
void SetRenderPath(ScriptInterface::CxPrivate* pCxPrivate, const std::string& name); | void SetRenderPath(ScriptInterface::CxPrivate* pCxPrivate, const std::string& name); | ||||
void UpdateAntiAliasingTechnique(ScriptInterface::CxPrivate* pCxPrivate); | void UpdateAntiAliasingTechnique(ScriptInterface::CxPrivate* pCxPrivate); | ||||
void UpdateSharpeningTechnique(ScriptInterface::CxPrivate* pCxPrivate); | |||||
void UpdateSharpnessFactor(ScriptInterface::CxPrivate* pCxPrivate); | |||||
void RecreateShadowMap(ScriptInterface::CxPrivate* pCxPrivate); | void RecreateShadowMap(ScriptInterface::CxPrivate* pCxPrivate); | ||||
bool TextureExists(ScriptInterface::CxPrivate* pCxPrivate, const std::wstring& filename); | bool TextureExists(ScriptInterface::CxPrivate* pCxPrivate, const std::wstring& filename); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(Shadows); | DECLARE_BOOLEAN_SCRIPT_SETTING(Shadows); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(ShadowPCF); | DECLARE_BOOLEAN_SCRIPT_SETTING(ShadowPCF); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(Particles); | DECLARE_BOOLEAN_SCRIPT_SETTING(Particles); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(PreferGLSL); | DECLARE_BOOLEAN_SCRIPT_SETTING(PreferGLSL); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(WaterEffects); | DECLARE_BOOLEAN_SCRIPT_SETTING(WaterEffects); | ||||
Show All 19 Lines |
Wildfire Games · Phabricator