summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-11 10:43:57 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-11 10:43:57 +0100
commite10f8cbf4018f9a5120f92a2a1ca38979dc88ef1 (patch)
tree36b3b17685a0a55392cae23192682acce0b88729 /doc/classes
parent43f2213325760241038c5944f246e998a4991639 (diff)
parent71d8de27635f7d1023ce622ac3c90ed85f59080d (diff)
Merge pull request #68186 from pkdawson/expose-texture-rd
Expose texture_get_rd_texture for scripts
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/RenderingServer.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml
index 1c02d58299..13e5470a56 100644
--- a/doc/classes/RenderingServer.xml
+++ b/doc/classes/RenderingServer.xml
@@ -3024,6 +3024,14 @@
<description>
</description>
</method>
+ <method name="texture_get_rd_texture" qualifiers="const">
+ <return type="RID" />
+ <param index="0" name="texture" type="RID" />
+ <param index="1" name="srgb" type="bool" default="false" />
+ <description>
+ Returns a texture [RID] that can be used with [RenderingDevice].
+ </description>
+ </method>
<method name="texture_proxy_create">
<return type="RID" />
<param index="0" name="base" type="RID" />