add
Defers closing/recycling of the given buffer until all GPU work submitted before this call has completed.
Parameters
buffer
the buffer that must remain valid until its fence is signaled
Defers closing/recycling all given buffers behind a single fence.
The fence must be created after every command that references any buffer in buffers has been recorded and before the command encoder is submitted.
Parameters
buffers
buffers that must remain valid until the fence is signaled