RDFramebufferPass
Hereda: RefCounted < Object
Framebuffer pass attachment description (used by RenderingDevice).
Descripción
This class contains the list of attachment descriptions for a framebuffer pass. Each points with an index to a previously supplied list of texture attachments.
Multipass framebuffers can optimize some configurations in mobile. On desktop, they provide little to no advantage.
This object is used by RenderingDevice.
Propiedades
|
||
|
||
|
||
|
||
|
Constantes
ATTACHMENT_UNUSED = -1 🔗
El adjunto no se utiliza.
Descripciones de Propiedades
PackedInt32Array color_attachments = PackedInt32Array() 🔗
void set_color_attachments(value: PackedInt32Array)
PackedInt32Array get_color_attachments()
Adjuntos de color en orden a partir de 0. Si este adjunto no es utilizado por el shader, pasa ATTACHMENT_UNUSED para omitir.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.
Adjunto de profundidad. ATTACHMENT_UNUSED debe ser usado si no se requiere ningún búfer de profundidad para este pase.
PackedInt32Array input_attachments = PackedInt32Array() 🔗
void set_input_attachments(value: PackedInt32Array)
PackedInt32Array get_input_attachments()
Utilizado para búferes de fotogramas multipase (más de un pase de renderizado). Convierte un adjunto en una entrada. Asegúrate de suministrarlo también correctamente en el RDUniform para el conjunto uniforme.
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()
Adjuntos a preservar en este pase (de lo contrario, se borran).
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()
If the color attachments are multisampled, non-multisampled resolve attachments can be provided.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.