Metal macOS 10.15 to 10.15.4 API Differences
MTLCommandBuffer.h
Added
-[MTLCommandBuffer presentDrawable:afterMinimumDuration:]
MTLDevice.h
Added
-[MTLDevice supportsRasterizationRateMapWithLayerCount:]
Added
-[MTLDevice newRasterizationRateMapWithDescriptor:]
Added
-[MTLDevice supportsVertexAmplificationCount:]
MTLDrawable.h
Added
-[MTLDrawable presentAfterMinimumDuration:]
Added
-[MTLDrawable addPresentedHandler:]
Added
MTLDrawable.presentedTime
Added
MTLDrawable.drawableID
MTLRasterizationRate.h
Added
MTLRasterizationRateSampleArray
Added
-[MTLRasterizationRateSampleArray objectAtIndexedSubscript:]
Added
-[MTLRasterizationRateSampleArray setObject:atIndexedSubscript:]
Added
MTLRasterizationRateLayerDescriptor
Added
-[MTLRasterizationRateLayerDescriptor initWithSampleCount:]
Added
-[MTLRasterizationRateLayerDescriptor initWithSampleCount:horizontal:vertical:]
Added
MTLRasterizationRateLayerDescriptor.sampleCount
Added
MTLRasterizationRateLayerDescriptor.horizontalSampleStorage
Added
MTLRasterizationRateLayerDescriptor.verticalSampleStorage
Added
MTLRasterizationRateLayerDescriptor.horizontal
Added
MTLRasterizationRateLayerDescriptor.vertical
Added
MTLRasterizationRateLayerArray
Added
-[MTLRasterizationRateLayerArray objectAtIndexedSubscript:]
Added
-[MTLRasterizationRateLayerArray setObject:atIndexedSubscript:]
Added
MTLRasterizationRateMapDescriptor
Added
+[MTLRasterizationRateMapDescriptor rasterizationRateMapDescriptorWithScreenSize:]
Added
+[MTLRasterizationRateMapDescriptor rasterizationRateMapDescriptorWithScreenSize:layer:]
Added
+[MTLRasterizationRateMapDescriptor rasterizationRateMapDescriptorWithScreenSize:layerCount:layers:]
Added
-[MTLRasterizationRateMapDescriptor layerAtIndex:]
Added
-[MTLRasterizationRateMapDescriptor setLayer:atIndex:]
Added
MTLRasterizationRateMapDescriptor.layers
Added
MTLRasterizationRateMapDescriptor.screenSize
Added
MTLRasterizationRateMapDescriptor.label
Added
MTLRasterizationRateMapDescriptor.layerCount
Added
MTLRasterizationRateMap
Added
MTLRasterizationRateMap.device
Added
MTLRasterizationRateMap.label
Added
MTLRasterizationRateMap.screenSize
Added
MTLRasterizationRateMap.physicalGranularity
Added
MTLRasterizationRateMap.layerCount
Added
MTLRasterizationRateMap.parameterBufferSizeAndAlign
Added
-[MTLRasterizationRateMap copyParameterDataToBuffer:offset:]
Added
-[MTLRasterizationRateMap physicalSizeForLayer:]
Added
-[MTLRasterizationRateMap mapScreenToPhysicalCoordinates:forLayer:]
Added
-[MTLRasterizationRateMap mapPhysicalToScreenCoordinates:forLayer:]
MTLRenderCommandEncoder.h
Added
MTLVertexAmplificationViewMapping
Added
-[MTLRenderCommandEncoder setVertexAmplificationCount:viewMappings:]
MTLRenderPass.h
Added
MTLRenderPassDescriptor.rasterizationRateMap
MTLRenderPipeline.h
Added
MTLRenderPipelineDescriptor.maxVertexAmplificationCount
MTLTypes.h
Added
MTLCoordinate2D
Added
MTLCoordinate2DMake()