Metal iOS 12.4 to 13.0 API Differences

MTLArgument.h
MTLArgumentEncoder.h
MTLBlitCommandEncoder.h
MTLCaptureManager.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse startCaptureWithDescriptor:error: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse startCaptureWithDescriptor:error: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse startCaptureWithDescriptor:error: instead

MTLCommandBuffer.h
Declaration
FromNSString *const MTLCommandBufferErrorDomain
Toconst NSErrorDomain MTLCommandBufferErrorDomain

MTLComputeCommandEncoder.h
MTLComputePipeline.h
MTLDevice.h
MTLHeap.h
MTLIndirectCommandBuffer.h
MTLIndirectCommandEncoder.h
MTLLibrary.h
Declaration
FromNSString *const MTLLibraryErrorDomain
Toconst NSErrorDomain MTLLibraryErrorDomain

Declaration
From- (void)newFunctionWithName:(NSString *)name constantValues:(MTLFunctionConstantValues *)constantValues completionHandler:(void (^)(id<MTLFunction> _Nullable, NSError * _Nonnull))completionHandler
To- (void)newFunctionWithName:(NSString *)name constantValues:(MTLFunctionConstantValues *)constantValues completionHandler:(void (^)(id<MTLFunction> _Nullable, NSError * _Nullable))completionHandler

MTLPixelFormat.h
MTLRasterizationRate.h
MTLRenderCommandEncoder.h
MTLRenderPass.h
MTLRenderPipeline.h
MTLResource.h
MTLResourceStateCommandEncoder.h
MTLTexture.h
Added #def MTLTextureSwizzleChannelsDefault
MTLTypes.h