In multi pass render, the fbo rendered and used in pass before maybe could be used in following left pass. As render graph system can infer which fbo's content in which pass stage is not need be keep, and can also find what kind of target need in left pass, we can design a fbo memory optimzaition sys for auto handle this.
Some fbo's content need forced be keep such as temperal ping pong buffer. Additional api related to this need to consider.
In multi pass render, the fbo rendered and used in pass before maybe could be used in following left pass. As render graph system can infer which fbo's content in which pass stage is not need be keep, and can also find what kind of target need in left pass, we can design a fbo memory optimzaition sys for auto handle this.
Some fbo's content need forced be keep such as temperal ping pong buffer. Additional api related to this need to consider.