diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-07 20:53:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 20:53:09 +0200 |
commit | 96f41d6ada781b6ecfb0217c4847c11d3c1626ad (patch) | |
tree | d69f899e2783934565e13f74dc250d7f043b3966 /doc/classes | |
parent | d52a79ad2288f815f935f40a089b5fe0887188a6 (diff) | |
parent | c519a667ad2ddfbd9ce3e9537406cf108f25d74b (diff) |
Merge pull request #61284 from KoBeWi/steal_image()
Remove image property of ImageTexture
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Texture2D.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Texture2D.xml b/doc/classes/Texture2D.xml index 1bbebe085e..3721058d25 100644 --- a/doc/classes/Texture2D.xml +++ b/doc/classes/Texture2D.xml @@ -106,7 +106,8 @@ <method name="get_image" qualifiers="const"> <return type="Image" /> <description> - Returns an [Image] that is a copy of data from this [Texture2D]. [Image]s can be accessed and manipulated directly. + Returns an [Image] that is a copy of data from this [Texture2D] (a new [Image] is created each time). [Image]s can be accessed and manipulated directly. + [b]Note:[/b] This will fetch the texture data from the GPU, which might cause performance problems when overused. </description> </method> <method name="get_size" qualifiers="const"> |