mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Undo #51969, generate_mipmaps runs on caller thread.
This commit is contained in:
parent
e69b7083d4
commit
6d2aa8f1b6
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user