Metal iOS 12.0 Beta 1 to Beta 2 API Differences
MTLArgument.h
Removed
MTLDataTypeRenderPipeline
Removed
MTLDataTypeComputePipeline
MTLArgumentEncoder.h
Removed
-[MTLArgumentEncoder setRenderPipelineState:atIndex:]
Removed
-[MTLArgumentEncoder setRenderPipelineStates:withRange:]
MTLDevice.h
Added
MTLFeatureSet_iOS_GPUFamily1_v5
Added
MTLFeatureSet_iOS_GPUFamily2_v5
Added
MTLFeatureSet_iOS_GPUFamily3_v4
Added
MTLFeatureSet_iOS_GPUFamily4_v2
MTLIndirectCommandBuffer.h
Removed
MTLIndirectCommandTypeDrawPatches
Removed
MTLIndirectCommandTypeDrawIndexedPatches
Removed
MTLIndirectCommandBufferDescriptor.inheritPipelineState
Added
-[MTLIndirectCommandBuffer resetWithRange:]
MTLIndirectCommandEncoder.h
Removed
-[MTLIndirectRenderCommand setRenderPipelineState:]
Removed
-[MTLIndirectRenderCommand drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:tessellationFactorBufferScale:]
Removed
-[MTLIndirectRenderCommand drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:]
Removed
-[MTLIndirectRenderCommand drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:tessellationFactorBufferScale:]
Removed
-[MTLIndirectRenderCommand drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:]
MTLRenderCommandEncoder.h
Removed
-[MTLRenderCommandEncoder executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:]