You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -366,6 +366,11 @@ the data and print the results to our console.
366
366
GD.Print("Input: ", string.Join(", ", input));
367
367
GD.Print("Output: ", string.Join(", ", output));
368
368
369
+
Freeing memory
370
+
------------------
371
+
372
+
The ``buffer``, ``pipeline``, and ``uniform_set`` variables we've been using are each an :ref:`class_RID`. Because RenderingDevice is meant to be a lower-level API, RID's aren't freed automatically. This means that once you're done using ``buffer`` or any other RID object, you are responsible for freeing its memory manually using the :ref:`class_RenderingDevice` ``free_rid`` method.
373
+
369
374
With that, you have everything you need to get started working with compute
0 commit comments