Finishes recording and returns a CommandBuffer that can be submitted for execution.
See Implementation
Finishes recording and returns a CommandBuffer that can be submitted for execution.