Add an option to disable boot splash filtering

Disabling filtering is usually desired in projects using a pixel art style.

This closes #19415.
This commit is contained in:
Hugo Locurcio
2019-06-13 22:37:19 +02:00
parent bd937ea397
commit 786a7341a7
13 changed files with 19 additions and 16 deletions

View File

@@ -3157,8 +3157,10 @@
</argument>
<argument index="2" name="scale" type="bool">
</argument>
<argument index="3" name="use_filter" type="bool" default="true">
</argument>
<description>
Sets a boot image. The color defines the background color and if scale is [code]true[/code] the image will be scaled to fit the screen size.
Sets a boot image. The color defines the background color. If [code]scale[/code] is [code]true[/code], the image will be scaled to fit the screen size. If [code]use_filter[/code] is [code]true[/code], the image will be scaled with linear interpolation. If [code]use_filter[/code] is [code]false[/code], the image will be scaled with nearest-neighbor interpolation.
</description>
</method>
<method name="set_debug_generate_wireframes">