Metal tvOS 13.4 to 14.0 API Differences
MTLBinaryArchive.h
Added
MTLBinaryArchiveDomain
Added
MTLBinaryArchiveError
Added
MTLBinaryArchiveErrorNone
Added
MTLBinaryArchiveErrorInvalidFile
Added
MTLBinaryArchiveErrorUnexpectedElement
Added
MTLBinaryArchiveErrorCompilationFailure
Added
MTLBinaryArchiveDescriptor
Added
MTLBinaryArchiveDescriptor.url
Added
MTLBinaryArchive
Added
MTLBinaryArchive.label
Added
MTLBinaryArchive.device
Added
-[MTLBinaryArchive addComputePipelineFunctionsWithDescriptor:error:]
Added
-[MTLBinaryArchive addRenderPipelineFunctionsWithDescriptor:error:]
Added
-[MTLBinaryArchive serializeToURL:error:]
MTLBlitCommandEncoder.h
Added
-[MTLBlitCommandEncoder sampleCountersInBuffer:atSampleIndex:withBarrier:]
Added
-[MTLBlitCommandEncoder resolveCounters:inRange:destinationBuffer:destinationOffset:]
MTLBlitPass.h
Added
#def MTLMaxBlitPassSampleBuffers
Added
MTLBlitPassSampleBufferAttachmentDescriptor
Added
MTLBlitPassSampleBufferAttachmentDescriptor.sampleBuffer
Added
MTLBlitPassSampleBufferAttachmentDescriptor.startOfEncoderSampleIndex
Added
MTLBlitPassSampleBufferAttachmentDescriptor.endOfEncoderSampleIndex
Added
MTLBlitPassSampleBufferAttachmentDescriptorArray
Added
-[MTLBlitPassSampleBufferAttachmentDescriptorArray objectAtIndexedSubscript:]
Added
-[MTLBlitPassSampleBufferAttachmentDescriptorArray setObject:atIndexedSubscript:]
Added
MTLBlitPassDescriptor
Added
+[MTLBlitPassDescriptor blitPassDescriptor]
Added
MTLBlitPassDescriptor.sampleBufferAttachments
MTLCommandBuffer.h
Added
MTLCommandBufferEncoderInfoErrorKey
Added
MTLCommandBufferErrorOption
Added
MTLCommandBufferErrorOptionNone
Added
MTLCommandBufferErrorOptionEncoderExecutionStatus
Added
MTLCommandEncoderErrorState
Added
MTLCommandEncoderErrorStateUnknown
Added
MTLCommandEncoderErrorStateCompleted
Added
MTLCommandEncoderErrorStateAffected
Added
MTLCommandEncoderErrorStatePending
Added
MTLCommandEncoderErrorStateFaulted
Added
MTLCommandBufferDescriptor
Added
MTLCommandBufferDescriptor.retainedReferences
Added
MTLCommandBufferDescriptor.errorOptions
Added
MTLCommandBufferEncoderInfo
Added
MTLCommandBufferEncoderInfo.label
Added
MTLCommandBufferEncoderInfo.debugSignposts
Added
MTLCommandBufferEncoderInfo.errorState
Added
MTLCommandBuffer.errorOptions
Added
MTLCommandBuffer.logs
Added
-[MTLCommandBuffer computeCommandEncoderWithDescriptor:]
Added
-[MTLCommandBuffer blitCommandEncoderWithDescriptor:]
MTLCommandQueue.h
Added
-[MTLCommandQueue commandBufferWithDescriptor:]
MTLComputeCommandEncoder.h
Added
-[MTLComputeCommandEncoder sampleCountersInBuffer:atSampleIndex:withBarrier:]
MTLComputePass.h
Added
#def MTLCounterDontSample
Added
#def MTLMaxComputePassSampleBuffers
Added
MTLComputePassSampleBufferAttachmentDescriptor
Added
MTLComputePassSampleBufferAttachmentDescriptor.sampleBuffer
Added
MTLComputePassSampleBufferAttachmentDescriptor.startOfEncoderSampleIndex
Added
MTLComputePassSampleBufferAttachmentDescriptor.endOfEncoderSampleIndex
Added
MTLComputePassSampleBufferAttachmentDescriptorArray
Added
-[MTLComputePassSampleBufferAttachmentDescriptorArray objectAtIndexedSubscript:]
Added
-[MTLComputePassSampleBufferAttachmentDescriptorArray setObject:atIndexedSubscript:]
Added
MTLComputePassDescriptor
Added
+[MTLComputePassDescriptor computePassDescriptor]
Added
MTLComputePassDescriptor.dispatchType
Added
MTLComputePassDescriptor.sampleBufferAttachments
MTLComputePipeline.h
Added
MTLComputePipelineDescriptor.insertLibraries
Added
MTLComputePipelineDescriptor.binaryArchives
Added
MTLComputePipelineDescriptor.linkedFunctions
MTLCounters.h
Added
#def MTLCounterErrorValue
Added
MTLCommonCounter
Added
MTLCommonCounterTimestamp
Added
MTLCommonCounterTessellationInputPatches
Added
MTLCommonCounterVertexInvocations
Added
MTLCommonCounterPostTessellationVertexInvocations
Added
MTLCommonCounterClipperInvocations
Added
MTLCommonCounterClipperPrimitivesOut
Added
MTLCommonCounterFragmentInvocations
Added
MTLCommonCounterFragmentsPassed
Added
MTLCommonCounterComputeKernelInvocations
Added
MTLCommonCounterTotalCycles
Added
MTLCommonCounterVertexCycles
Added
MTLCommonCounterTessellationCycles
Added
MTLCommonCounterPostTessellationVertexCycles
Added
MTLCommonCounterFragmentCycles
Added
MTLCommonCounterRenderTargetWriteCycles
Added
MTLCommonCounterSet
Added
MTLCommonCounterSetTimestamp
Added
MTLCommonCounterSetStageUtilization
Added
MTLCommonCounterSetStatistic
Added
MTLCounterResultTimestamp
Added
MTLCounterResultStageUtilization
Added
MTLCounterResultStatistic
Added
MTLCounter
Added
MTLCounter.name
Added
MTLCounterSet
Added
MTLCounterSet.name
Added
MTLCounterSet.counters
Added
MTLCounterSampleBufferDescriptor
Added
MTLCounterSampleBufferDescriptor.counterSet
Added
MTLCounterSampleBufferDescriptor.label
Added
MTLCounterSampleBufferDescriptor.storageMode
Added
MTLCounterSampleBufferDescriptor.sampleCount
Added
MTLCounterSampleBuffer
Added
MTLCounterSampleBuffer.device
Added
MTLCounterSampleBuffer.label
Added
MTLCounterSampleBuffer.sampleCount
Added
-[MTLCounterSampleBuffer resolveCounterRange:]
Added
MTLCounterErrorDomain
Added
MTLCounterSampleBufferError
Added
MTLCounterSampleBufferErrorOutOfMemory
Added
MTLCounterSampleBufferErrorInvalid
Added
MTLCounterSampleBufferErrorInternal
MTLDefines.h
Added
#def MTL_INTERN
MTLDevice.h
Added
MTLPipelineOptionFailOnBinaryArchiveMiss
Added
MTLCounterSamplingPoint
Added
MTLCounterSamplingPointAtStageBoundary
Added
MTLCounterSamplingPointAtDrawBoundary
Added
MTLCounterSamplingPointAtDispatchBoundary
Added
MTLCounterSamplingPointAtTileDispatchBoundary
Added
MTLCounterSamplingPointAtBlitBoundary
Added
MTLDevice.supportsPullModelInterpolation
Added
MTLDevice.counterSets
Added
-[MTLDevice newCounterSampleBufferWithDescriptor:error:]
Added
MTLTimestamp
Added
-[MTLDevice sampleTimestamps:gpuTimestamp:]
Added
-[MTLDevice supportsCounterSampling:]
Added
MTLDevice.supportsDynamicLibraries
Added
-[MTLDevice newDynamicLibrary:error:]
Added
-[MTLDevice newDynamicLibraryWithURL:error:]
Added
-[MTLDevice newBinaryArchiveWithDescriptor:error:]
MTLDynamicLibrary.h
Added
MTLDynamicLibraryDomain
Added
MTLDynamicLibraryError
Added
MTLDynamicLibraryErrorNone
Added
MTLDynamicLibraryErrorInvalidFile
Added
MTLDynamicLibraryErrorCompilationFailure
Added
MTLDynamicLibraryErrorUnresolvedInstallName
Added
MTLDynamicLibraryErrorDependencyLoadFailure
Added
MTLDynamicLibraryErrorUnsupported
Added
MTLDynamicLibrary
Added
MTLDynamicLibrary.label
Added
MTLDynamicLibrary.device
Added
MTLDynamicLibrary.installName
Added
-[MTLDynamicLibrary serializeToURL:error:]
MTLFunctionDescriptor.h
Added
MTLFunctionOptions
Added
MTLFunctionOptionNone
Added
MTLFunctionDescriptor
Added
+[MTLFunctionDescriptor functionDescriptor]
Added
MTLFunctionDescriptor.name
Added
MTLFunctionDescriptor.specializedName
Added
MTLFunctionDescriptor.constantValues
Added
MTLFunctionDescriptor.options
MTLFunctionLog.h
Added
MTLFunctionLogType
Added
MTLFunctionLogTypeValidation
Added
MTLLogContainer
Added
MTLFunctionLogDebugLocation
Added
MTLFunctionLogDebugLocation.functionName
Added
MTLFunctionLogDebugLocation.URL
Added
MTLFunctionLogDebugLocation.line
Added
MTLFunctionLogDebugLocation.column
Added
MTLFunctionLog
Added
MTLFunctionLog.type
Added
MTLFunctionLog.encoderLabel
Added
MTLFunctionLog.function
Added
MTLFunctionLog.debugLocation
MTLIndirectCommandBuffer.h
Modified
MTLIndirectCommandBufferDescriptor
Protocols
From
none
To
NSCopying
MTLIndirectCommandEncoder.h
Added
-[MTLIndirectComputeCommand setImageblockWidth:height:]
MTLLibrary.h
Added
MTLFunctionTypeVisible
Added
MTLLanguageVersion2_3
Added
MTLLibraryType
Added
MTLLibraryTypeExecutable
Added
MTLLibraryTypeDynamic
Added
MTLCompileOptions.libraryType
Added
MTLCompileOptions.installName
Added
MTLCompileOptions.libraries
Added
MTLCompileOptions.preserveInvariance
Added
-[MTLLibrary newFunctionWithDescriptor:completionHandler:]
Added
-[MTLLibrary newFunctionWithDescriptor:error:]
Added
MTLLibrary.type
Added
MTLLibrary.installName
MTLLinkedFunctions.h
Added
MTLLinkedFunctions
Added
+[MTLLinkedFunctions linkedFunctions]
Added
MTLLinkedFunctions.functions
Added
MTLLinkedFunctions.groups
MTLRenderCommandEncoder.h
Added
-[MTLRenderCommandEncoder sampleCountersInBuffer:atSampleIndex:withBarrier:]
MTLRenderPass.h
Added
#def MTLMaxRenderPassSampleBuffers
Added
MTLRenderPassSampleBufferAttachmentDescriptor
Added
MTLRenderPassSampleBufferAttachmentDescriptor.sampleBuffer
Added
MTLRenderPassSampleBufferAttachmentDescriptor.startOfVertexSampleIndex
Added
MTLRenderPassSampleBufferAttachmentDescriptor.endOfVertexSampleIndex
Added
MTLRenderPassSampleBufferAttachmentDescriptor.startOfFragmentSampleIndex
Added
MTLRenderPassSampleBufferAttachmentDescriptor.endOfFragmentSampleIndex
Added
MTLRenderPassSampleBufferAttachmentDescriptorArray
Added
-[MTLRenderPassSampleBufferAttachmentDescriptorArray objectAtIndexedSubscript:]
Added
-[MTLRenderPassSampleBufferAttachmentDescriptorArray setObject:atIndexedSubscript:]
Added
MTLRenderPassDescriptor.sampleBufferAttachments
MTLRenderPipeline.h
Added
MTLRenderPipelineDescriptor.binaryArchives