Enumeration Case

MTLCommandBufferError.Code.invalidResource

The command buffer referenced an invalid resource.

Declaration

case invalidResource = 9

Discussion

This error is most commonly caused when the caller deletes a resource before executing a command buffer that refers to it.