diff options
author | Juan Linietsky <reduzio@gmail.com> | 2022-08-05 11:59:58 +0200 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2022-08-05 13:37:29 +0200 |
commit | f999f52f0af98ad37f0a837f25786513e2862f79 (patch) | |
tree | 68a622b4c11c45a0e2405ff5f133860b3d613155 /servers/rendering/rendering_server_default.h | |
parent | 9c8e7031bf57d30a632f570c467c791836b73b2c (diff) |
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);
```
Diffstat (limited to 'servers/rendering/rendering_server_default.h')
0 files changed, 0 insertions, 0 deletions