-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Your Godot version: 4.1
Issue description: Whenever a resource is created and identified with an RID, like when using RenderingServer or TextServer, it needs to be manually freed. While there's reminders to free them in the descriptions of functions that return RID's, there's a few more places I think should have reminders as well.
First, I think there should be a brief note at the end of the description of the RID class reference, reminding that the RID should be freed using whatever object created it. Second, in the compute shader tutorial, there's currently no information about freeing the shader's resources after it's completed running. I think there should at least be a note at the end about what resources need to be manually freed.
URL to the documentation page (if already existing):
RID Page: https://docs.godotengine.org/en/stable/classes/class_rid.html#class-rid
Compute Shader Tutorial: https://docs.godotengine.org/en/stable/tutorials/shaders/compute_shaders.html