History

Gathering all the needed settings in one place

Sam Gateau committed 7 years ago

Commit aedc6311 parent 0862e405 files · +29 −5Browse files

Showing the changes to interface/src/scripting/RenderScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

interface/src/scripting/RenderScriptingInterface.cpp+5−0
@@ -48,6 +48,11 @@ void RenderScriptingInterface::setRenderMethod(RenderScriptingInterface::RenderM · 47 unmodified lines
4848 }
4949 }
5050
51+QStringList RenderScriptingInterface::getRenderMethodNames() const {
52+ static const QStringList refrenderMethodNames = { "Deferred", "Forward" };
53+ return refrenderMethodNames;
54+}
55+
5156 bool RenderScriptingInterface::getShadowsEnabled() {
5257 return _shadowsEnabledSetting.get();
5358 }