This question is around best practices - is there any sort of clean up process we should be doing after a compute shader has completed it’s job? Is there any sort of memory build up that would we should be worried about if we use many one-off compute shaders?
Nothing specific to do.
The only things that must be explicitely released are the buffers and textures, so make sure to call the dispose
method on the corresponding objects if you don’t need them anymore.
2 Likes
Okay, good to know.
The only things that must be explicitely released are the buffers and textures, so make sure to call the
dispose
method on the corresponding objects if you don’t need them anymore
Yes sir!