endCommandBuffer()
Finalizes a command buffer which makes it ready for you to submit it to a command queue.
Declaration
func endCommandBuffer()Mentioned in
Discussion
Metal generates an error if you submit a command buffer to a queue, such as with its commit:count: method, before calling this method.