[core] Calculate hasPendingTransitions functionally rather than statefully

This commit is contained in:
John Firebaugh
2017-05-03 09:50:06 -07:00
parent d5f4d0f05f
commit 88093bd708
19 changed files with 60 additions and 25 deletions

View File

@@ -13,8 +13,11 @@ std::unique_ptr<RenderLayer> RenderCustomLayer::clone() const {
return std::make_unique<RenderCustomLayer>(*this);
}
bool RenderCustomLayer::evaluate(const PropertyEvaluationParameters&) {
void RenderCustomLayer::evaluate(const PropertyEvaluationParameters&) {
passes = RenderPass::Translucent;
}
bool RenderCustomLayer::hasTransition() const {
return false;
}