MTLCommandBufferError.Code.invalidResource
An error code that indicates the command buffer has an invalid reference to resource.
Declaration
case invalidResourceDiscussion
Typically, apps trigger this error by deleting a resource and then running a command buffer that refers to it.
See Also
Error codes
MTLCommandBufferError.Code.noneMTLCommandBufferError.Code.timeoutMTLCommandBufferError.Code.pageFaultMTLCommandBufferError.Code.notPermittedMTLCommandBufferError.Code.outOfMemoryMTLCommandBufferError.Code.memorylessMTLCommandBufferError.Code.deviceRemovedMTLCommandBufferError.Code.stackOverflowaccessRevokedMTLCommandBufferError.Code.internal