Renderer: rewrite render scheduling (#8683)
This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
This commit is contained in:
parent
1cc1a46c2e
commit
e536b02248
42 changed files with 1576 additions and 775 deletions
17
src/render/pass/PassElement.cpp
Normal file
17
src/render/pass/PassElement.cpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include "PassElement.hpp"
|
||||
|
||||
std::optional<CBox> IPassElement::boundingBox() {
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
CRegion IPassElement::opaqueRegion() {
|
||||
return {};
|
||||
}
|
||||
|
||||
bool IPassElement::disableSimplification() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void IPassElement::discard() {
|
||||
;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue