summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2022-08-05 11:59:58 +0200
committerJuan Linietsky <reduzio@gmail.com>2022-08-05 13:37:29 +0200
commitf999f52f0af98ad37f0a837f25786513e2862f79 (patch)
tree68a622b4c11c45a0e2405ff5f133860b3d613155 /doc
parent9c8e7031bf57d30a632f570c467c791836b73b2c (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 'doc')
-rw-r--r--doc/classes/RenderingDevice.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/RenderingDevice.xml b/doc/classes/RenderingDevice.xml
index 6248394b1a..3962f309de 100644
--- a/doc/classes/RenderingDevice.xml
+++ b/doc/classes/RenderingDevice.xml
@@ -305,6 +305,12 @@
<description>
</description>
</method>
+ <method name="framebuffer_is_valid" qualifiers="const">
+ <return type="bool" />
+ <argument index="0" name="framebuffer" type="RID" />
+ <description>
+ </description>
+ </method>
<method name="free_rid">
<return type="void" />
<argument index="0" name="rid" type="RID" />