diff options
author | Bastiaan Olij <mux213@gmail.com> | 2023-03-31 11:28:53 +1100 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2023-05-12 12:07:01 +0200 |
commit | a5cb7a5eb5134957ccc9bff5b6a2f78aa54078d6 (patch) | |
tree | 4b431964a325f41acaade7bd1fc85fe10f9a4e87 /doc | |
parent | 0277f57b6fdeafb18478bd404b8c2610bedc60d1 (diff) |
Expose viewports render targer RID
(cherry picked from commit ab60d3b65ce990a44fe595ec0860c0ae9ce9358d)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/RenderingServer.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index 08c1cc4bd3..05ac18c7fe 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -3215,6 +3215,13 @@ <description> </description> </method> + <method name="viewport_get_render_target" qualifiers="const"> + <return type="RID" /> + <param index="0" name="viewport" type="RID" /> + <description> + Returns the render target for the viewport. + </description> + </method> <method name="viewport_get_texture" qualifiers="const"> <return type="RID" /> <param index="0" name="viewport" type="RID" /> |