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.

FramebufferCacheRD

Eredita: Object

Gestore della cache del framebuffer per i renderer basati sul dispositivo di rendering.

Descrizione

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.

Metodi

RID

get_cache_multipass(textures: Array[RID], passes: Array[RDFramebufferPass], views: int) static


Descrizioni dei metodi

RID get_cache_multipass(textures: Array[RID], passes: Array[RDFramebufferPass], views: int) static 🔗

Crea o ottiene un framebuffer memorizzato nella cache. textures elenca le texture a cui si accede. passes definisce i sotto-passaggi e l'allocazione delle texture; se lasciato vuoto, viene creato un singolo passaggio e le texture vengono assegnate in base ai loro flag di utilizzo. views definisce il numero di viste utilizzate durante il rendering.