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¶
继承: RefCounted < Object
派生: ImageFormatLoaderExtension
用于添加特定图像格式支持的基类。
描述¶
该引擎支持多种开箱即用的图像格式(PNG、SVG、JPEG、WebP 等),但也可以选择通过扩展 ImageFormatLoaderExtension,来实现对其他图像格式的支持。
枚举¶
flags LoaderFlags:
LoaderFlags FLAG_NONE = 0
LoaderFlags FLAG_FORCE_LINEAR = 1
LoaderFlags FLAG_CONVERT_COLORS = 2