Gpu Buffer Deferred Closer
Defers closing or recycling of GPU buffers until the GPU has finished using them.
This class uses fences to ensure that a buffer is not closed/recycled while it is still referenced by in-flight GPU work. Call add after the last use of a buffer in the current frame, then call tryClose in a later frame after command submission.
Both methods must be called on the render thread.