finish method
The finish() method of the
GPUCommandEncoder interface completes recording of the command sequence
encoded on this GPUCommandEncoder, returning a corresponding
GPUCommandBuffer.
Implementation
external GPUCommandBuffer finish([GPUCommandBufferDescriptor descriptor]);