Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
FramebufferCacheRD
继承: Object
基于渲染设备的渲染器的帧缓冲区缓存管理器。
描述
基于渲染设备的渲染器的帧缓冲区缓存管理器。提供一种创建帧缓冲区并在后续调用中重用它(只要使用的纹理存在)的方法。当依赖的对象被释放时,帧缓冲区将被自动清理。
方法
get_cache_multipass(textures: Array[RID], passes: Array[RDFramebufferPass], views: int) static |
方法说明
RID get_cache_multipass(textures: Array[RID], passes: Array[RDFramebufferPass], views: int) static 🔗
创建或获取缓存的帧缓冲区。textures
列出访问的纹理。passes
定义子通道和纹理分配,如果留空,则会创建单个通道并根据其使用标志分配纹理。views
定义渲染时使用的视图数量。