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
Hérite de : RefCounted < Object
Hérité par : ImageFormatLoaderExtension
Classe de base pour ajouter du support pour des formats d'image spécifiques.
Description
Le moteur prend en charge plusieurs formats d'image (PNG, SVG, JPEG, WebP pour n'en nommer que quelques-uns), mais vous pouvez choisir d'implémenter du support pour des formats d'image supplémentaires en étendant ImageFormatLoaderExtension.
Énumérations
flags LoaderFlags: 🔗
LoaderFlags FLAG_NONE = 0
Default loading behavior. No processing is applied to the image.
LoaderFlags FLAG_FORCE_LINEAR = 1
If set, the image is converted from sRGB to linear encoding.
LoaderFlags FLAG_CONVERT_COLORS = 2
If set, a predefined color map is applied to the image. Used when ResourceImporterTexture.editor/convert_colors_with_editor_theme is true.