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...
RDFramebufferPass
Eredita: RefCounted < Object
Descrizione dell'allegato del passaggio del framebuffer (utilizzato da RenderingDevice).
Descrizione
Questa classe contiene la lista delle descrizioni degli allegati per un passaggio del framebuffer. Ciascuno punta con un indice a una lista di allegati di texture, fornita in precedenza.
I framebuffer multipassaggio possono ottimizzare alcune configurazioni sui dispositivi mobili. Su desktop, offrono pochi o nessun vantaggio.
Questo oggetto è utilizzato da RenderingDevice.
Proprietà
|
||
|
||
|
||
|
||
|
Costanti
ATTACHMENT_UNUSED = -1 🔗
L'allegato non è utilizzato.
Descrizioni delle proprietà
PackedInt32Array color_attachments = PackedInt32Array() 🔗
void set_color_attachments(value: PackedInt32Array)
PackedInt32Array get_color_attachments()
Allegati di colore in ordine a partire da 0. Se questo allegato non è utilizzato dallo shader, passa ATTACHMENT_UNUSED per saltare.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.
Allegato di profondità. ATTACHMENT_UNUSED dovrebbe essere usato se nessun buffer di profondità è necessario per questo passaggio.
PackedInt32Array input_attachments = PackedInt32Array() 🔗
void set_input_attachments(value: PackedInt32Array)
PackedInt32Array get_input_attachments()
Utilizzato per i framebuffer multipassaggio (più di un passaggio di rendering). Converte un allegato in un input. Assicurati di fornirlo correttamente anche in RDUniform per il set di uniformi.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.
PackedInt32Array preserve_attachments = PackedInt32Array() 🔗
void set_preserve_attachments(value: PackedInt32Array)
PackedInt32Array get_preserve_attachments()
Allegati da conservare in questo passaggio (altrimenti saranno cancellati).
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.
PackedInt32Array resolve_attachments = PackedInt32Array() 🔗
void set_resolve_attachments(value: PackedInt32Array)
PackedInt32Array get_resolve_attachments()
Se gli allegati di colore sono multicampionati, è possibile fornire allegati di risoluzione non multicampionati.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.