Files
godot-docs-l10n/classes/zh_Hant/class_imageformatloader.rst

81 lines
2.9 KiB
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:github_url: hide
.. _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
There is currently no description for this enum. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
.. _class_ImageFormatLoader_constant_FLAG_FORCE_LINEAR:
.. rst-class:: classref-enumeration-constant
:ref:`LoaderFlags<enum_ImageFormatLoader_LoaderFlags>` **FLAG_FORCE_LINEAR** = ``1``
.. container:: contribute
There is currently no description for this enum. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
.. _class_ImageFormatLoader_constant_FLAG_CONVERT_COLORS:
.. rst-class:: classref-enumeration-constant
:ref:`LoaderFlags<enum_ImageFormatLoader_LoaderFlags>` **FLAG_CONVERT_COLORS** = ``2``
.. container:: contribute
There is currently no description for this enum. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
.. |virtual| replace:: :abbr:`virtual (本方法通常需要使用者覆寫才能生效。)`
.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
.. |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 (無回傳值。)`