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...
ImageFormatLoader
Eredita: RefCounted < Object
Ereditato da: ImageFormatLoaderExtension
Classe di base per aggiungere supporto a formati di immagine specifici.
Descrizione
Il motore supporta diversi formati di immagine predefiniti (PNG, SVG, JPEG, WebP per citarne alcuni), ma è possibile scegliere di implementare il supporto per formati di immagine aggiuntivi estendendo ImageFormatLoaderExtension.
Enumerazioni
flags LoaderFlags: 🔗
LoaderFlags FLAG_NONE = 0
Comportamento di caricamento predefinito. L'immagine non viene elaborata in alcun modo.
LoaderFlags FLAG_FORCE_LINEAR = 1
Se impostato, l'immagine viene convertita dalla codifica sRGB alla codifica lineare.
LoaderFlags FLAG_CONVERT_COLORS = 2
Se impostato, viene applicata una mappa di colori predefinita all'immagine. Utilizzato quando ResourceImporterTexture.editor/convert_colors_with_editor_theme è true.