summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-05 08:31:07 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-05 08:31:07 +0200
commit53952d4b9807562c539e19a6cd84ec08e04c799a (patch)
tree6fc455567f5e2d3b66c4a17356890d8dd4b5a158 /doc
parentc3e929cce6b7ec0bcd6d3c1af70995d21d2d5b3b (diff)
parent6d2aa8f1b6bb98adeb85b179bdfe87768d726857 (diff)
Merge pull request #66895 from Zylann/undo_51969
Undo #51969, generate_mipmaps runs on caller thread.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Image.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index b138a55ea3..510f14ec54 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -197,7 +197,6 @@
<param index="0" name="renormalize" type="bool" default="false" />
<description>
Generates mipmaps for the image. Mipmaps are precalculated lower-resolution copies of the image that are automatically used if the image needs to be scaled down when rendered. They help improve image quality and performance when rendering. This method returns an error if the image is compressed, in a custom format, or if the image's width/height is [code]0[/code].
- [b]Note:[/b] Mipmap generation is done on the CPU, is single-threaded and is [i]always[/i] done on the main thread. This means generating mipmaps will result in noticeable stuttering during gameplay, even if [method generate_mipmaps] is called from a [Thread].
</description>
</method>
<method name="get_data" qualifiers="const">