0.2.0-dev Download ZIP
22 lines ·1.2 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="FramebufferCacheRD" inherits="Object" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Framebuffer cache manager for Rendering Device based renderers. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Framebuffer cache manager for [RenderingDevice]-based renderers. Provides a way to create a framebuffer and reuse it in subsequent calls for as long as the used textures exists. Framebuffers will automatically be cleaned up when dependent objects are freed. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <methods> |
| 12 | <method name="get_cache_multipass" qualifiers="static"> |
| 13 | <return type="RID" /> |
| 14 | <param index="0" name="textures" type="RID[]" /> |
| 15 | <param index="1" name="passes" type="RDFramebufferPass[]" /> |
| 16 | <param index="2" name="views" type="int" /> |
| 17 | <description> |
| 18 | Creates, or obtains a cached, framebuffer. [param textures] lists textures accessed. [param passes] defines the subpasses and texture allocation, if left empty a single pass is created and textures are allocated depending on their usage flags. [param views] defines the number of views used when rendering. |
| 19 | </description> |
| 20 | </method> |
| 21 | </methods> |
| 22 | </class> |