Messing around

This commit is contained in:
Sam Gateau 2019-06-06 16:37:49 -07:00
parent 73ac38a6a6
commit d406e52d71
2 changed files with 8 additions and 0 deletions

View file

@ -13,6 +13,7 @@
#include <platform/Profiler.h>
#include "scripting/RenderScriptingInterface.h"
#include "LODManager.h"
PerformanceManager::PerformanceManager()
{
@ -68,6 +69,8 @@ void PerformanceManager::applyPerformancePreset(PerformanceManager::PerformanceP
RenderScriptingInterface::getInstance()->setShadowsEnabled(true);
qApp->getRefreshRateManager().setRefreshRateProfile(RefreshRateManager::RefreshRateProfile::REALTIME);
// DependencyManager::get<LODManager>()->setWorldDetailQuality()
break;
case PerformancePreset::MID:
RenderScriptingInterface::getInstance()->setRenderMethod(RenderScriptingInterface::RenderMethod::DEFERRED);

View file

@ -0,0 +1,5 @@
var window = Desktop.createWindow(Script.resolvePath('./lod.qml'), {
title: "LOD Setup",
presentationMode: Desktop.PresentationMode.NATIVE,
size: {x: 350, y: 500}
});