2
0
Fork 0
Commit Graph

1 Commits (ff4e72a0bcf8ee1b8db2cb492397866559d17a73)

Author SHA1 Message Date
Juan Linietsky f999f52f0a Add a Framebuffer cache
Adds a FramebufferCache singletion that operates the same way as UniformSetCache.

Allows creating framebuffers on the fly (and keep them cached if re-requested) such as:

```C++
RID fb = FramebufferCache::get_singleton()->get_cache(texture1,texture2);
```
2022-08-05 13:37:29 +07:00