mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
85 lines
2.8 KiB
ReStructuredText
85 lines
2.8 KiB
ReStructuredText
:github_url: hide
|
||
|
||
.. DO NOT EDIT THIS FILE!!!
|
||
.. Generated automatically from Godot engine sources.
|
||
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
|
||
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ImageFormatLoader.xml.
|
||
|
||
.. _class_ImageFormatLoader:
|
||
|
||
ImageFormatLoader
|
||
=================
|
||
|
||
**继承:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
|
||
|
||
**派生:** :ref:`ImageFormatLoaderExtension<class_ImageFormatLoaderExtension>`
|
||
|
||
用于添加特定图像格式支持的基类。
|
||
|
||
.. rst-class:: classref-introduction-group
|
||
|
||
描述
|
||
----
|
||
|
||
该引擎支持多种开箱即用的图像格式(PNG、SVG、JPEG、WebP 等),但也可以选择通过扩展 :ref:`ImageFormatLoaderExtension<class_ImageFormatLoaderExtension>`\ ,来实现对其他图像格式的支持。
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
枚举
|
||
----
|
||
|
||
.. _enum_ImageFormatLoader_LoaderFlags:
|
||
|
||
.. rst-class:: classref-enumeration
|
||
|
||
flags **LoaderFlags**: :ref:`🔗<enum_ImageFormatLoader_LoaderFlags>`
|
||
|
||
.. _class_ImageFormatLoader_constant_FLAG_NONE:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`LoaderFlags<enum_ImageFormatLoader_LoaderFlags>` **FLAG_NONE** = ``0``
|
||
|
||
.. container:: contribute
|
||
|
||
该枚举目前没有描述,请帮我们\ :ref:`贡献一个 <doc_updating_the_class_reference>`\ 吧!
|
||
|
||
|
||
|
||
.. _class_ImageFormatLoader_constant_FLAG_FORCE_LINEAR:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`LoaderFlags<enum_ImageFormatLoader_LoaderFlags>` **FLAG_FORCE_LINEAR** = ``1``
|
||
|
||
.. container:: contribute
|
||
|
||
该枚举目前没有描述,请帮我们\ :ref:`贡献一个 <doc_updating_the_class_reference>`\ 吧!
|
||
|
||
|
||
|
||
.. _class_ImageFormatLoader_constant_FLAG_CONVERT_COLORS:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`LoaderFlags<enum_ImageFormatLoader_LoaderFlags>` **FLAG_CONVERT_COLORS** = ``2``
|
||
|
||
.. container:: contribute
|
||
|
||
该枚举目前没有描述,请帮我们\ :ref:`贡献一个 <doc_updating_the_class_reference>`\ 吧!
|
||
|
||
|
||
|
||
.. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)`
|
||
.. |const| replace:: :abbr:`const (本方法无副作用,不会修改该实例的任何成员变量。)`
|
||
.. |vararg| replace:: :abbr:`vararg (本方法除了能接受在此处描述的参数外,还能够继续接受任意数量的参数。)`
|
||
.. |constructor| replace:: :abbr:`constructor (本方法用于构造某个类型。)`
|
||
.. |static| replace:: :abbr:`static (调用本方法无需实例,可直接使用类名进行调用。)`
|
||
.. |operator| replace:: :abbr:`operator (本方法描述的是使用本类型作为左操作数的有效运算符。)`
|
||
.. |bitfield| replace:: :abbr:`BitField (这个值是由下列位标志构成位掩码的整数。)`
|
||
.. |void| replace:: :abbr:`void (无返回值。)`
|