Showing the changes to libraries/render-utils/src/UpdateSceneTask.cpp (1 of 87 files). Show all
Unified · Split
| @@ -0,0 +1,28 @@ | ||
| 1 | +// | |
| 2 | +// UpdateSceneTask.cpp | |
| 3 | +// render-utils/src/ | |
| 4 | +// | |
| 5 | +// Created by Sam Gateau on 6/21/2017. | |
| 6 | +// Copyright 2017 High Fidelity, Inc. | |
| 7 | +// | |
| 8 | +// Distributed under the Apache License, Version 2.0. | |
| 9 | +// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | |
| 10 | +// | |
| 11 | +#include "UpdateSceneTask.h" | |
| 12 | + | |
| 13 | +#include <render/SceneTask.h> | |
| 14 | +#include "LightStage.h" | |
| 15 | +#include "BackgroundStage.h" | |
| 16 | +#include <render/TransitionStage.h> | |
| 17 | +#include "DeferredLightingEffect.h" | |
| 18 | + | |
| 19 | +void UpdateSceneTask::build(JobModel& task, const render::Varying& input, render::Varying& output) { | |
| 20 | + task.addJob<LightStageSetup>("LightStageSetup"); | |
| 21 | + task.addJob<BackgroundStageSetup>("BackgroundStageSetup"); | |
| 22 | + task.addJob<render::TransitionStageSetup>("TransitionStageSetup"); | |
| 23 | + | |
| 24 | + task.addJob<DefaultLightingSetup>("DefaultLightingSetup"); | |
| 25 | + | |
| 26 | + task.addJob<render::PerformSceneTransaction>("PerformSceneTransaction"); | |
| 27 | +} | |
| 28 | + | |