From c6488f4d1d920fd6b422a8cd5a95877e8d2546ec Mon Sep 17 00:00:00 2001 From: AR Date: Wed, 4 Mar 2026 19:55:40 +0500 Subject: [PATCH] Update `Texture2DRD` docs for `set_texture_rd_rid` --- doc/classes/Texture2DRD.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Texture2DRD.xml b/doc/classes/Texture2DRD.xml index fe3a8a32134..fdb846c98b7 100644 --- a/doc/classes/Texture2DRD.xml +++ b/doc/classes/Texture2DRD.xml @@ -11,7 +11,8 @@ - The RID of the texture object created on the [RenderingDevice]. + The RID of the texture object created on the [RenderingDevice]. [Texture2DRD] takes ownership of the provided RID. This means the engine will handle freeing the RID automatically when the texture is no longer in use or when the RID is replaced. + [b]Note:[/b] Do not manually free the RID using [method RenderingDevice.free_rid].