Metal macOS 10.14 Beta 1 to Beta 2 API Differences
MTLArgument.h
Removed
MTLDataTypeComputePipeline
MTLDevice.h
Modified
-[MTLDevice minimumTextureBufferAlignmentForPixelFormat:]
Optional
From
Optional
To
Required
MTLIndirectCommandBuffer.h
Added
-[MTLIndirectCommandBuffer resetWithRange:]
MTLIndirectCommandEncoder.h
Removed
-[MTLIndirectRenderCommand drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:tessellationFactorBufferScale:]
Removed
-[MTLIndirectRenderCommand drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:tessellationFactorBufferScale:]
MTLPixelFormat.h
Removed
MTLPixelFormatBGRX8Unorm