mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 05:57:29 +02:00
cleaning indentation
This commit is contained in:
parent
e70ab472af
commit
2bbd5d86b8
1 changed files with 9 additions and 13 deletions
|
@ -52,25 +52,21 @@ void ToneMappingDeferred::run(const SceneContextPointer& sceneContext, const Ren
|
||||||
RenderDeferredTask::RenderDeferredTask() : Task() {
|
RenderDeferredTask::RenderDeferredTask() : Task() {
|
||||||
// CPU only, create the list of renderedOpaques items
|
// CPU only, create the list of renderedOpaques items
|
||||||
_jobs.push_back(Job(new FetchItems::JobModel("FetchOpaque",
|
_jobs.push_back(Job(new FetchItems::JobModel("FetchOpaque",
|
||||||
FetchItems(
|
FetchItems([](const RenderContextPointer& context, int count) {
|
||||||
[](const RenderContextPointer& context, int count) {
|
context->_numFeedOpaqueItems = count;
|
||||||
context->_numFeedOpaqueItems = count;
|
})
|
||||||
}
|
)));
|
||||||
)
|
|
||||||
)));
|
|
||||||
_jobs.push_back(Job(new CullItemsOpaque::JobModel("CullOpaque", _jobs.back().getOutput())));
|
_jobs.push_back(Job(new CullItemsOpaque::JobModel("CullOpaque", _jobs.back().getOutput())));
|
||||||
_jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortOpaque", _jobs.back().getOutput())));
|
_jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortOpaque", _jobs.back().getOutput())));
|
||||||
auto& renderedOpaques = _jobs.back().getOutput();
|
auto& renderedOpaques = _jobs.back().getOutput();
|
||||||
|
|
||||||
// CPU only, create the list of renderedTransparents items
|
// CPU only, create the list of renderedTransparents items
|
||||||
_jobs.push_back(Job(new FetchItems::JobModel("FetchTransparent",
|
_jobs.push_back(Job(new FetchItems::JobModel("FetchTransparent",
|
||||||
FetchItems(
|
FetchItems(ItemFilter::Builder::transparentShape().withoutLayered(),
|
||||||
ItemFilter::Builder::transparentShape().withoutLayered(),
|
[](const RenderContextPointer& context, int count) {
|
||||||
[](const RenderContextPointer& context, int count) {
|
context->_numFeedTransparentItems = count;
|
||||||
context->_numFeedTransparentItems = count;
|
})
|
||||||
}
|
)));
|
||||||
)
|
|
||||||
)));
|
|
||||||
_jobs.push_back(Job(new CullItemsTransparent::JobModel("CullTransparent", _jobs.back().getOutput())));
|
_jobs.push_back(Job(new CullItemsTransparent::JobModel("CullTransparent", _jobs.back().getOutput())));
|
||||||
_jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortTransparent", _jobs.back().getOutput(), DepthSortItems(false))));
|
_jobs.push_back(Job(new DepthSortItems::JobModel("DepthSortTransparent", _jobs.back().getOutput(), DepthSortItems(false))));
|
||||||
auto& renderedTransparents = _jobs.back().getOutput();
|
auto& renderedTransparents = _jobs.back().getOutput();
|
||||||
|
|
Loading…
Reference in a new issue