mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
[V3.6.0 gfx] auto barrier added (#12118)
auto barrier added. Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
This commit is contained in:
@@ -184,5 +184,9 @@ Handle PassNode::getWriteResourceNodeHandle(const FrameGraph &graph, const Virtu
|
||||
return it == _writes.end() ? Handle{} : *it;
|
||||
}
|
||||
|
||||
void PassNode::setBarrier(const PassBarrierPair &barrier) {
|
||||
_barriers = barrier;
|
||||
}
|
||||
|
||||
} // namespace framegraph
|
||||
} // namespace cc
|
||||
|
||||
Reference in New Issue
Block a user