Metal macOS 11.0 Beta 2 to Beta 3 API Differences
MTLArgument.h
Added
MTLDataTypeR8Unorm
Added
MTLDataTypeR8Snorm
Added
MTLDataTypeR16Unorm
Added
MTLDataTypeR16Snorm
Added
MTLDataTypeRG8Unorm
Added
MTLDataTypeRG8Snorm
Added
MTLDataTypeRG16Unorm
Added
MTLDataTypeRG16Snorm
Added
MTLDataTypeRGBA8Unorm
Added
MTLDataTypeRGBA8Unorm_sRGB
Added
MTLDataTypeRGBA8Snorm
Added
MTLDataTypeRGBA16Unorm
Added
MTLDataTypeRGBA16Snorm
Added
MTLDataTypeRGB10A2Unorm
Added
MTLDataTypeRG11B10Float
Added
MTLDataTypeRGB9E5Float
Added
MTLDataTypeComputePipeline
Added
MTLArgumentTypeImageblockData
Added
MTLArgumentTypeImageblock
MTLArgumentEncoder.h
Added
-[MTLArgumentEncoder setComputePipelineState:atIndex:]
Added
-[MTLArgumentEncoder setComputePipelineStates:withRange:]
MTLBinaryArchive.h
Added
-[MTLBinaryArchive addTileRenderPipelineFunctionsWithDescriptor:error:]
MTLBlitCommandEncoder.h
Added
MTLBlitOptionRowLinearPVRTC
Added
-[MTLBlitCommandEncoder getTextureAccessCounters:region:mipLevel:slice:resetCounters:countersBuffer:countersBufferOffset:]
Added
-[MTLBlitCommandEncoder resetTextureAccessCounters:region:mipLevel:slice:]
MTLCommandBuffer.h
Added
MTLCommandBufferErrorMemoryless
Added
-[MTLCommandBuffer resourceStateCommandEncoder]
Added
-[MTLCommandBuffer resourceStateCommandEncoderWithDescriptor:]
MTLComputeCommandEncoder.h
Added
-[MTLComputeCommandEncoder setImageblockWidth:height:]
Added
-[MTLComputeCommandEncoder executeCommandsInBuffer:withRange:]
Added
-[MTLComputeCommandEncoder executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:]
MTLComputePipeline.h
Removed
MTLComputePipelineDescriptor.textureWriteRoundingMode
Removed
MTLComputePipelineDescriptor.maxStackCallDepth
Removed
MTLComputePipelineState.textureWriteRoundingMode
Added
MTLComputePipelineDescriptor.supportIndirectCommandBuffers
Added
MTLComputePipelineDescriptor.maxCallStackDepth
Added
-[MTLComputePipelineState imageblockMemoryLengthForDimensions:]
Added
MTLComputePipelineState.supportIndirectCommandBuffers
MTLDevice.h
Removed
MTLRoundingMode
Removed
MTLRoundingModeDefault
Removed
MTLRoundingModeRTZ
Removed
MTLRoundingModeRTNE
Removed
MTLDevice.supportsBinaryFunctionPointers
Added
MTLGPUFamilyApple6
Added
MTLSparseTextureRegionAlignmentMode
Added
MTLSparseTextureRegionAlignmentModeOutward
Added
MTLSparseTextureRegionAlignmentModeInward
Added
MTLDevice.supports32BitFloatFiltering
Added
MTLDevice.supports32BitMSAA
Added
MTLDevice.supportsQueryTextureLOD
Added
MTLDevice.supportsBCTextureCompression
Added
-[MTLDevice newRenderPipelineStateWithTileDescriptor:options:reflection:error:]
Added
-[MTLDevice newRenderPipelineStateWithTileDescriptor:options:completionHandler:]
Added
-[MTLDevice sparseTileSizeWithTextureType:pixelFormat:sampleCount:]
Added
MTLDevice.sparseTileSizeInBytes
Added
-[MTLDevice convertSparsePixelRegions:toTileRegions:withTileSize:alignmentMode:numRegions:]
Added
-[MTLDevice convertSparseTileRegions:toPixelRegions:withTileSize:numRegions:]
MTLHeap.h
Added
MTLHeapTypeSparse
MTLIndirectCommandBuffer.h
Added
MTLIndirectCommandTypeConcurrentDispatch
Added
MTLIndirectCommandTypeConcurrentDispatchThreads
Added
MTLIndirectCommandBufferDescriptor.maxKernelBufferBindCount
Added
-[MTLIndirectCommandBuffer indirectComputeCommandAtIndex:]
MTLIndirectCommandEncoder.h
Added
MTLIndirectComputeCommand
Added
-[MTLIndirectComputeCommand setComputePipelineState:]
Added
-[MTLIndirectComputeCommand setKernelBuffer:offset:atIndex:]
Added
-[MTLIndirectComputeCommand concurrentDispatchThreadgroups:threadsPerThreadgroup:]
Added
-[MTLIndirectComputeCommand concurrentDispatchThreads:threadsPerThreadgroup:]
Added
-[MTLIndirectComputeCommand setBarrier]
Added
-[MTLIndirectComputeCommand clearBarrier]
Added
-[MTLIndirectComputeCommand setImageblockWidth:height:]
Added
-[MTLIndirectComputeCommand reset]
Added
-[MTLIndirectComputeCommand setThreadgroupMemoryLength:atIndex:]
Added
-[MTLIndirectComputeCommand setStageInRegion:]
MTLPixelFormat.h
Added
MTLPixelFormatR8Unorm_sRGB
Added
MTLPixelFormatRG8Unorm_sRGB
Added
MTLPixelFormatB5G6R5Unorm
Added
MTLPixelFormatA1BGR5Unorm
Added
MTLPixelFormatABGR4Unorm
Added
MTLPixelFormatBGR5A1Unorm
Added
MTLPixelFormatBGR10_XR
Added
MTLPixelFormatBGR10_XR_sRGB
Added
MTLPixelFormatBGRA10_XR
Added
MTLPixelFormatBGRA10_XR_sRGB
Added
MTLPixelFormatPVRTC_RGB_2BPP
Added
MTLPixelFormatPVRTC_RGB_2BPP_sRGB
Added
MTLPixelFormatPVRTC_RGB_4BPP
Added
MTLPixelFormatPVRTC_RGB_4BPP_sRGB
Added
MTLPixelFormatPVRTC_RGBA_2BPP
Added
MTLPixelFormatPVRTC_RGBA_2BPP_sRGB
Added
MTLPixelFormatPVRTC_RGBA_4BPP
Added
MTLPixelFormatPVRTC_RGBA_4BPP_sRGB
Added
MTLPixelFormatEAC_R11Unorm
Added
MTLPixelFormatEAC_R11Snorm
Added
MTLPixelFormatEAC_RG11Unorm
Added
MTLPixelFormatEAC_RG11Snorm
Added
MTLPixelFormatEAC_RGBA8
Added
MTLPixelFormatEAC_RGBA8_sRGB
Added
MTLPixelFormatETC2_RGB8
Added
MTLPixelFormatETC2_RGB8_sRGB
Added
MTLPixelFormatETC2_RGB8A1
Added
MTLPixelFormatETC2_RGB8A1_sRGB
Added
MTLPixelFormatASTC_4x4_sRGB
Added
MTLPixelFormatASTC_5x4_sRGB
Added
MTLPixelFormatASTC_5x5_sRGB
Added
MTLPixelFormatASTC_6x5_sRGB
Added
MTLPixelFormatASTC_6x6_sRGB
Added
MTLPixelFormatASTC_8x5_sRGB
Added
MTLPixelFormatASTC_8x6_sRGB
Added
MTLPixelFormatASTC_8x8_sRGB
Added
MTLPixelFormatASTC_10x5_sRGB
Added
MTLPixelFormatASTC_10x6_sRGB
Added
MTLPixelFormatASTC_10x8_sRGB
Added
MTLPixelFormatASTC_10x10_sRGB
Added
MTLPixelFormatASTC_12x10_sRGB
Added
MTLPixelFormatASTC_12x12_sRGB
Added
MTLPixelFormatASTC_4x4_LDR
Added
MTLPixelFormatASTC_5x4_LDR
Added
MTLPixelFormatASTC_5x5_LDR
Added
MTLPixelFormatASTC_6x5_LDR
Added
MTLPixelFormatASTC_6x6_LDR
Added
MTLPixelFormatASTC_8x5_LDR
Added
MTLPixelFormatASTC_8x6_LDR
Added
MTLPixelFormatASTC_8x8_LDR
Added
MTLPixelFormatASTC_10x5_LDR
Added
MTLPixelFormatASTC_10x6_LDR
Added
MTLPixelFormatASTC_10x8_LDR
Added
MTLPixelFormatASTC_10x10_LDR
Added
MTLPixelFormatASTC_12x10_LDR
Added
MTLPixelFormatASTC_12x12_LDR
Added
MTLPixelFormatASTC_4x4_HDR
Added
MTLPixelFormatASTC_5x4_HDR
Added
MTLPixelFormatASTC_5x5_HDR
Added
MTLPixelFormatASTC_6x5_HDR
Added
MTLPixelFormatASTC_6x6_HDR
Added
MTLPixelFormatASTC_8x5_HDR
Added
MTLPixelFormatASTC_8x6_HDR
Added
MTLPixelFormatASTC_8x8_HDR
Added
MTLPixelFormatASTC_10x5_HDR
Added
MTLPixelFormatASTC_10x6_HDR
Added
MTLPixelFormatASTC_10x8_HDR
Added
MTLPixelFormatASTC_10x10_HDR
Added
MTLPixelFormatASTC_12x10_HDR
Added
MTLPixelFormatASTC_12x12_HDR
MTLRenderCommandEncoder.h
Added
MTLRenderCommandEncoder.tileWidth
Added
MTLRenderCommandEncoder.tileHeight
Added
-[MTLRenderCommandEncoder setTileBytes:length:atIndex:]
Added
-[MTLRenderCommandEncoder setTileBuffer:offset:atIndex:]
Added
-[MTLRenderCommandEncoder setTileBufferOffset:atIndex:]
Added
-[MTLRenderCommandEncoder setTileBuffers:offsets:withRange:]
Added
-[MTLRenderCommandEncoder setTileTexture:atIndex:]
Added
-[MTLRenderCommandEncoder setTileTextures:withRange:]
Added
-[MTLRenderCommandEncoder setTileSamplerState:atIndex:]
Added
-[MTLRenderCommandEncoder setTileSamplerStates:withRange:]
Added
-[MTLRenderCommandEncoder setTileSamplerState:lodMinClamp:lodMaxClamp:atIndex:]
Added
-[MTLRenderCommandEncoder setTileSamplerStates:lodMinClamps:lodMaxClamps:withRange:]
Added
-[MTLRenderCommandEncoder dispatchThreadsPerTile:]
Added
-[MTLRenderCommandEncoder setThreadgroupMemoryLength:offset:atIndex:]
MTLRenderPass.h
Added
MTLRenderPassDescriptor.imageblockSampleLength
Added
MTLRenderPassDescriptor.threadgroupMemoryLength
Added
MTLRenderPassDescriptor.tileWidth
Added
MTLRenderPassDescriptor.tileHeight
MTLRenderPipeline.h
Removed
MTLRenderPipelineDescriptor.textureWriteRoundingMode
Removed
MTLRenderPipelineState.textureWriteRoundingMode
Added
MTLRenderPipelineReflection.tileArguments
Added
MTLRenderPipelineState.maxTotalThreadsPerThreadgroup
Added
MTLRenderPipelineState.threadgroupSizeMatchesTileSize
Added
MTLRenderPipelineState.imageblockSampleLength
Added
-[MTLRenderPipelineState imageblockMemoryLengthForDimensions:]
Added
MTLTileRenderPipelineColorAttachmentDescriptor
Added
MTLTileRenderPipelineColorAttachmentDescriptor.pixelFormat
Added
MTLTileRenderPipelineColorAttachmentDescriptorArray
Added
-[MTLTileRenderPipelineColorAttachmentDescriptorArray objectAtIndexedSubscript:]
Added
-[MTLTileRenderPipelineColorAttachmentDescriptorArray setObject:atIndexedSubscript:]
Added
MTLTileRenderPipelineDescriptor
Added
MTLTileRenderPipelineDescriptor.label
Added
MTLTileRenderPipelineDescriptor.tileFunction
Added
MTLTileRenderPipelineDescriptor.rasterSampleCount
Added
MTLTileRenderPipelineDescriptor.colorAttachments
Added
MTLTileRenderPipelineDescriptor.threadgroupSizeMatchesTileSize
Added
MTLTileRenderPipelineDescriptor.tileBuffers
Added
MTLTileRenderPipelineDescriptor.maxTotalThreadsPerThreadgroup
Added
MTLTileRenderPipelineDescriptor.binaryArchives
Added
-[MTLTileRenderPipelineDescriptor reset]
MTLResource.h
Added
MTLStorageModeMemoryless
Added
MTLResourceStorageModeMemoryless
MTLResourceStateCommandEncoder.h
Added
MTLSparseTextureMappingMode
Added
MTLSparseTextureMappingModeMap
Added
MTLSparseTextureMappingModeUnmap
Added
MTLMapIndirectArguments
Added
MTLResourceStateCommandEncoder
Added
-[MTLResourceStateCommandEncoder updateTextureMappings:mode:regions:mipLevels:slices:numRegions:]
Added
-[MTLResourceStateCommandEncoder updateTextureMapping:mode:region:mipLevel:slice:]
Added
-[MTLResourceStateCommandEncoder updateTextureMapping:mode:indirectBuffer:indirectBufferOffset:]
Added
-[MTLResourceStateCommandEncoder updateFence:]
Added
-[MTLResourceStateCommandEncoder waitForFence:]
MTLResourceStatePass.h
Added
#def MTLMaxResourceStatePassSampleBuffers
Added
MTLResourceStatePassSampleBufferAttachmentDescriptor
Added
MTLResourceStatePassSampleBufferAttachmentDescriptor.sampleBuffer
Added
MTLResourceStatePassSampleBufferAttachmentDescriptor.startOfEncoderSampleIndex
Added
MTLResourceStatePassSampleBufferAttachmentDescriptor.endOfEncoderSampleIndex
Added
MTLResourceStatePassSampleBufferAttachmentDescriptorArray
Added
-[MTLResourceStatePassSampleBufferAttachmentDescriptorArray objectAtIndexedSubscript:]
Added
-[MTLResourceStatePassSampleBufferAttachmentDescriptorArray setObject:atIndexedSubscript:]
Added
MTLResourceStatePassDescriptor
Added
+[MTLResourceStatePassDescriptor resourceStatePassDescriptor]
Added
MTLResourceStatePassDescriptor.sampleBufferAttachments
MTLSampler.h
Added
MTLSamplerDescriptor.lodAverage
MTLTexture.h
Added
MTLTexture.firstMipmapInTail
Added
MTLTexture.tailSizeInBytes
Added
MTLTexture.isSparse