diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2022-10-04 18:45:41 +0100 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2022-10-04 18:45:41 +0100 |
commit | 6d2aa8f1b6bb98adeb85b179bdfe87768d726857 (patch) | |
tree | 64f6278bc7957c969875e1bee4a40e3e0ee5cbcc | |
parent | e69b7083d45c5d8698508cce7086d361c4b1f44c (diff) |
Undo #51969, generate_mipmaps runs on caller thread.
-rw-r--r-- | doc/classes/Image.xml | 1 |
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"> |