graph refresh bug fix
@@ -634,7 +634,8 @@ private void preRenderUpdate(RenderingStage renderingStage) {
renderableWorld.queueVisibleChunks(isFirstRenderingStageForCurrentFrame);
if (requestedTaskListRefresh) {
- renderTaskListGenerator.refresh();
+ List<Node> orderedNodes = renderGraph.getNodesInTopologicalOrder();
+ renderPipelineTaskList = renderTaskListGenerator.generateFrom(orderedNodes);
requestedTaskListRefresh = false;
}
}
@@ -773,6 +774,11 @@ public RenderingStage getCurrentRenderStage() {
return currentRenderingStage;
}
+ @Override
+ public RenderGraph getRenderGraph() {
+ return renderGraph;
+ }
+
/**
* Forces a recompilation of all shaders. This command, backed by Gestalt's monitoring feature,
* allows developers to hot-swap shaders for easy development.
