Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/renderer/scripting/JSInterface_Renderer.h
Show All 15 Lines | |||||
*/ | */ | ||||
#ifndef INCLUDED_JSINTERFACE_RENDERER | #ifndef INCLUDED_JSINTERFACE_RENDERER | ||||
#define INCLUDED_JSINTERFACE_RENDERER | #define INCLUDED_JSINTERFACE_RENDERER | ||||
#include "scriptinterface/ScriptInterface.h" | #include "scriptinterface/ScriptInterface.h" | ||||
#define DECLARE_BOOLEAN_SCRIPT_SETTING(NAME) \ | #define DECLARE_BOOLEAN_SCRIPT_SETTING(NAME) \ | ||||
bool Get##NAME##Enabled(ScriptInterface::CxPrivate* pCxPrivate); \ | bool Get##NAME##Enabled(ScriptInterface::CmptPrivate* pCmptPrivate); \ | ||||
void Set##NAME##Enabled(ScriptInterface::CxPrivate* pCxPrivate, bool Enabled); | void Set##NAME##Enabled(ScriptInterface::CmptPrivate* pCmptPrivate, bool Enabled); | ||||
namespace JSI_Renderer | namespace JSI_Renderer | ||||
{ | { | ||||
std::string GetRenderPath(ScriptInterface::CxPrivate* pCxPrivate); | std::string GetRenderPath(ScriptInterface::CmptPrivate* pCmptPrivate); | ||||
void SetRenderPath(ScriptInterface::CxPrivate* pCxPrivate, const std::string& name); | void SetRenderPath(ScriptInterface::CmptPrivate* pCmptPrivate, const std::string& name); | ||||
void UpdateAntiAliasingTechnique(ScriptInterface::CxPrivate* pCxPrivate); | void UpdateAntiAliasingTechnique(ScriptInterface::CmptPrivate* pCmptPrivate); | ||||
void UpdateSharpeningTechnique(ScriptInterface::CxPrivate* pCxPrivate); | void UpdateSharpeningTechnique(ScriptInterface::CmptPrivate* pCmptPrivate); | ||||
void UpdateSharpnessFactor(ScriptInterface::CxPrivate* pCxPrivate); | void UpdateSharpnessFactor(ScriptInterface::CmptPrivate* pCmptPrivate); | ||||
void RecreateShadowMap(ScriptInterface::CxPrivate* pCxPrivate); | void RecreateShadowMap(ScriptInterface::CmptPrivate* pCmptPrivate); | ||||
bool TextureExists(ScriptInterface::CxPrivate* pCxPrivate, const std::wstring& filename); | bool TextureExists(ScriptInterface::CmptPrivate* pCmptPrivate, 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); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(WaterFancyEffects); | DECLARE_BOOLEAN_SCRIPT_SETTING(WaterFancyEffects); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(WaterRealDepth); | DECLARE_BOOLEAN_SCRIPT_SETTING(WaterRealDepth); | ||||
Show All 17 Lines |
Wildfire Games · Phabricator