Metal macOS 10.14 to 10.15 API Differences

MTLBlitCommandEncoder.h
MTLBuffer.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
MTLCounters.h
MTLDevice.h
MTLHeap.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

MTLRenderCommandEncoder.h
MTLRenderPass.h
MTLResource.h
MTLTexture.h
Added #def MTLTextureSwizzleChannelsDefault