class_imageformatloader.rst 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ImageFormatLoader.xml.
  6. .. _class_ImageFormatLoader:
  7. ImageFormatLoader
  8. =================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`ImageFormatLoaderExtension<class_ImageFormatLoaderExtension>`
  11. Base class to add support for specific image formats.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. The engine supports multiple image formats out of the box (PNG, SVG, JPEG, WebP to name a few), but you can choose to implement support for additional image formats by extending :ref:`ImageFormatLoaderExtension<class_ImageFormatLoaderExtension>`.
  16. .. rst-class:: classref-section-separator
  17. ----
  18. .. rst-class:: classref-descriptions-group
  19. Enumerations
  20. ------------
  21. .. _enum_ImageFormatLoader_LoaderFlags:
  22. .. rst-class:: classref-enumeration
  23. flags **LoaderFlags**:
  24. .. _class_ImageFormatLoader_constant_FLAG_NONE:
  25. .. rst-class:: classref-enumeration-constant
  26. :ref:`LoaderFlags<enum_ImageFormatLoader_LoaderFlags>` **FLAG_NONE** = ``0``
  27. .. _class_ImageFormatLoader_constant_FLAG_FORCE_LINEAR:
  28. .. rst-class:: classref-enumeration-constant
  29. :ref:`LoaderFlags<enum_ImageFormatLoader_LoaderFlags>` **FLAG_FORCE_LINEAR** = ``1``
  30. .. _class_ImageFormatLoader_constant_FLAG_CONVERT_COLORS:
  31. .. rst-class:: classref-enumeration-constant
  32. :ref:`LoaderFlags<enum_ImageFormatLoader_LoaderFlags>` **FLAG_CONVERT_COLORS** = ``2``
  33. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  34. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  35. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  36. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  37. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  38. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  39. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`