Metal tvOS 14.5 to 15.0 API Differences
MTLArgument.h
Added
MTLDataTypeLong
Added
MTLDataTypeLong2
Added
MTLDataTypeLong3
Added
MTLDataTypeLong4
Added
MTLDataTypeULong
Added
MTLDataTypeULong2
Added
MTLDataTypeULong3
Added
MTLDataTypeULong4
MTLBinaryArchive.h
Added
-[MTLBinaryArchive addFunctionWithDescriptor:library:error:]
MTLBlitPass.h
Removed
#def MTLMaxBlitPassSampleBuffers
MTLCommandBuffer.h
Added
MTLCommandBufferErrorAccessRevoked
Added
MTLCommandBufferErrorStackOverflow
MTLComputePass.h
Removed
#def MTLMaxComputePassSampleBuffers
MTLComputePipeline.h
Added
MTLComputePipelineDescriptor.preloadedLibraries
Modified
MTLComputePipelineDescriptor.insertLibraries
Availability
Replacement
From
Available
none
To
Deprecated
Use preloadedLibraries instead.
MTLDevice.h
Added
-[MTLDevice newLibraryWithStitchedDescriptor:error:]
Added
-[MTLDevice newLibraryWithStitchedDescriptor:completionHandler:]
Added
MTLDevice.supportsRenderDynamicLibraries
MTLFunctionDescriptor.h
Added
MTLFunctionDescriptor.binaryArchives
MTLFunctionStitching.h
Added
MTLFunctionStitchingAttribute
Added
MTLFunctionStitchingAttributeAlwaysInline
Added
MTLFunctionStitchingNode
Added
MTLFunctionStitchingInputNode
Added
MTLFunctionStitchingInputNode.argumentIndex
Added
-[MTLFunctionStitchingInputNode initWithArgumentIndex:]
Added
MTLFunctionStitchingFunctionNode
Added
MTLFunctionStitchingFunctionNode.name
Added
MTLFunctionStitchingFunctionNode.arguments
Added
MTLFunctionStitchingFunctionNode.controlDependencies
Added
-[MTLFunctionStitchingFunctionNode initWithName:arguments:controlDependencies:]
Added
MTLFunctionStitchingGraph
Added
MTLFunctionStitchingGraph.functionName
Added
MTLFunctionStitchingGraph.nodes
Added
MTLFunctionStitchingGraph.outputNode
Added
MTLFunctionStitchingGraph.attributes
Added
-[MTLFunctionStitchingGraph initWithFunctionName:nodes:outputNode:attributes:]
Added
MTLStitchedLibraryDescriptor
Added
MTLStitchedLibraryDescriptor.functionGraphs
Added
MTLStitchedLibraryDescriptor.functions
MTLLibrary.h
Added
MTLLanguageVersion2_4
MTLLinkedFunctions.h
Added
MTLLinkedFunctions.privateFunctions
MTLRenderCommandEncoder.h
Added
MTLRenderStageTile
MTLRenderPass.h
Removed
#def MTLMaxRenderPassSampleBuffers
MTLRenderPipeline.h
Added
MTLRenderPipelineDescriptor.vertexPreloadedLibraries
Added
MTLRenderPipelineDescriptor.fragmentPreloadedLibraries
Added
MTLRenderPipelineDescriptor.vertexLinkedFunctions
Added
MTLRenderPipelineDescriptor.fragmentLinkedFunctions
Added
MTLTileRenderPipelineDescriptor.preloadedLibraries
Added
MTLTileRenderPipelineDescriptor.linkedFunctions