summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorPatrick Dawson <pat@dw.is>2022-11-01 18:50:36 +0100
committerPatrick Dawson <pat@dw.is>2022-11-03 05:27:24 +0100
commit71d8de27635f7d1023ce622ac3c90ed85f59080d (patch)
tree14a487717c2c51a6a9bed157cbaa5667c8435a58 /doc/classes
parent754552b34d3523a76656940145bd37328536292d (diff)
Expose texture_get_rd_texture
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" />