| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="ImageFormatLoader" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Base class to add support for specific image formats. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | 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 [ImageFormatLoaderExtension]. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <constants> |
| 12 | <constant name="FLAG_NONE" value="0" enum="LoaderFlags" is_bitfield="true"> |
| 13 | </constant> |
| 14 | <constant name="FLAG_FORCE_LINEAR" value="1" enum="LoaderFlags" is_bitfield="true"> |
| 15 | </constant> |
| 16 | <constant name="FLAG_CONVERT_COLORS" value="2" enum="LoaderFlags" is_bitfield="true"> |
| 17 | </constant> |
| 18 | </constants> |
| 19 | </class> |