Metal iOS 16.0 20A5303f to 20A5312e API Differences

MTLArgument.h
Removed MTLArgumentTypeObjectPayload
Removed MTLArgument.objectPayloadAlignment
Removed MTLArgument.objectPayloadDataSize
MTLArgumentEncoder.h
Modified MTLArgumentEncoder
Availability
FromDeprecated
ToAvailable

MTLIOCompressor.h
Removed kMTLIOCompressionContextDefaultChunkSize
Added MTLIOCompressionContext
Added MTLIOCompressionContextDefaultChunkSize()
Modified MTLIOCreateCompressionContext()
Declaration
Fromvoid *MTLIOCreateCompressionContext(const char *path, MTLIOCompressionMethod type, size_t chunkSize)
ToMTLIOCompressionContext _Nullable MTLIOCreateCompressionContext(const char * _Nonnull path, MTLIOCompressionMethod type, size_t chunkSize)

Modified MTLIOCompressionContextAppendData()
Declaration
Fromvoid MTLIOCompressionContextAppendData(void *context, const void *data, size_t size)
Tovoid MTLIOCompressionContextAppendData(MTLIOCompressionContext _Nonnull context, const void * _Nonnull data, size_t size)

Modified MTLIOFlushAndDestroyCompressionContext()
Declaration
FromMTLIOCompressionStatus MTLIOFlushAndDestroyCompressionContext(void *context)
ToMTLIOCompressionStatus MTLIOFlushAndDestroyCompressionContext(MTLIOCompressionContext _Nonnull context)

MTLRenderPipeline.h
Removed MTLRenderPipelineReflection.objectArguments
Removed MTLRenderPipelineReflection.meshArguments
Modified MTLRenderPipelineReflection.tileArguments
Availability
FromAvailable
ToDeprecated

MTLResourceStateCommandEncoder.h
Added -[MTLResourceStateCommandEncoder moveTextureMappingsFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:]
MTLTypes.h
Removed MTLGPUHandle