20 lines
891 B
XML
20 lines
891 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="ImageFormatLoader" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Base class to add support for specific image formats.
|
|
</brief_description>
|
|
<description>
|
|
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].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<constants>
|
|
<constant name="FLAG_NONE" value="0" enum="LoaderFlags" is_bitfield="true">
|
|
</constant>
|
|
<constant name="FLAG_FORCE_LINEAR" value="1" enum="LoaderFlags" is_bitfield="true">
|
|
</constant>
|
|
<constant name="FLAG_CONVERT_COLORS" value="2" enum="LoaderFlags" is_bitfield="true">
|
|
</constant>
|
|
</constants>
|
|
</class>
|