Showing the changes to libraries/render-utils/src/RenderDeferredTask.cpp (1 of 4 files). Show all
Unified · Split
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "render/DrawTask.h" |
| 27 | 27 | #include "render/DrawStatus.h" |
| 28 | +#include "render/DrawSceneOctree.h" | |
| 28 | 29 | #include "AmbientOcclusionEffect.h" |
| 29 | 30 | #include "AntialiasingEffect.h" |
| 30 | 31 | |
| @@ -135,6 +136,13 @@ RenderDeferredTask::RenderDeferredTask(CullFunctor cullFunctor) : Task() { · 104 unmodified lines | ||
| 135 | 136 | _drawDebugDeferredBufferIndex = (int)_jobs.size() - 1; |
| 136 | 137 | enableJob(_drawDebugDeferredBufferIndex, false); |
| 137 | 138 | |
| 139 | + // Scene Octree Debuging job | |
| 140 | + { | |
| 141 | + addJob<DrawSceneOctree>("DrawSceneOctree"); | |
| 142 | + // _drawStatusJobIndex = (int)_jobs.size() - 1; | |
| 143 | + // enableJob(_drawStatusJobIndex, false); | |
| 144 | + } | |
| 145 | + | |
| 138 | 146 | // Status icon rendering job |
| 139 | 147 | { |
| 140 | 148 | // Grab a texture map representing the different status icons and assign that to the drawStatsuJob |