I have a program which draws a line of clouds which eventually darken, rain, then fade away. To make them fade away, I just decrease the alpha to 0. This works visually, but then I have the underlying problem of the cloud data still stored in a limited array.
Is there any way to once the alpha reaches 0, to deallocate the data so it can be used for future clouds?