Files
metal2vulkan/docs/METAL-COVERAGE.md
T
Anees Iqbal 5e51dc6023 METAL-COVERAGE names the macOS 27.2 SDK its table was checked against
coverage.py's SDK line still said the macOS 27.0 SDK (Xcode 27.0, 27A266a),
while the M3 has Xcode 27.2 (27B52) and its MacOSX27.2.sdk; the generated
enum tables already name 27.2. The table needed no row change: on the M3,
coverage.py --sdk against MacOSX27.2.sdk answered 'coverage.tsv names every
SDK item (2135)', rc 0 (potluck job m3-max-13567). docs/METAL-COVERAGE.md
regenerated (coverage.py), coverage.py --check current.

(cherry picked from commit ca8424427caaa8636587eb5593e7b91b68afe9b1)
2026-11-10 04:15:05 -08:00

2656 lines
305 KiB
Markdown

# Metal API coverage
Every public item of the macOS 27.2 SDK (Xcode 27.2, 27B52)'s Metal headers, by name, and what answers it: the runtime (`metal2vulkan-runtime`, the Metal API on Vulkan) or the translator's plain values (`metal2vulkan`: pipeline descriptors, reflection, function constants), or nothing yet. Generated by `scripts/metal-coverage/coverage.py` from `scripts/metal-coverage/coverage.tsv` (edit the table, never this file); `coverage.py --sdk` checks the table's names against the SDK on a Mac, and `crates/metal2vulkan-validation/tests/integration/metal_coverage.rs` checks that every counterpart the table names exists in the sources.
- **implemented**: the counterpart answers it. A call can still refuse some inputs, which [`REFUSALS.md`](REFUSALS.md) lists with the device conditions; the counterpart's Rustdoc says what differs.
- **missing**: no counterpart yet; the size is the work to build it (S: a day or less, M: days, L: a week or more, XL: a new subsystem). A missing call cannot answer wrongly: a program that needs it does not build.
- **out of scope**: ray tracing, multi-GPU and macOS-only services, IOSurface, drawables and source compiles, which the consumer owns, and items macOS does not offer.
## Totals
| Status | Items | Of which deprecated |
|---|---|---|
| implemented | 979 | 36 |
| missing | 807 | 27 |
| out of scope | 349 | 5 |
| all | 2135 | 68 |
Implemented by the runtime: 647; by the translator's values: 332. Missing by size: S 124, M 147, L 160, XL 376.
## Missing, in build order
Cheap items a plain app calls first, then medium pieces by how often a plain app reaches them, then the large API families.
| Group | Size | Items | Examples |
|---|---|---|---|
| labels, debug groups and signposts | S | 17 | `MTLBuffer.addDebugMarker:range:`, `MTLBuffer.removeAllDebugMarkers`, `MTLCommandBuffer.label`, ... |
| command buffer options (descriptor, unretained references, `enqueue`, encoder error status) | S/M | 12 | `MTLCommandBufferDescriptor`, `MTLCommandBufferDescriptor.retainedReferences`, `MTLCommandBufferDescriptor.errorOptions`, ... |
| command queue descriptor | S | 3 | `MTLCommandQueueDescriptor`, `MTLCommandQueueDescriptor.maxCommandBufferCount`, `MTLDevice.newCommandQueueWithDescriptor:` |
| compute, blit and resource-state pass descriptors | S | 10 | `MTLBlitPassDescriptor`, `MTLBlitPassDescriptor.blitPassDescriptor`, `MTLCommandBuffer.computeCommandEncoderWithDescriptor:`, ... |
| libraries from a file path or URL | S | 2 | `MTLDevice.newLibraryWithFile:error:`, `MTLDevice.newLibraryWithURL:error:` |
| device, state and resource queries | S | 44 | `MTLAllocation.allocatedSize`, `MTLBuffer.sparseBufferTier`, `MTLArchitecture`, ... |
| `textureBarrier` and queue-stage barriers | S/M | 2 | `MTLCommandEncoder.barrierAfterQueueStages:beforeStages:`, `MTLRenderCommandEncoder.textureBarrier` |
| a pipeline state's reflection after creation | S | 2 | `MTLComputePipelineState.reflection`, `MTLRenderPipelineState.reflection` |
| function handles by name, and a handle's type and ID | S | 4 | `MTLComputePipelineState.functionHandleWithName:`, `MTLFunctionHandle.functionType`, `MTLFunctionHandle.gpuResourceID`, ... |
| a specialized function's name | S | 1 | `MTLFunctionDescriptor.specializedName` |
| more binary archive entries | S | 3 | `MTLBinaryArchive.addLibraryWithDescriptor:error:`, `MTLBinaryArchive.addFunctionWithDescriptor:library:error:`, `MTLFunctionDescriptor.binaryArchives` |
| the shared event listener | S | 1 | `MTLSharedEventListener.sharedListener` |
| mesh pipeline descriptor fields | S | 3 | `MTLMeshRenderPipelineDescriptor.objectBuffers`, `MTLMeshRenderPipelineDescriptor.meshBuffers`, `MTLMeshRenderPipelineDescriptor.fragmentBuffers` |
| placement sparse page sizes | S | 2 | `MTLHeapDescriptor.maxCompatiblePlacementSparsePageSize`, `MTLTextureDescriptor.placementSparsePageSize` |
| parallel render encoding | M | 9 | `MTLCommandBuffer.parallelRenderCommandEncoderWithDescriptor:`, `MTLParallelRenderCommandEncoder`, `MTLParallelRenderCommandEncoder.renderCommandEncoder`, ... |
| depth/stencil states in argument buffers | M | 2 | `MTLArgumentEncoder.setDepthStencilState:atIndex:`, `MTLArgumentEncoder.setDepthStencilStates:withRange:` |
| a sampler's LOD bias | M | 1 | `MTLSamplerDescriptor.lodBias` |
| depth bounds | M | 1 | `MTLRenderCommandEncoder.setDepthTestMinBound:maxBound:` |
| a texture's minimum LOD (macOS 27) | M | 2 | `MTLTextureViewDescriptor.minLOD`, `MTLTexture.minLOD` |
| pipeline specialization (macOS 26) | M | 1 | `MTLRenderPipelineState.newRenderPipelineDescriptorForSpecialization` |
| placement sparse buffers | M | 1 | `MTLDevice.newBufferWithLength:options:placementSparsePageSize:` |
| counter sample buffers | M | 54 | `MTLBlitCommandEncoder.sampleCountersInBuffer:atSampleIndex:withBarrier:`, `MTLBlitCommandEncoder.resolveCounters:inRange:destinationBuffer:destinationOffset:`, `MTLBlitPassSampleBufferAttachmentDescriptor`, ... |
| residency sets | M | 25 | `MTLCommandBuffer.useResidencySet:`, `MTLCommandBuffer.useResidencySets:count:`, `MTLCommandQueue.addResidencySet:`, ... |
| color attachment mapping | M | 6 | `MTLRenderCommandEncoder.setColorAttachmentMap:`, `MTLRenderPassDescriptor.supportColorAttachmentMapping`, `MTLLogicalToPhysicalColorAttachmentMap`, ... |
| texture view pools | M | 14 | `MTLDevice.newTextureViewPoolWithDescriptor:error:`, `MTLResourceViewPoolDescriptor`, `MTLResourceViewPoolDescriptor.resourceViewCount`, ... |
| shader logging | M | 20 | `MTLCommandBufferDescriptor.logState`, `MTLCommandBuffer.logs`, `MTLCommandQueueDescriptor.logState`, ... |
| device hot-plug notifications | M | 2 | `MTLCopyAllDevicesWithObserver`, `MTLRemoveDeviceObserver` |
| lossy texture compression | M | 2 | `MTLTextureDescriptor.compressionType`, `MTLTexture.compressionType` |
| GPU capture | S | 25 | `MTLCaptureDescriptor`, `MTLCaptureDescriptor.captureObject`, `MTLCaptureDescriptor.destination`, ... |
| persistent kernels (macOS 27) | L | 5 | `MTLComputePipelineDescriptor.forwardProgressUsage`, `MTLComputePipelineDescriptor.contentionRelief`, `MTLComputePipelineDescriptor.optimizeForPersistentKernel`, ... |
| shader validation | L | 6 | `MTLComputePipelineDescriptor.shaderValidation`, `MTLComputePipelineState.shaderValidation`, `MTLRenderPipelineDescriptor.shaderValidation`, ... |
| function stitching | L | 24 | `MTLDevice.newLibraryWithStitchedDescriptor:error:`, `MTLDevice.newLibraryWithStitchedDescriptor:completionHandler:`, `MTLFunctionStitchingAttribute`, ... |
| fast resource loading (`MTLIOCommandQueue`) | L | 44 | `MTLDevice.newIOHandleWithURL:error:`, `MTLDevice.newIOCommandQueueWithDescriptor:error:`, `MTLDevice.newIOHandleWithURL:compressionMethod:error:`, ... |
| tensors | L | 68 | `MTLStructMember.tensorReferenceType`, `MTLArrayType.elementTensorReferenceType`, `MTLTensorAuxiliaryPlaneType`, ... |
| Metal 4's command model | L/XL | 369 | `MTL4Archive`, `MTL4Archive.label`, `MTL4Archive.newComputePipelineStateWithDescriptor:error:`, ... |
| machine learning encoding | XL | 18 | `MTL4MachineLearningCommandEncoder`, `MTL4MachineLearningCommandEncoder.setPipelineState:`, `MTL4MachineLearningCommandEncoder.setArgumentTable:`, ... |
| texture access counters (not scheduled) | L | 2 | `MTLBlitCommandEncoder.getTextureAccessCounters:region:mipLevel:slice:resetCounters:countersBuffer:countersBufferOffset:`, `MTLBlitCommandEncoder.resetTextureAccessCounters:region:mipLevel:slice:` |
## By header
### MTL4AccelerationStructure.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4AccelerationStructureDescriptor` | class | out of scope | ray tracing |
| `MTL4AccelerationStructureGeometryDescriptor` | class | out of scope | ray tracing |
| `MTL4AccelerationStructureGeometryDescriptor.intersectionFunctionTableOffset` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureGeometryDescriptor.opaque` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureGeometryDescriptor.allowDuplicateIntersectionFunctionInvocation` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureGeometryDescriptor.label` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureGeometryDescriptor.primitiveDataBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureGeometryDescriptor.primitiveDataStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureGeometryDescriptor.primitiveDataElementSize` | property | out of scope | ray tracing |
| `MTL4PrimitiveAccelerationStructureDescriptor` | class | out of scope | ray tracing |
| `MTL4PrimitiveAccelerationStructureDescriptor.geometryDescriptors` | property | out of scope | ray tracing |
| `MTL4PrimitiveAccelerationStructureDescriptor.motionStartBorderMode` | property | out of scope | ray tracing |
| `MTL4PrimitiveAccelerationStructureDescriptor.motionEndBorderMode` | property | out of scope | ray tracing |
| `MTL4PrimitiveAccelerationStructureDescriptor.motionStartTime` | property | out of scope | ray tracing |
| `MTL4PrimitiveAccelerationStructureDescriptor.motionEndTime` | property | out of scope | ray tracing |
| `MTL4PrimitiveAccelerationStructureDescriptor.motionKeyframeCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor` | class | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor.vertexBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor.vertexFormat` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor.vertexStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor.indexBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor.indexType` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor.triangleCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor.transformationMatrixBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureTriangleGeometryDescriptor.transformationMatrixLayout` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureBoundingBoxGeometryDescriptor` | class | out of scope | ray tracing |
| `MTL4AccelerationStructureBoundingBoxGeometryDescriptor.boundingBoxBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureBoundingBoxGeometryDescriptor.boundingBoxStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureBoundingBoxGeometryDescriptor.boundingBoxCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor` | class | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor.vertexBuffers` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor.vertexFormat` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor.vertexStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor.indexBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor.indexType` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor.triangleCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor.transformationMatrixBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionTriangleGeometryDescriptor.transformationMatrixLayout` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionBoundingBoxGeometryDescriptor` | class | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionBoundingBoxGeometryDescriptor.boundingBoxBuffers` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionBoundingBoxGeometryDescriptor.boundingBoxStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionBoundingBoxGeometryDescriptor.boundingBoxCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor` | class | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.controlPointBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.controlPointCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.controlPointStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.controlPointFormat` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.radiusBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.radiusFormat` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.radiusStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.indexBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.indexType` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.segmentCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.segmentControlPointCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.curveType` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.curveBasis` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureCurveGeometryDescriptor.curveEndCaps` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor` | class | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.controlPointBuffers` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.controlPointCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.controlPointStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.controlPointFormat` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.radiusBuffers` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.radiusFormat` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.radiusStride` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.indexBuffer` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.indexType` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.segmentCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.segmentControlPointCount` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.curveType` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.curveBasis` | property | out of scope | ray tracing |
| `MTL4AccelerationStructureMotionCurveGeometryDescriptor.curveEndCaps` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor` | class | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.instanceDescriptorBuffer` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.instanceDescriptorStride` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.instanceCount` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.instanceDescriptorType` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.motionTransformBuffer` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.motionTransformCount` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.instanceTransformationMatrixLayout` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.motionTransformType` | property | out of scope | ray tracing |
| `MTL4InstanceAccelerationStructureDescriptor.motionTransformStride` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor` | class | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.instanceDescriptorBuffer` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.instanceDescriptorStride` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.maxInstanceCount` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.instanceCountBuffer` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.instanceDescriptorType` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.motionTransformBuffer` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.maxMotionTransformCount` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.motionTransformCountBuffer` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.instanceTransformationMatrixLayout` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.motionTransformType` | property | out of scope | ray tracing |
| `MTL4IndirectInstanceAccelerationStructureDescriptor.motionTransformStride` | property | out of scope | ray tracing |
### MTL4Archive.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4Archive` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Archive.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Archive.newComputePipelineStateWithDescriptor:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Archive.newComputePipelineStateWithDescriptor:dynamicLinkingDescriptor:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Archive.newRenderPipelineStateWithDescriptor:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Archive.newRenderPipelineStateWithDescriptor:dynamicLinkingDescriptor:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Archive.newBinaryFunctionWithDescriptor:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4ArgumentTable.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4ArgumentTableDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTableDescriptor.maxBufferBindCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTableDescriptor.maxTextureBindCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTableDescriptor.maxSamplerStateBindCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTableDescriptor.initializeBindings` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTableDescriptor.supportAttributeStrides` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTableDescriptor.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTable` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTable.setAddress:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTable.setAddress:attributeStride:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTable.setResource:atBufferIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTable.setTexture:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTable.setSamplerState:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTable.device` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ArgumentTable.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4BinaryFunction.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4BinaryFunction` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4BinaryFunction.name` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4BinaryFunction.functionType` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4BinaryFunctionDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4BinaryFunctionDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4BinaryFunctionDescriptor.name` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4BinaryFunctionDescriptor.functionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4BinaryFunctionDescriptor.options` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4BufferRange.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4BufferRangeMake` | function | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4CommandAllocator.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4CommandAllocatorDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandAllocatorDescriptor.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandAllocator` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandAllocator.device` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandAllocator.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandAllocator.allocatedSize` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandAllocator.reset` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4CommandBuffer.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4CommandBufferOptions` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBufferOptions.logState` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.device` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.beginCommandBufferWithAllocator:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.beginCommandBufferWithAllocator:options:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.endCommandBuffer` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.renderCommandEncoderWithDescriptor:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.renderCommandEncoderWithDescriptor:options:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.computeCommandEncoder` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.machineLearningCommandEncoder` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.useResidencySet:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.useResidencySets:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.pushDebugGroup:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.popDebugGroup` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.writeTimestampIntoHeap:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandBuffer.resolveCounterHeap:withRange:intoBuffer:waitFence:updateFence:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4CommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4CommandEncoder` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.commandBuffer` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.barrierAfterQueueStages:beforeStages:visibilityOptions:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.barrierAfterStages:beforeQueueStages:visibilityOptions:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.barrierAfterEncoderStages:beforeEncoderStages:visibilityOptions:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.updateFence:afterEncoderStages:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.waitForFence:beforeEncoderStages:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.insertDebugSignpost:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.pushDebugGroup:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.popDebugGroup` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandEncoder.endEncoding` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4CommandQueue.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4CommitOptions` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommitOptions.addFeedbackHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueueDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueueDescriptor.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueueDescriptor.feedbackQueue` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.device` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.commit:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.commit:count:options:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.signalEvent:value:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.waitForEvent:value:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.signalDrawable:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.waitForDrawable:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.addResidencySet:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.addResidencySets:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.removeResidencySet:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.removeResidencySets:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.updateTextureMappings:heap:operations:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.copyTextureMappingsFromTexture:toTexture:operations:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.updateBufferMappings:heap:operations:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommandQueue.copyBufferMappingsFromBuffer:toBuffer:operations:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4CommitFeedback.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4CommitFeedback` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommitFeedback.error` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommitFeedback.GPUStartTime` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CommitFeedback.GPUEndTime` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4Compiler.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4CompilerDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CompilerDescriptor.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CompilerDescriptor.pipelineDataSetSerializer` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CompilerTaskOptions` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CompilerTaskOptions.lookupArchives` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.device` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.pipelineDataSetSerializer` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newLibraryWithDescriptor:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newDynamicLibrary:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newDynamicLibraryWithURL:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newComputePipelineStateWithDescriptor:compilerTaskOptions:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newComputePipelineStateWithDescriptor:dynamicLinkingDescriptor:compilerTaskOptions:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newRenderPipelineStateWithDescriptor:compilerTaskOptions:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newRenderPipelineStateWithDescriptor:dynamicLinkingDescriptor:compilerTaskOptions:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newRenderPipelineStateBySpecializationWithDescriptor:pipeline:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newBinaryFunctionWithDescriptor:compilerTaskOptions:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newLibraryWithDescriptor:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newDynamicLibrary:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newDynamicLibraryWithURL:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newComputePipelineStateWithDescriptor:compilerTaskOptions:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newComputePipelineStateWithDescriptor:dynamicLinkingDescriptor:compilerTaskOptions:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newRenderPipelineStateWithDescriptor:compilerTaskOptions:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newRenderPipelineStateWithDescriptor:dynamicLinkingDescriptor:compilerTaskOptions:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newRenderPipelineStateBySpecializationWithDescriptor:pipeline:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newBinaryFunctionWithDescriptor:compilerTaskOptions:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newMachineLearningPipelineStateWithDescriptor:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4Compiler.newMachineLearningPipelineStateWithDescriptor:completionHandler:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4CompilerTask.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4CompilerTask` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CompilerTask.compiler` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CompilerTask.status` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4CompilerTask.waitUntilCompleted` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4ComputeCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4ComputeCommandEncoder` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.stages` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.setComputePipelineState:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.setThreadgroupMemoryLength:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.setImageblockWidth:height:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.dispatchThreads:threadsPerThreadgroup:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.dispatchThreadgroups:threadsPerThreadgroup:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.dispatchThreadgroupsWithIndirectBuffer:threadsPerThreadgroup:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.dispatchThreadsWithIndirectBuffer:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.executeCommandsInBuffer:withRange:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.executeCommandsInBuffer:indirectBuffer:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromTexture:toTexture:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromTexture:sourceSlice:sourceLevel:toTexture:destinationSlice:destinationLevel:sliceCount:levelCount:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromTensor:sourceOrigin:sourceDimensions:toTensor:destinationOrigin:destinationDimensions:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyFromTensor:sourceOrigin:sourceDimensions:sourcePlane:toTensor:destinationOrigin:destinationDimensions:destinationPlane:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.generateMipmapsForTexture:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.fillBuffer:range:value:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.optimizeContentsForGPUAccess:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.optimizeContentsForGPUAccess:slice:level:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.optimizeContentsForCPUAccess:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.optimizeContentsForCPUAccess:slice:level:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.resetCommandsInBuffer:withRange:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.copyIndirectCommandBuffer:sourceRange:destination:destinationIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.optimizeIndirectCommandBuffer:withRange:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.setArgumentTable:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputeCommandEncoder.buildAccelerationStructure:descriptor:scratchBuffer:` | method | out of scope | ray tracing |
| `MTL4ComputeCommandEncoder.refitAccelerationStructure:descriptor:destination:scratchBuffer:` | method | out of scope | ray tracing |
| `MTL4ComputeCommandEncoder.refitAccelerationStructure:descriptor:destination:scratchBuffer:options:` | method | out of scope | ray tracing |
| `MTL4ComputeCommandEncoder.copyAccelerationStructure:toAccelerationStructure:` | method | out of scope | ray tracing |
| `MTL4ComputeCommandEncoder.writeCompactedAccelerationStructureSize:toBuffer:` | method | out of scope | ray tracing |
| `MTL4ComputeCommandEncoder.copyAndCompactAccelerationStructure:toAccelerationStructure:` | method | out of scope | ray tracing |
| `MTL4ComputeCommandEncoder.writeTimestampWithGranularity:intoHeap:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4ComputePipeline.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4ComputePipelineDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.computeFunctionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.threadGroupSizeIsMultipleOfThreadExecutionWidth` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.maxTotalThreadsPerThreadgroup` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.requiredThreadsPerThreadgroup` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.supportBinaryLinking` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.staticLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.supportIndirectCommandBuffers` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.forwardProgressUsage` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.contentionRelief` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.optimizeForPersistentKernel` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4ComputePipelineDescriptor.reset` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4Counters.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4CounterHeapDescriptor` | class | missing | L: Metal 4 counter heaps |
| `MTL4CounterHeapDescriptor.type` | property | missing | L: Metal 4 counter heaps |
| `MTL4CounterHeapDescriptor.count` | property | missing | L: Metal 4 counter heaps |
| `MTL4CounterHeap` | protocol | missing | L: Metal 4 counter heaps |
| `MTL4CounterHeap.label` | property | missing | L: Metal 4 counter heaps |
| `MTL4CounterHeap.count` | property | missing | L: Metal 4 counter heaps |
| `MTL4CounterHeap.type` | property | missing | L: Metal 4 counter heaps |
| `MTL4CounterHeap.resolveCounterRange:` | method | missing | L: Metal 4 counter heaps |
| `MTL4CounterHeap.invalidateCounterRange:` | method | missing | L: Metal 4 counter heaps |
### MTL4FunctionDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4FunctionDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4LibraryDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4LibraryDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4LibraryDescriptor.source` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4LibraryDescriptor.options` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4LibraryDescriptor.name` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4LibraryFunctionDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4LibraryFunctionDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4LibraryFunctionDescriptor.name` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4LibraryFunctionDescriptor.library` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4LinkingDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4StaticLinkingDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4StaticLinkingDescriptor.functionDescriptors` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4StaticLinkingDescriptor.privateFunctionDescriptors` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4StaticLinkingDescriptor.groups` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineStageDynamicLinkingDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineStageDynamicLinkingDescriptor.maxCallStackDepth` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineStageDynamicLinkingDescriptor.binaryLinkedFunctions` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineStageDynamicLinkingDescriptor.preloadedLibraries` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDynamicLinkingDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDynamicLinkingDescriptor.vertexLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDynamicLinkingDescriptor.fragmentLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDynamicLinkingDescriptor.tileLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDynamicLinkingDescriptor.objectLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDynamicLinkingDescriptor.meshLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4MachineLearningCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4MachineLearningCommandEncoder` | protocol | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningCommandEncoder.setPipelineState:` | method | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningCommandEncoder.setArgumentTable:` | method | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningCommandEncoder.dispatchNetworkWithIntermediatesHeap:` | method | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
### MTL4MachineLearningPipeline.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4MachineLearningPipelineDescriptor` | class | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineDescriptor.label` | property | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineDescriptor.machineLearningFunctionDescriptor` | property | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineDescriptor.setInputDimensions:atBufferIndex:` | method | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineDescriptor.setInputDimensions:withRange:` | method | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineDescriptor.inputDimensionsAtBufferIndex:` | method | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineDescriptor.reset` | method | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineReflection` | class | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineReflection.bindings` | property | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineState` | protocol | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineState.label` | property | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineState.device` | property | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineState.reflection` | property | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
| `MTL4MachineLearningPipelineState.intermediatesHeapSize` | property | missing | XL: machine learning encoding (`MTL4MachineLearning*`, Core ML packages on the GPU) |
### MTL4MeshRenderPipeline.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4MeshRenderPipelineDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.objectFunctionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.meshFunctionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.fragmentFunctionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.maxTotalThreadsPerObjectThreadgroup` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.maxTotalThreadsPerMeshThreadgroup` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.requiredThreadsPerObjectThreadgroup` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.requiredThreadsPerMeshThreadgroup` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.objectThreadgroupSizeIsMultipleOfThreadExecutionWidth` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.meshThreadgroupSizeIsMultipleOfThreadExecutionWidth` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.payloadMemoryLength` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.maxTotalThreadgroupsPerMeshGrid` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.rasterSampleCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.alphaToCoverageState` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.alphaToOneState` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.rasterizationEnabled` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.maxVertexAmplificationCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.colorAttachments` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.objectStaticLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.meshStaticLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.fragmentStaticLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.supportObjectBinaryLinking` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.supportMeshBinaryLinking` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.supportFragmentBinaryLinking` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.colorAttachmentMappingState` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.supportIndirectCommandBuffers` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4MeshRenderPipelineDescriptor.reset` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4PipelineDataSetSerializer.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4PipelineDataSetSerializerDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineDataSetSerializerDescriptor.configuration` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineDataSetSerializer` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineDataSetSerializer.serializeAsArchiveAndFlushToURL:error:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineDataSetSerializer.serializeAsPipelinesScriptWithError:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4PipelineState.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4PipelineOptions` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineOptions.shaderValidation` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineOptions.shaderReflection` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineDescriptor.label` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4PipelineDescriptor.options` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4RenderCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4RenderCommandEncoder` | protocol | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.tileWidth` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.tileHeight` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setColorAttachmentMap:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setRenderPipelineState:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setViewport:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setViewports:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setVertexAmplificationCount:viewMappings:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setCullMode:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setDepthClipMode:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setDepthBias:slopeScale:clamp:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setDepthTestMinBound:maxBound:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setScissorRect:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setScissorRects:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setTriangleFillMode:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setBlendColorRed:green:blue:alpha:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setDepthStencilState:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setStencilReferenceValue:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setStencilFrontReferenceValue:backReferenceValue:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setVisibilityResultMode:offset:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setColorStoreAction:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setDepthStoreAction:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setStencilStoreAction:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawPrimitives:vertexStart:vertexCount:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawPrimitives:vertexStart:vertexCount:instanceCount:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferLength:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferLength:instanceCount:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferLength:instanceCount:baseVertex:baseInstance:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawPrimitives:indirectBuffer:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawIndexedPrimitives:indexType:indexBuffer:indexBufferLength:indirectBuffer:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.executeCommandsInBuffer:withRange:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.executeCommandsInBuffer:indirectBuffer:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setObjectThreadgroupMemoryLength:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.drawMeshThreadgroupsWithIndirectBuffer:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.dispatchThreadsPerTile:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setThreadgroupMemoryLength:offset:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setArgumentTable:atStages:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.setFrontFacingWinding:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderCommandEncoder.writeTimestampWithGranularity:afterStage:intoHeap:atIndex:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4RenderPass.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4RenderPassDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.colorAttachments` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.depthAttachment` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.stencilAttachment` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.renderTargetArrayLength` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.imageblockSampleLength` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.threadgroupMemoryLength` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.tileWidth` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.tileHeight` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.defaultRasterSampleCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.renderTargetWidth` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.renderTargetHeight` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.rasterizationRateMap` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.visibilityResultBuffer` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.visibilityResultType` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.setSamplePositions:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.getSamplePositions:count:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPassDescriptor.supportColorAttachmentMapping` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4RenderPipeline.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4RenderPipelineColorAttachmentDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.pixelFormat` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.blendingState` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.sourceRGBBlendFactor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.destinationRGBBlendFactor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.rgbBlendOperation` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.sourceAlphaBlendFactor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.destinationAlphaBlendFactor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.alphaBlendOperation` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.writeMask` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptor.reset` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptorArray` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineColorAttachmentDescriptorArray.reset` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineBinaryFunctionsDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineBinaryFunctionsDescriptor.vertexAdditionalBinaryFunctions` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineBinaryFunctionsDescriptor.fragmentAdditionalBinaryFunctions` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineBinaryFunctionsDescriptor.tileAdditionalBinaryFunctions` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineBinaryFunctionsDescriptor.objectAdditionalBinaryFunctions` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineBinaryFunctionsDescriptor.meshAdditionalBinaryFunctions` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineBinaryFunctionsDescriptor.reset` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.vertexFunctionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.fragmentFunctionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.vertexDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.rasterSampleCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.alphaToCoverageState` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.alphaToOneState` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.rasterizationEnabled` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.maxVertexAmplificationCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.colorAttachments` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.inputPrimitiveTopology` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.vertexStaticLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.fragmentStaticLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.supportVertexBinaryLinking` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.supportFragmentBinaryLinking` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.colorAttachmentMappingState` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.supportIndirectCommandBuffers` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4RenderPipelineDescriptor.reset` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4SpecializedFunctionDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4SpecializedFunctionDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4SpecializedFunctionDescriptor.functionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4SpecializedFunctionDescriptor.specializedName` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4SpecializedFunctionDescriptor.constantValues` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4StitchedFunctionDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4StitchedFunctionDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4StitchedFunctionDescriptor.functionGraph` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4StitchedFunctionDescriptor.functionDescriptors` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTL4TileRenderPipeline.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTL4TileRenderPipelineDescriptor` | class | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.tileFunctionDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.rasterSampleCount` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.colorAttachments` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.threadgroupSizeMatchesTileSize` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.maxTotalThreadsPerThreadgroup` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.requiredThreadsPerThreadgroup` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.staticLinkingDescriptor` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.supportBinaryLinking` | property | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
| `MTL4TileRenderPipelineDescriptor.reset` | method | missing | XL: Metal 4's command model (`MTL4CommandQueue`, `MTL4CommandBuffer`, argument tables, the compiler, `RuntimeGap::Metal4Api`) |
### MTLAccelerationStructure.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLAccelerationStructureDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructureDescriptor.usage` | property | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor.intersectionFunctionTableOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor.opaque` | property | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor.allowDuplicateIntersectionFunctionInvocation` | property | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor.label` | property | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor.primitiveDataBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor.primitiveDataBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor.primitiveDataStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureGeometryDescriptor.primitiveDataElementSize` | property | out of scope | ray tracing |
| `MTLPrimitiveAccelerationStructureDescriptor` | class | out of scope | ray tracing |
| `MTLPrimitiveAccelerationStructureDescriptor.geometryDescriptors` | property | out of scope | ray tracing |
| `MTLPrimitiveAccelerationStructureDescriptor.motionStartBorderMode` | property | out of scope | ray tracing |
| `MTLPrimitiveAccelerationStructureDescriptor.motionEndBorderMode` | property | out of scope | ray tracing |
| `MTLPrimitiveAccelerationStructureDescriptor.motionStartTime` | property | out of scope | ray tracing |
| `MTLPrimitiveAccelerationStructureDescriptor.motionEndTime` | property | out of scope | ray tracing |
| `MTLPrimitiveAccelerationStructureDescriptor.motionKeyframeCount` | property | out of scope | ray tracing |
| `MTLPrimitiveAccelerationStructureDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.vertexBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.vertexBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.vertexFormat` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.vertexStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.indexBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.indexBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.indexType` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.triangleCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.transformationMatrixBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.transformationMatrixBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.transformationMatrixLayout` | property | out of scope | ray tracing |
| `MTLAccelerationStructureTriangleGeometryDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLAccelerationStructureBoundingBoxGeometryDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructureBoundingBoxGeometryDescriptor.boundingBoxBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureBoundingBoxGeometryDescriptor.boundingBoxBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureBoundingBoxGeometryDescriptor.boundingBoxStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureBoundingBoxGeometryDescriptor.boundingBoxCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureBoundingBoxGeometryDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLMotionKeyframeData` | class | out of scope | ray tracing |
| `MTLMotionKeyframeData.buffer` | property | out of scope | ray tracing |
| `MTLMotionKeyframeData.offset` | property | out of scope | ray tracing |
| `MTLMotionKeyframeData.data` | class method | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.vertexBuffers` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.vertexFormat` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.vertexStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.indexBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.indexBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.indexType` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.triangleCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.transformationMatrixBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.transformationMatrixBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.transformationMatrixLayout` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionTriangleGeometryDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLAccelerationStructureMotionBoundingBoxGeometryDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructureMotionBoundingBoxGeometryDescriptor.boundingBoxBuffers` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionBoundingBoxGeometryDescriptor.boundingBoxStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionBoundingBoxGeometryDescriptor.boundingBoxCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionBoundingBoxGeometryDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.controlPointBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.controlPointBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.controlPointCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.controlPointStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.controlPointFormat` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.radiusBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.radiusBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.radiusFormat` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.radiusStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.indexBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.indexBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.indexType` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.segmentCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.segmentControlPointCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.curveType` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.curveBasis` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.curveEndCaps` | property | out of scope | ray tracing |
| `MTLAccelerationStructureCurveGeometryDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.controlPointBuffers` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.controlPointCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.controlPointStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.controlPointFormat` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.radiusBuffers` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.radiusFormat` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.radiusStride` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.indexBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.indexBufferOffset` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.indexType` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.segmentCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.segmentControlPointCount` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.curveType` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.curveBasis` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.curveEndCaps` | property | out of scope | ray tracing |
| `MTLAccelerationStructureMotionCurveGeometryDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor` | class | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.instanceDescriptorBuffer` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.instanceDescriptorBufferOffset` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.instanceDescriptorStride` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.instanceCount` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.instancedAccelerationStructures` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.instanceDescriptorType` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.motionTransformBuffer` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.motionTransformBufferOffset` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.motionTransformCount` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.instanceTransformationMatrixLayout` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.motionTransformType` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.motionTransformStride` | property | out of scope | ray tracing |
| `MTLInstanceAccelerationStructureDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor` | class | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.instanceDescriptorBuffer` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.instanceDescriptorBufferOffset` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.instanceDescriptorStride` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.maxInstanceCount` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.instanceCountBuffer` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.instanceCountBufferOffset` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.instanceDescriptorType` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.motionTransformBuffer` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.motionTransformBufferOffset` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.maxMotionTransformCount` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.motionTransformCountBuffer` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.motionTransformCountBufferOffset` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.instanceTransformationMatrixLayout` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.motionTransformType` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.motionTransformStride` | property | out of scope | ray tracing |
| `MTLIndirectInstanceAccelerationStructureDescriptor.descriptor` | class method | out of scope | ray tracing |
| `MTLAccelerationStructure` | protocol | out of scope | ray tracing |
| `MTLAccelerationStructure.size` | property | out of scope | ray tracing |
| `MTLAccelerationStructure.gpuResourceID` | property | out of scope | ray tracing |
### MTLAccelerationStructureCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLAccelerationStructureCommandEncoder` | protocol | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.buildAccelerationStructure:descriptor:scratchBuffer:scratchBufferOffset:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.refitAccelerationStructure:descriptor:destination:scratchBuffer:scratchBufferOffset:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.refitAccelerationStructure:descriptor:destination:scratchBuffer:scratchBufferOffset:options:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.copyAccelerationStructure:toAccelerationStructure:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.writeCompactedAccelerationStructureSize:toBuffer:offset:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.writeCompactedAccelerationStructureSize:toBuffer:offset:sizeDataType:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.copyAndCompactAccelerationStructure:toAccelerationStructure:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.updateFence:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.waitForFence:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.useResource:usage:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.useResources:count:usage:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.useHeap:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.useHeaps:count:` | method | out of scope | ray tracing |
| `MTLAccelerationStructureCommandEncoder.sampleCountersInBuffer:atSampleIndex:withBarrier:` | method | out of scope | ray tracing |
| `MTLAccelerationStructurePassSampleBufferAttachmentDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructurePassSampleBufferAttachmentDescriptor.sampleBuffer` | property | out of scope | ray tracing |
| `MTLAccelerationStructurePassSampleBufferAttachmentDescriptor.startOfEncoderSampleIndex` | property | out of scope | ray tracing |
| `MTLAccelerationStructurePassSampleBufferAttachmentDescriptor.endOfEncoderSampleIndex` | property | out of scope | ray tracing |
| `MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray` | class | out of scope | ray tracing |
| `MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | out of scope | ray tracing |
| `MTLAccelerationStructurePassSampleBufferAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | out of scope | ray tracing |
| `MTLAccelerationStructurePassDescriptor` | class | out of scope | ray tracing |
| `MTLAccelerationStructurePassDescriptor.accelerationStructurePassDescriptor` | class method | out of scope | ray tracing |
| `MTLAccelerationStructurePassDescriptor.sampleBufferAttachments` | property | out of scope | ray tracing |
### MTLAccelerationStructureTypes.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLPackedFloat3Make` | function | out of scope | ray tracing |
| `MTLPackedFloatQuaternionMake` | function | out of scope | ray tracing |
### MTLAllocation.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLAllocation` | protocol | implemented | `Buffer` (runtime) |
| `MTLAllocation.allocatedSize` | property | missing | S: a buffer's, texture's or heap's allocated bytes (`IndirectCommandBuffer` and `VisibleFunctionTable` answer it, and `Texture::allocated_size` a heap's texture's) |
### MTLArgument.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLType` | class | implemented | `Type` (translator) |
| `MTLType.dataType` | property | implemented | `StructMember::data_type` (translator): each reflection type's `data_type` |
| `MTLStructMember` | class | implemented | `StructMember` (translator) |
| `MTLStructMember.name` | property | implemented | `StructMember::name` (translator) |
| `MTLStructMember.offset` | property | implemented | `StructMember::offset` (translator) |
| `MTLStructMember.dataType` | property | implemented | `StructMember::data_type` (translator) |
| `MTLStructMember.structType` | method | implemented | `StructMember::struct_type` (translator) |
| `MTLStructMember.arrayType` | method | implemented | `StructMember::array_type` (translator) |
| `MTLStructMember.textureReferenceType` | method | implemented | `StructMember::texture_reference_type` (translator) |
| `MTLStructMember.pointerType` | method | implemented | `StructMember::pointer_type` (translator) |
| `MTLStructMember.tensorReferenceType` | method | missing | L: tensors (`MTLTensor`) |
| `MTLStructMember.argumentIndex` | property | implemented | `StructMember::argument_index` (translator) |
| `MTLStructType` | class | implemented | `StructType` (translator) |
| `MTLStructType.members` | property | implemented | `StructType::members` (translator) |
| `MTLStructType.memberByName:` | method | implemented | `StructType::member_by_name` (translator) |
| `MTLArrayType` | class | implemented | `ArrayType` (translator) |
| `MTLArrayType.elementType` | property | implemented | `ArrayType::element_type` (translator) |
| `MTLArrayType.arrayLength` | property | implemented | `ArrayType::array_length` (translator) |
| `MTLArrayType.stride` | property | implemented | `ArrayType::stride` (translator) |
| `MTLArrayType.argumentIndexStride` | property | implemented | `ArrayType::argument_index_stride` (translator) |
| `MTLArrayType.elementStructType` | method | implemented | `ArrayType::element_struct_type` (translator) |
| `MTLArrayType.elementArrayType` | method | implemented | `ArrayType::element_array_type` (translator) |
| `MTLArrayType.elementTextureReferenceType` | method | implemented | `ArrayType::element_texture_reference_type` (translator) |
| `MTLArrayType.elementPointerType` | method | implemented | `ArrayType::element_pointer_type` (translator) |
| `MTLArrayType.elementTensorReferenceType` | method | missing | L: tensors (`MTLTensor`) |
| `MTLPointerType` | class | implemented | `PointerType` (translator) |
| `MTLPointerType.elementType` | property | implemented | `PointerType::element_type` (translator) |
| `MTLPointerType.access` | property | implemented | `PointerType::access` (translator) |
| `MTLPointerType.alignment` | property | implemented | `PointerType::alignment` (translator) |
| `MTLPointerType.dataSize` | property | implemented | `PointerType::data_size` (translator) |
| `MTLPointerType.elementIsArgumentBuffer` | property | implemented | `PointerType::element_is_argument_buffer` (translator) |
| `MTLPointerType.elementStructType` | method | implemented | `PointerType::element_struct_type` (translator) |
| `MTLPointerType.elementArrayType` | method | implemented | `PointerType::element_array_type` (translator) |
| `MTLTextureReferenceType` | class | implemented | `TextureReferenceType` (translator) |
| `MTLTextureReferenceType.textureDataType` | property | implemented | `TextureReferenceType::texture_data_type` (translator) |
| `MTLTextureReferenceType.textureType` | property | implemented | `TextureReferenceType::texture_type` (translator) |
| `MTLTextureReferenceType.access` | property | implemented | `TextureReferenceType::access` (translator) |
| `MTLTextureReferenceType.isDepthTexture` | property | implemented | `TextureReferenceType::is_depth_texture` (translator) |
| `MTLTensorAuxiliaryPlaneType` | class | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneType.dataType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneType.blockFactors` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneType.planeType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorReferenceType` | class | missing | L: tensors (`MTLTensor`) |
| `MTLTensorReferenceType.tensorDataType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorReferenceType.indexType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorReferenceType.dimensions` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorReferenceType.auxiliaryPlanes` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorReferenceType.access` | property | missing | L: tensors (`MTLTensor`) |
| `MTLArgument` (deprecated) | class | implemented | `Binding` (translator) |
| `MTLArgument.name` (deprecated) | property | implemented | `Binding::name` (translator) |
| `MTLArgument.type` (deprecated) | property | implemented | `Binding::binding_type` (translator) |
| `MTLArgument.access` (deprecated) | property | implemented | `Binding::access` (translator) |
| `MTLArgument.index` (deprecated) | property | implemented | `Binding::index` (translator) |
| `MTLArgument.active` (deprecated) | property | implemented | `Binding::is_used` (translator): `MTLArgument` is deprecated for `MTLBinding` |
| `MTLArgument.bufferAlignment` (deprecated) | property | implemented | `BufferBinding::buffer_alignment` (translator) |
| `MTLArgument.bufferDataSize` (deprecated) | property | implemented | `BufferBinding::buffer_data_size` (translator) |
| `MTLArgument.bufferDataType` (deprecated) | property | implemented | `BufferBinding::buffer_data_type` (translator) |
| `MTLArgument.bufferStructType` (deprecated) | property | implemented | `BufferBinding::buffer_struct_type` (translator) |
| `MTLArgument.bufferPointerType` (deprecated) | property | implemented | `BufferBinding::buffer_pointer_type` (translator) |
| `MTLArgument.threadgroupMemoryAlignment` (deprecated) | property | implemented | `ThreadgroupBinding::threadgroup_memory_alignment` (translator) |
| `MTLArgument.threadgroupMemoryDataSize` (deprecated) | property | implemented | `ThreadgroupBinding::threadgroup_memory_data_size` (translator) |
| `MTLArgument.textureType` (deprecated) | property | implemented | `TextureBinding::texture_type` (translator) |
| `MTLArgument.textureDataType` (deprecated) | property | implemented | `TextureBinding::texture_data_type` (translator) |
| `MTLArgument.isDepthTexture` (deprecated) | property | implemented | `TextureBinding::is_depth_texture` (translator) |
| `MTLArgument.arrayLength` (deprecated) | property | implemented | `TextureBinding::array_length` (translator) |
| `MTLBinding` | protocol | implemented | `Binding` (translator) |
| `MTLBinding.name` | property | implemented | `Binding::name` (translator) |
| `MTLBinding.type` | property | implemented | `Binding::binding_type` (translator) |
| `MTLBinding.access` | property | implemented | `Binding::access` (translator) |
| `MTLBinding.index` | property | implemented | `Binding::index` (translator) |
| `MTLBinding.used` | property | implemented | `Binding::is_used` (translator) |
| `MTLBinding.argument` | property | implemented | `Binding::is_argument` (translator) |
| `MTLBufferBinding` | protocol | implemented | `BufferBinding` (translator) |
| `MTLBufferBinding.bufferAlignment` | property | implemented | `BufferBinding::buffer_alignment` (translator) |
| `MTLBufferBinding.bufferDataSize` | property | implemented | `BufferBinding::buffer_data_size` (translator) |
| `MTLBufferBinding.bufferDataType` | property | implemented | `BufferBinding::buffer_data_type` (translator) |
| `MTLBufferBinding.bufferStructType` | property | implemented | `BufferBinding::buffer_struct_type` (translator) |
| `MTLBufferBinding.bufferPointerType` | property | implemented | `BufferBinding::buffer_pointer_type` (translator) |
| `MTLThreadgroupBinding` | protocol | implemented | `ThreadgroupBinding` (translator) |
| `MTLThreadgroupBinding.threadgroupMemoryAlignment` | property | implemented | `ThreadgroupBinding::threadgroup_memory_alignment` (translator) |
| `MTLThreadgroupBinding.threadgroupMemoryDataSize` | property | implemented | `ThreadgroupBinding::threadgroup_memory_data_size` (translator) |
| `MTLTextureBinding` | protocol | implemented | `TextureBinding` (translator) |
| `MTLTextureBinding.textureType` | property | implemented | `TextureBinding::texture_type` (translator) |
| `MTLTextureBinding.textureDataType` | property | implemented | `TextureBinding::texture_data_type` (translator) |
| `MTLTextureBinding.depthTexture` | property | implemented | `TextureBinding::is_depth_texture` (translator) |
| `MTLTextureBinding.arrayLength` | property | implemented | `TextureBinding::array_length` (translator) |
| `MTLObjectPayloadBinding` | protocol | implemented | `ObjectPayloadBinding` (translator) |
| `MTLObjectPayloadBinding.objectPayloadAlignment` | property | implemented | `ObjectPayloadBinding::object_payload_alignment` (translator) |
| `MTLObjectPayloadBinding.objectPayloadDataSize` | property | implemented | `ObjectPayloadBinding::object_payload_data_size` (translator) |
| `MTLTensorBinding` | protocol | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBinding.tensorDataType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBinding.indexType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBinding.dimensions` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBinding.auxiliaryPlanes` | property | missing | L: tensors (`MTLTensor`) |
### MTLArgumentEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLArgumentEncoder` | protocol | implemented | `ArgumentEncoder` (runtime) |
| `MTLArgumentEncoder.device` | property | implemented | `ArgumentEncoder::device` (runtime) |
| `MTLArgumentEncoder.label` | property | implemented | `ArgumentEncoder::label` (runtime) |
| `MTLArgumentEncoder.encodedLength` | property | implemented | `ArgumentEncoder::encoded_length` (runtime) |
| `MTLArgumentEncoder.alignment` | property | implemented | `ArgumentEncoder::alignment` (runtime) |
| `MTLArgumentEncoder.setArgumentBuffer:offset:` | method | implemented | `ArgumentEncoder::set_argument_buffer` (runtime) |
| `MTLArgumentEncoder.setArgumentBuffer:startOffset:arrayElement:` | method | implemented | `ArgumentEncoder::set_argument_buffer_start_offset_array_element` (runtime) |
| `MTLArgumentEncoder.setBuffer:offset:atIndex:` | method | implemented | `ArgumentEncoder::set_buffer` (runtime) |
| `MTLArgumentEncoder.setBuffers:offsets:withRange:` | method | implemented | `ArgumentEncoder::set_buffers` (runtime) |
| `MTLArgumentEncoder.setTexture:atIndex:` | method | implemented | `ArgumentEncoder::set_texture` (runtime) |
| `MTLArgumentEncoder.setTextures:withRange:` | method | implemented | `ArgumentEncoder::set_textures` (runtime) |
| `MTLArgumentEncoder.setSamplerState:atIndex:` | method | implemented | `ArgumentEncoder::set_sampler_state` (runtime) |
| `MTLArgumentEncoder.setSamplerStates:withRange:` | method | implemented | `ArgumentEncoder::set_sampler_states` (runtime) |
| `MTLArgumentEncoder.constantDataAtIndex:` | method | implemented | `ArgumentEncoder::constant_data` (runtime) |
| `MTLArgumentEncoder.setRenderPipelineState:atIndex:` | method | implemented | `ArgumentEncoder::set_render_pipeline_state` (runtime) |
| `MTLArgumentEncoder.setRenderPipelineStates:withRange:` | method | implemented | `ArgumentEncoder::set_render_pipeline_states` (runtime) |
| `MTLArgumentEncoder.setComputePipelineState:atIndex:` | method | implemented | `ArgumentEncoder::set_compute_pipeline_state` (runtime) |
| `MTLArgumentEncoder.setComputePipelineStates:withRange:` | method | implemented | `ArgumentEncoder::set_compute_pipeline_states` (runtime) |
| `MTLArgumentEncoder.setIndirectCommandBuffer:atIndex:` | method | implemented | `ArgumentEncoder::set_indirect_command_buffer` (runtime) |
| `MTLArgumentEncoder.setIndirectCommandBuffers:withRange:` | method | implemented | `ArgumentEncoder::set_indirect_command_buffers` (runtime) |
| `MTLArgumentEncoder.setAccelerationStructure:atIndex:` | method | out of scope | ray tracing |
| `MTLArgumentEncoder.newArgumentEncoderForBufferAtIndex:` | method | implemented | `ArgumentEncoder::new_argument_encoder_for_buffer_at_index` (runtime) |
| `MTLArgumentEncoder.setVisibleFunctionTable:atIndex:` | method | implemented | `ArgumentEncoder::set_visible_function_table` (runtime) |
| `MTLArgumentEncoder.setVisibleFunctionTables:withRange:` | method | implemented | `ArgumentEncoder::set_visible_function_tables` (runtime) |
| `MTLArgumentEncoder.setIntersectionFunctionTable:atIndex:` | method | out of scope | ray tracing |
| `MTLArgumentEncoder.setIntersectionFunctionTables:withRange:` | method | out of scope | ray tracing |
| `MTLArgumentEncoder.setDepthStencilState:atIndex:` | method | missing | M: a depth/stencil state in an argument buffer, which indirect render commands read (`RuntimeGap::IndirectRenderCommands` covers the state's ID) |
| `MTLArgumentEncoder.setDepthStencilStates:withRange:` | method | missing | M: a depth/stencil state in an argument buffer, which indirect render commands read |
### MTLBinaryArchive.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLBinaryArchiveDescriptor` | class | implemented | `BinaryArchiveDescriptor` (runtime) |
| `MTLBinaryArchiveDescriptor.url` | property | implemented | `BinaryArchiveDescriptor.url` (runtime) |
| `MTLBinaryArchive` | protocol | implemented | `BinaryArchive` (runtime) |
| `MTLBinaryArchive.label` | property | implemented | `BinaryArchive::label` (runtime) |
| `MTLBinaryArchive.device` | property | implemented | `BinaryArchive::device` (runtime) |
| `MTLBinaryArchive.addComputePipelineFunctionsWithDescriptor:error:` | method | implemented | `BinaryArchive::add_compute_pipeline_functions` (runtime) |
| `MTLBinaryArchive.addRenderPipelineFunctionsWithDescriptor:error:` | method | implemented | `BinaryArchive::add_render_pipeline_functions` (runtime) |
| `MTLBinaryArchive.addTileRenderPipelineFunctionsWithDescriptor:error:` | method | implemented | `BinaryArchive::add_tile_render_pipeline_functions` (runtime) |
| `MTLBinaryArchive.addMeshRenderPipelineFunctionsWithDescriptor:error:` | method | implemented | `BinaryArchive::add_mesh_render_pipeline_functions` (runtime) |
| `MTLBinaryArchive.addLibraryWithDescriptor:error:` | method | missing | S: a library's functions in a binary archive (macOS 15) |
| `MTLBinaryArchive.serializeToURL:error:` | method | implemented | `BinaryArchive::serialize_to_url` (runtime) |
| `MTLBinaryArchive.addFunctionWithDescriptor:library:error:` | method | missing | S: one function in a binary archive |
### MTLBlitCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLBlitCommandEncoder` | protocol | implemented | `BlitCommandEncoder` (runtime) |
| `MTLBlitCommandEncoder.synchronizeResource:` (deprecated) | method | implemented | `BlitCommandEncoder::synchronize_resource` (runtime) |
| `MTLBlitCommandEncoder.synchronizeTexture:slice:level:` (deprecated) | method | implemented | `BlitCommandEncoder::synchronize_texture` (runtime) |
| `MTLBlitCommandEncoder.copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | method | implemented | `BlitCommandEncoder::copy_from_texture_to_texture` (runtime) |
| `MTLBlitCommandEncoder.copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | method | implemented | `BlitCommandEncoder::copy_from_buffer_to_texture` (runtime): with `BlitOption::NONE` |
| `MTLBlitCommandEncoder.copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:options:` | method | implemented | `BlitCommandEncoder::copy_from_buffer_to_texture` (runtime) |
| `MTLBlitCommandEncoder.copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:` | method | implemented | `BlitCommandEncoder::copy_from_texture_to_buffer` (runtime): with `BlitOption::NONE` |
| `MTLBlitCommandEncoder.copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:options:` | method | implemented | `BlitCommandEncoder::copy_from_texture_to_buffer` (runtime) |
| `MTLBlitCommandEncoder.generateMipmapsForTexture:` | method | implemented | `BlitCommandEncoder::generate_mipmaps` (runtime) |
| `MTLBlitCommandEncoder.fillBuffer:range:value:` | method | implemented | `BlitCommandEncoder::fill_buffer` (runtime) |
| `MTLBlitCommandEncoder.copyFromTexture:sourceSlice:sourceLevel:toTexture:destinationSlice:destinationLevel:sliceCount:levelCount:` | method | implemented | `BlitCommandEncoder::copy_texture_slices` (runtime) |
| `MTLBlitCommandEncoder.copyFromTexture:toTexture:` | method | implemented | `BlitCommandEncoder::copy_from_texture_to_texture` (runtime) |
| `MTLBlitCommandEncoder.copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:` | method | implemented | `BlitCommandEncoder::copy_from_buffer_to_buffer` (runtime) |
| `MTLBlitCommandEncoder.updateFence:` | method | implemented | `BlitCommandEncoder::update_fence` (runtime) |
| `MTLBlitCommandEncoder.waitForFence:` | method | implemented | `BlitCommandEncoder::wait_for_fence` (runtime) |
| `MTLBlitCommandEncoder.getTextureAccessCounters:region:mipLevel:slice:resetCounters:countersBuffer:countersBufferOffset:` (deprecated) | method | missing | L: not scheduled: Metal's counts are its texture hardware's units, nondeterministic, and differ between an M3 Max and an M4, so no exact answer exists (`RuntimeGap::TextureAccessCounters`) |
| `MTLBlitCommandEncoder.resetTextureAccessCounters:region:mipLevel:slice:` (deprecated) | method | missing | L: as `getTextureAccessCounters:...` (`RuntimeGap::TextureAccessCounters`) |
| `MTLBlitCommandEncoder.optimizeContentsForGPUAccess:` | method | implemented | `BlitCommandEncoder::optimize_contents_for_gpu_access` (runtime) |
| `MTLBlitCommandEncoder.optimizeContentsForGPUAccess:slice:level:` | method | implemented | `BlitCommandEncoder::optimize_contents_for_gpu_access_slice_level` (runtime) |
| `MTLBlitCommandEncoder.optimizeContentsForCPUAccess:` | method | implemented | `BlitCommandEncoder::optimize_contents_for_cpu_access` (runtime) |
| `MTLBlitCommandEncoder.optimizeContentsForCPUAccess:slice:level:` | method | implemented | `BlitCommandEncoder::optimize_contents_for_cpu_access_slice_level` (runtime) |
| `MTLBlitCommandEncoder.resetCommandsInBuffer:withRange:` | method | implemented | `BlitCommandEncoder::reset_commands_in_buffer` (runtime) |
| `MTLBlitCommandEncoder.copyIndirectCommandBuffer:sourceRange:destination:destinationIndex:` | method | implemented | `BlitCommandEncoder::copy_indirect_command_buffer` (runtime) |
| `MTLBlitCommandEncoder.optimizeIndirectCommandBuffer:withRange:` | method | implemented | `BlitCommandEncoder::optimize_indirect_command_buffer` (runtime) |
| `MTLBlitCommandEncoder.sampleCountersInBuffer:atSampleIndex:withBarrier:` | method | missing | M: counter sample buffers |
| `MTLBlitCommandEncoder.resolveCounters:inRange:destinationBuffer:destinationOffset:` | method | missing | M: counter sample buffers |
| `MTLBlitCommandEncoder.copyFromTensor:sourceOrigin:sourceDimensions:toTensor:destinationOrigin:destinationDimensions:` | method | missing | L: tensors |
| `MTLBlitCommandEncoder.copyFromTensor:sourceOrigin:sourceDimensions:sourcePlane:toTensor:destinationOrigin:destinationDimensions:destinationPlane:` | method | missing | L: tensors |
### MTLBlitPass.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLBlitPassSampleBufferAttachmentDescriptor` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLBlitPassSampleBufferAttachmentDescriptor.sampleBuffer` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLBlitPassSampleBufferAttachmentDescriptor.startOfEncoderSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLBlitPassSampleBufferAttachmentDescriptor.endOfEncoderSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLBlitPassSampleBufferAttachmentDescriptorArray` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLBlitPassSampleBufferAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLBlitPassSampleBufferAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLBlitPassDescriptor` | class | missing | S: see `blitCommandEncoderWithDescriptor:` |
| `MTLBlitPassDescriptor.blitPassDescriptor` | class method | missing | S: see `blitCommandEncoderWithDescriptor:` |
| `MTLBlitPassDescriptor.sampleBufferAttachments` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
### MTLBuffer.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLBuffer` | protocol | implemented | `Buffer` (runtime) |
| `MTLBuffer.length` | property | implemented | `Buffer::length` (runtime) |
| `MTLBuffer.contents` | method | implemented | `Buffer::contents` (runtime) |
| `MTLBuffer.didModifyRange:` (deprecated) | method | implemented | `Buffer::did_modify_range` (runtime) |
| `MTLBuffer.newTextureWithDescriptor:offset:bytesPerRow:` | method | implemented | `Buffer::new_texture` (runtime) |
| `MTLBuffer.newTensorWithDescriptor:offset:error:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLBuffer.addDebugMarker:range:` | method | missing | S: debug markers on a buffer range (a no-op the runtime could keep for tools) |
| `MTLBuffer.removeAllDebugMarkers` | method | missing | S: debug markers on a buffer range |
| `MTLBuffer.remoteStorageBuffer` (deprecated) | property | out of scope | peer-group views of another GPU's buffer: multi-GPU Macs only; Apple silicon has one GPU |
| `MTLBuffer.newRemoteBufferViewForDevice:` (deprecated) | method | out of scope | peer-group views of another GPU's buffer: multi-GPU Macs only |
| `MTLBuffer.gpuAddress` | property | implemented | `Buffer::gpu_address` (runtime) |
| `MTLBuffer.sparseBufferTier` | property | missing | S: a placement sparse buffer's tier |
### MTLCaptureManager.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLCaptureDescriptor` | class | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureDescriptor.captureObject` | property | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureDescriptor.destination` | property | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureDescriptor.outputURL` | property | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager` | class | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.sharedCaptureManager` | class method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.init` | method | out of scope | not available on macOS |
| `MTLCaptureManager.newCaptureScopeWithDevice:` | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.newCaptureScopeWithCommandQueue:` | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.newCaptureScopeWithMTL4CommandQueue:` | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.supportsDestination:` | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.startCaptureWithDescriptor:error:` | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.startCaptureWithDevice:` (deprecated) | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.startCaptureWithCommandQueue:` (deprecated) | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.startCaptureWithScope:` (deprecated) | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.stopCapture` | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.defaultCaptureScope` | property | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureManager.isCapturing` | property | missing | S: GPU capture (`MTLCaptureManager`) |
### MTLCaptureScope.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLCaptureScope` | protocol | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureScope.beginScope` | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureScope.endScope` | method | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureScope.label` | property | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureScope.device` | property | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureScope.commandQueue` | property | missing | S: GPU capture (`MTLCaptureManager`) |
| `MTLCaptureScope.mtl4CommandQueue` | property | missing | S: GPU capture (`MTLCaptureManager`) |
### MTLCommandBuffer.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLCommandBufferDescriptor` | class | missing | S: see `commandBufferWithDescriptor:` |
| `MTLCommandBufferDescriptor.retainedReferences` | property | missing | S: see `commandBufferWithUnretainedReferences` |
| `MTLCommandBufferDescriptor.errorOptions` | property | missing | M: encoder execution status |
| `MTLCommandBufferDescriptor.logState` | property | missing | M: shader logging |
| `MTLCommandBufferEncoderInfo` | protocol | missing | M: encoder execution status |
| `MTLCommandBufferEncoderInfo.label` | property | missing | M: encoder execution status |
| `MTLCommandBufferEncoderInfo.debugSignposts` | property | missing | M: encoder execution status |
| `MTLCommandBufferEncoderInfo.errorState` | property | missing | M: encoder execution status |
| `MTLCommandBuffer` | protocol | implemented | `CommandBuffer` (runtime) |
| `MTLCommandBuffer.device` | property | implemented | `CommandBuffer::device` (runtime) |
| `MTLCommandBuffer.commandQueue` | property | implemented | `CommandBuffer::command_queue` (runtime) |
| `MTLCommandBuffer.retainedReferences` | property | missing | S: YES for every runtime command buffer (it retains what it uses) |
| `MTLCommandBuffer.errorOptions` | property | missing | M: encoder execution status (`MTLCommandBufferErrorOptionEncoderExecutionStatus`): which encoder faulted, in the error's `encoderInfos` |
| `MTLCommandBuffer.label` | property | missing | S: a label a program sets and reads back |
| `MTLCommandBuffer.kernelStartTime` | property | implemented | `CommandBuffer::kernel_start_time` (runtime) |
| `MTLCommandBuffer.kernelEndTime` | property | implemented | `CommandBuffer::kernel_end_time` (runtime) |
| `MTLCommandBuffer.logs` | property | missing | M: shader logging |
| `MTLCommandBuffer.GPUStartTime` | property | implemented | `CommandBuffer::gpu_start_time` (runtime) |
| `MTLCommandBuffer.GPUEndTime` | property | implemented | `CommandBuffer::gpu_end_time` (runtime) |
| `MTLCommandBuffer.enqueue` | method | missing | S: reserving the command buffer's place in its queue before commit |
| `MTLCommandBuffer.commit` | method | implemented | `CommandBuffer::commit` (runtime) |
| `MTLCommandBuffer.addScheduledHandler:` | method | implemented | `CommandBuffer::add_scheduled_handler` (runtime) |
| `MTLCommandBuffer.presentDrawable:` | method | out of scope | presentation: no drawables; the consumer presents the Vulkan image |
| `MTLCommandBuffer.presentDrawable:atTime:` | method | out of scope | presentation |
| `MTLCommandBuffer.presentDrawable:afterMinimumDuration:` | method | out of scope | presentation |
| `MTLCommandBuffer.waitUntilScheduled` | method | implemented | `CommandBuffer::wait_until_scheduled` (runtime) |
| `MTLCommandBuffer.addCompletedHandler:` | method | implemented | `CommandBuffer::add_completed_handler` (runtime) |
| `MTLCommandBuffer.waitUntilCompleted` | method | implemented | `CommandBuffer::wait_until_completed` (runtime) |
| `MTLCommandBuffer.status` | property | implemented | `CommandBuffer::status` (runtime) |
| `MTLCommandBuffer.error` | property | implemented | `CommandBuffer::error` (runtime) |
| `MTLCommandBuffer.blitCommandEncoder` | method | implemented | `CommandBuffer::blit_command_encoder` (runtime) |
| `MTLCommandBuffer.renderCommandEncoderWithDescriptor:` | method | implemented | `CommandBuffer::render_command_encoder` (runtime) |
| `MTLCommandBuffer.computeCommandEncoderWithDescriptor:` | method | missing | S: the pass descriptor's dispatch type (`compute_command_encoder_with_dispatch_type` takes it); its sample buffer attachments are counters' |
| `MTLCommandBuffer.blitCommandEncoderWithDescriptor:` | method | missing | S: a blit pass descriptor holds only counter sample attachments |
| `MTLCommandBuffer.computeCommandEncoder` | method | implemented | `CommandBuffer::compute_command_encoder` (runtime) |
| `MTLCommandBuffer.computeCommandEncoderWithDispatchType:` | method | implemented | `CommandBuffer::compute_command_encoder_with_dispatch_type` (runtime) |
| `MTLCommandBuffer.encodeWaitForEvent:value:` | method | implemented | `CommandBuffer::encode_wait_for_event` (runtime) |
| `MTLCommandBuffer.encodeSignalEvent:value:` | method | implemented | `CommandBuffer::encode_signal_event` (runtime) |
| `MTLCommandBuffer.parallelRenderCommandEncoderWithDescriptor:` | method | missing | M: parallel render encoding |
| `MTLCommandBuffer.resourceStateCommandEncoder` | method | implemented | `CommandBuffer::resource_state_command_encoder` (runtime) |
| `MTLCommandBuffer.resourceStateCommandEncoderWithDescriptor:` | method | missing | S: a resource state pass descriptor holds only counter sample attachments |
| `MTLCommandBuffer.accelerationStructureCommandEncoder` | method | out of scope | ray tracing |
| `MTLCommandBuffer.accelerationStructureCommandEncoderWithDescriptor:` | method | out of scope | ray tracing |
| `MTLCommandBuffer.pushDebugGroup:` | method | missing | S: debug groups: no effect on results; Vulkan's debug labels where enabled |
| `MTLCommandBuffer.popDebugGroup` | method | missing | S: debug groups |
| `MTLCommandBuffer.useResidencySet:` | method | missing | M: residency sets |
| `MTLCommandBuffer.useResidencySets:count:` | method | missing | M: residency sets |
### MTLCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLCommandEncoder` | protocol | implemented | `ComputeCommandEncoder` (runtime) |
| `MTLCommandEncoder.device` | property | missing | S: every encoder's device |
| `MTLCommandEncoder.label` | property | missing | S: every encoder's label |
| `MTLCommandEncoder.endEncoding` | method | implemented | `ComputeCommandEncoder::end_encoding` (runtime): each encoder's `end_encoding(self)` |
| `MTLCommandEncoder.barrierAfterQueueStages:beforeStages:` | method | missing | M: a barrier between this encoder's stages and earlier work of the queue (macOS 26) |
| `MTLCommandEncoder.insertDebugSignpost:` | method | missing | S: debug signposts: no effect on results |
| `MTLCommandEncoder.pushDebugGroup:` | method | missing | S: debug groups: no effect on results |
| `MTLCommandEncoder.popDebugGroup` | method | missing | S: debug groups |
### MTLCommandQueue.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLCommandQueue` | protocol | implemented | `CommandQueue` (runtime) |
| `MTLCommandQueue.label` | property | implemented | `CommandQueue::label, CommandQueue::set_label` (runtime) |
| `MTLCommandQueue.device` | property | implemented | `CommandQueue::device` (runtime) |
| `MTLCommandQueue.commandBuffer` | method | implemented | `CommandQueue::command_buffer` (runtime) |
| `MTLCommandQueue.commandBufferWithDescriptor:` | method | missing | S: the descriptor's retained references and error options (log state is shader logging's) |
| `MTLCommandQueue.commandBufferWithUnretainedReferences` | method | missing | S: the runtime retains what a command buffer uses until it completes, which every valid program also gets from unretained references; only `retainedReferences` would answer NO |
| `MTLCommandQueue.insertDebugCaptureBoundary` (deprecated) | method | missing | S: deprecated capture boundary (GPU capture) |
| `MTLCommandQueue.addResidencySet:` | method | missing | M: residency sets |
| `MTLCommandQueue.addResidencySets:count:` | method | missing | M: residency sets |
| `MTLCommandQueue.removeResidencySet:` | method | missing | M: residency sets |
| `MTLCommandQueue.removeResidencySets:count:` | method | missing | M: residency sets |
| `MTLCommandQueueDescriptor` | class | missing | S: the descriptor of `newCommandQueueWithDescriptor:` |
| `MTLCommandQueueDescriptor.maxCommandBufferCount` | property | missing | S: as `new_command_queue_with_max_command_buffer_count` takes it |
| `MTLCommandQueueDescriptor.logState` | property | missing | M: shader logging |
### MTLComputeCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLComputeCommandEncoder` | protocol | implemented | `ComputeCommandEncoder` (runtime) |
| `MTLComputeCommandEncoder.dispatchType` | property | implemented | `ComputeCommandEncoder::dispatch_type` (runtime) |
| `MTLComputeCommandEncoder.setComputePipelineState:` | method | implemented | `ComputeCommandEncoder::set_compute_pipeline_state` (runtime) |
| `MTLComputeCommandEncoder.setBytes:length:atIndex:` | method | implemented | `ComputeCommandEncoder::set_bytes` (runtime): copied at the call; more than 4096 bytes refused |
| `MTLComputeCommandEncoder.setBuffer:offset:atIndex:` | method | implemented | `ComputeCommandEncoder::set_buffer` (runtime) |
| `MTLComputeCommandEncoder.setBufferOffset:atIndex:` | method | implemented | `ComputeCommandEncoder::set_buffer_offset` (runtime) |
| `MTLComputeCommandEncoder.setBuffers:offsets:withRange:` | method | implemented | `ComputeCommandEncoder::set_buffers` (runtime) |
| `MTLComputeCommandEncoder.setBuffer:offset:attributeStride:atIndex:` | method | implemented | `ComputeCommandEncoder::set_buffer_with_stride` (runtime) |
| `MTLComputeCommandEncoder.setBuffers:offsets:attributeStrides:withRange:` | method | implemented | `ComputeCommandEncoder::set_buffers_with_strides` (runtime) |
| `MTLComputeCommandEncoder.setBufferOffset:attributeStride:atIndex:` | method | implemented | `ComputeCommandEncoder::set_buffer_offset_with_stride` (runtime) |
| `MTLComputeCommandEncoder.setBytes:length:attributeStride:atIndex:` | method | implemented | `ComputeCommandEncoder::set_bytes_with_stride` (runtime): copied at the call; more than 4096 bytes refused |
| `MTLComputeCommandEncoder.setVisibleFunctionTable:atBufferIndex:` | method | implemented | `ComputeCommandEncoder::set_visible_function_table` (runtime) |
| `MTLComputeCommandEncoder.setVisibleFunctionTables:withBufferRange:` | method | implemented | `ComputeCommandEncoder::set_visible_function_tables` (runtime) |
| `MTLComputeCommandEncoder.setIntersectionFunctionTable:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLComputeCommandEncoder.setIntersectionFunctionTables:withBufferRange:` | method | out of scope | ray tracing |
| `MTLComputeCommandEncoder.setAccelerationStructure:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLComputeCommandEncoder.setTexture:atIndex:` | method | implemented | `ComputeCommandEncoder::set_texture` (runtime) |
| `MTLComputeCommandEncoder.setTextures:withRange:` | method | implemented | `ComputeCommandEncoder::set_textures` (runtime) |
| `MTLComputeCommandEncoder.setSamplerState:atIndex:` | method | implemented | `ComputeCommandEncoder::set_sampler_state` (runtime) |
| `MTLComputeCommandEncoder.setSamplerStates:withRange:` | method | implemented | `ComputeCommandEncoder::set_sampler_states` (runtime) |
| `MTLComputeCommandEncoder.setSamplerState:lodMinClamp:lodMaxClamp:atIndex:` | method | implemented | `ComputeCommandEncoder::set_sampler_state` (runtime) |
| `MTLComputeCommandEncoder.setSamplerStates:lodMinClamps:lodMaxClamps:withRange:` | method | implemented | `ComputeCommandEncoder::set_sampler_states_with_lod_clamps` (runtime) |
| `MTLComputeCommandEncoder.setThreadgroupMemoryLength:atIndex:` | method | implemented | `ComputeCommandEncoder::set_threadgroup_memory_length` (runtime) |
| `MTLComputeCommandEncoder.setImageblockWidth:height:` | method | implemented | `ComputeCommandEncoder::set_imageblock_size` (runtime) |
| `MTLComputeCommandEncoder.setStageInRegion:` | method | implemented | `ComputeCommandEncoder::set_stage_in_region` (runtime) |
| `MTLComputeCommandEncoder.setStageInRegionWithIndirectBuffer:indirectBufferOffset:` | method | implemented | `ComputeCommandEncoder::set_stage_in_region_indirect` (runtime) |
| `MTLComputeCommandEncoder.dispatchThreadgroups:threadsPerThreadgroup:` | method | implemented | `ComputeCommandEncoder::dispatch_threadgroups` (runtime) |
| `MTLComputeCommandEncoder.dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:` | method | implemented | `ComputeCommandEncoder::dispatch_threadgroups_indirect` (runtime) |
| `MTLComputeCommandEncoder.dispatchThreads:threadsPerThreadgroup:` | method | implemented | `ComputeCommandEncoder::dispatch_threads` (runtime) |
| `MTLComputeCommandEncoder.updateFence:` | method | implemented | `ComputeCommandEncoder::update_fence` (runtime) |
| `MTLComputeCommandEncoder.waitForFence:` | method | implemented | `ComputeCommandEncoder::wait_for_fence` (runtime) |
| `MTLComputeCommandEncoder.useResource:usage:` | method | implemented | `ComputeCommandEncoder::use_resource` (runtime) |
| `MTLComputeCommandEncoder.useResources:count:usage:` | method | implemented | `ComputeCommandEncoder::use_resources` (runtime) |
| `MTLComputeCommandEncoder.useHeap:` | method | implemented | `ComputeCommandEncoder::use_heap` (runtime) |
| `MTLComputeCommandEncoder.useHeaps:count:` | method | implemented | `ComputeCommandEncoder::use_heaps` (runtime) |
| `MTLComputeCommandEncoder.executeCommandsInBuffer:withRange:` | method | implemented | `ComputeCommandEncoder::execute_commands_in_buffer` (runtime) |
| `MTLComputeCommandEncoder.executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:` | method | implemented | `ComputeCommandEncoder::execute_commands_in_buffer_indirect` (runtime) |
| `MTLComputeCommandEncoder.memoryBarrierWithScope:` | method | implemented | `ComputeCommandEncoder::memory_barrier_with_scope` (runtime) |
| `MTLComputeCommandEncoder.memoryBarrierWithResources:count:` | method | implemented | `ComputeCommandEncoder::memory_barrier_with_resources` (runtime) |
| `MTLComputeCommandEncoder.sampleCountersInBuffer:atSampleIndex:withBarrier:` | method | missing | M: counter sample buffers |
### MTLComputePass.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLComputePassSampleBufferAttachmentDescriptor` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLComputePassSampleBufferAttachmentDescriptor.sampleBuffer` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLComputePassSampleBufferAttachmentDescriptor.startOfEncoderSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLComputePassSampleBufferAttachmentDescriptor.endOfEncoderSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLComputePassSampleBufferAttachmentDescriptorArray` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLComputePassSampleBufferAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLComputePassSampleBufferAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLComputePassDescriptor` | class | missing | S: see `computeCommandEncoderWithDescriptor:` |
| `MTLComputePassDescriptor.computePassDescriptor` | class method | missing | S: see `computeCommandEncoderWithDescriptor:` |
| `MTLComputePassDescriptor.dispatchType` | property | missing | S: see `computeCommandEncoderWithDescriptor:` |
| `MTLComputePassDescriptor.sampleBufferAttachments` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
### MTLComputePipeline.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLComputePipelineReflection` | class | implemented | `ComputePipelineReflection` (translator) |
| `MTLComputePipelineReflection.bindings` | property | implemented | `ComputePipelineReflection::bindings` (translator) |
| `MTLComputePipelineReflection.arguments` (deprecated) | property | implemented | `ComputePipelineReflection::bindings` (translator): deprecated for `bindings` |
| `MTLComputePipelineDescriptor` | class | implemented | `ComputePipelineDescriptor` (translator) |
| `MTLComputePipelineDescriptor.label` | property | implemented | `PipelineOptions.label` (runtime) |
| `MTLComputePipelineDescriptor.computeFunction` | property | implemented | `ComputePipelineDescriptor.kernel` (translator) |
| `MTLComputePipelineDescriptor.threadGroupSizeIsMultipleOfThreadExecutionWidth` | property | implemented | `ComputePipelineDescriptor.threadgroup_size_is_multiple_of_execution_width` (translator) |
| `MTLComputePipelineDescriptor.maxTotalThreadsPerThreadgroup` | property | implemented | `ComputePipelineDescriptor.max_total_threads_per_threadgroup` (translator) |
| `MTLComputePipelineDescriptor.stageInputDescriptor` | property | implemented | `ComputePipelineDescriptor.stage_input` (translator) |
| `MTLComputePipelineDescriptor.buffers` | property | implemented | `ComputePipelineDescriptor.buffers` (translator) |
| `MTLComputePipelineDescriptor.supportIndirectCommandBuffers` | property | implemented | `ComputePipelineDescriptor.support_indirect_command_buffers` (translator) |
| `MTLComputePipelineDescriptor.insertLibraries` (deprecated) | property | implemented | `FunctionDescriptor.libraries` (translator): the deprecated name of `preloadedLibraries` |
| `MTLComputePipelineDescriptor.preloadedLibraries` | property | implemented | `FunctionDescriptor.libraries` (translator) |
| `MTLComputePipelineDescriptor.binaryArchives` | property | implemented | `PipelineOptions.binary_archives` (runtime) |
| `MTLComputePipelineDescriptor.reset` | method | implemented | `ComputePipelineDescriptor::new` (translator): a plain value: assign a new one |
| `MTLComputePipelineDescriptor.linkedFunctions` | property | implemented | `FunctionDescriptor.linked` (translator) |
| `MTLComputePipelineDescriptor.supportAddingBinaryFunctions` | property | implemented | `ComputePipelineDescriptor.support_adding_binary_functions` (translator) |
| `MTLComputePipelineDescriptor.maxCallStackDepth` | property | implemented | `ComputePipelineDescriptor.max_call_stack_depth` (translator) |
| `MTLComputePipelineDescriptor.shaderValidation` | property | missing | L: shader validation (`RuntimeGap::ShaderValidation`, not scheduled) |
| `MTLComputePipelineDescriptor.requiredThreadsPerThreadgroup` | property | implemented | `ComputePipelineDescriptor.required_threads_per_threadgroup` (translator) |
| `MTLComputePipelineDescriptor.forwardProgressUsage` | property | missing | L: persistent kernels (macOS 27): forward progress and contention hints, unmeasured |
| `MTLComputePipelineDescriptor.contentionRelief` | property | missing | L: persistent kernels (macOS 27): forward progress and contention hints, unmeasured |
| `MTLComputePipelineDescriptor.optimizeForPersistentKernel` | property | missing | L: persistent kernels (macOS 27): forward progress and contention hints, unmeasured |
| `MTLComputePipelineState` | protocol | implemented | `ComputePipelineState` (runtime) |
| `MTLComputePipelineState.label` | property | implemented | `ComputePipelineState::label` (runtime) |
| `MTLComputePipelineState.reflection` | property | missing | S: the state's reflection after creation (macOS 26), nil for a state a device made, set only by Metal 4's compiler; the runtime gives the creation's answer at creation (`new_compute_pipeline_state_with_reflection`) and after it (`ComputePipelineState::compiled_reflection`) |
| `MTLComputePipelineState.functionHandleWithName:` | method | missing | S: a handle by function name; the runtime takes the `Function` (`ComputePipelineState::function_handle`) |
| `MTLComputePipelineState.functionHandleWithBinaryFunction:` | method | implemented | `ComputePipelineState::function_handle` (runtime) |
| `MTLComputePipelineState.newComputePipelineStateWithBinaryFunctions:error:` | method | implemented | `ComputePipelineState::new_compute_pipeline_state_with_additional_binary_functions` (runtime) |
| `MTLComputePipelineState.device` | property | implemented | `ComputePipelineState::device` (runtime) |
| `MTLComputePipelineState.maxTotalThreadsPerThreadgroup` | property | implemented | `ComputePipelineState::max_total_threads_per_threadgroup` (runtime) |
| `MTLComputePipelineState.threadExecutionWidth` | property | implemented | `ComputePipelineState::thread_execution_width` (runtime) |
| `MTLComputePipelineState.staticThreadgroupMemoryLength` | property | implemented | `ComputePipelineState::static_threadgroup_memory_length` (runtime) |
| `MTLComputePipelineState.imageblockMemoryLengthForDimensions:` | method | implemented | `ComputePipelineState::imageblock_memory_length_for_dimensions` (runtime) |
| `MTLComputePipelineState.supportIndirectCommandBuffers` | property | implemented | `ComputePipelineState::support_indirect_command_buffers` (runtime) |
| `MTLComputePipelineState.gpuResourceID` | property | implemented | `ComputePipelineState::gpu_resource_id` (runtime) |
| `MTLComputePipelineState.functionHandleWithFunction:` | method | implemented | `ComputePipelineState::function_handle` (runtime) |
| `MTLComputePipelineState.newComputePipelineStateWithAdditionalBinaryFunctions:error:` | method | implemented | `ComputePipelineState::new_compute_pipeline_state_with_additional_binary_functions` (runtime) |
| `MTLComputePipelineState.newVisibleFunctionTableWithDescriptor:` | method | implemented | `ComputePipelineState::new_visible_function_table` (runtime) |
| `MTLComputePipelineState.newIntersectionFunctionTableWithDescriptor:` | method | out of scope | ray tracing |
| `MTLComputePipelineState.shaderValidation` | property | missing | L: shader validation (`RuntimeGap::ShaderValidation`, not scheduled) |
| `MTLComputePipelineState.requiredThreadsPerThreadgroup` | property | implemented | `ComputePipelineState::required_threads_per_threadgroup` (runtime) |
| `MTLComputePipelineState.recommendedPersistentThreadgroupsPerGridForThreadsPerThreadgroup:` | method | missing | L: persistent kernels (macOS 27) |
| `MTLComputePipelineState.forwardProgressUsage` | property | missing | L: persistent kernels (macOS 27) |
### MTLCounters.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLCounter` | protocol | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounter.name` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSet` | protocol | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSet.name` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSet.counters` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBufferDescriptor` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBufferDescriptor.counterSet` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBufferDescriptor.label` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBufferDescriptor.storageMode` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBufferDescriptor.sampleCount` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBuffer` | protocol | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBuffer.device` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBuffer.label` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBuffer.sampleCount` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLCounterSampleBuffer.resolveCounterRange:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
### MTLDepthStencil.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLStencilDescriptor` | class | implemented | `StencilDescriptor` (translator) |
| `MTLStencilDescriptor.stencilCompareFunction` | property | implemented | `StencilDescriptor.stencil_compare_function` (translator) |
| `MTLStencilDescriptor.stencilFailureOperation` | property | implemented | `StencilDescriptor.stencil_failure_operation` (translator) |
| `MTLStencilDescriptor.depthFailureOperation` | property | implemented | `StencilDescriptor.depth_failure_operation` (translator) |
| `MTLStencilDescriptor.depthStencilPassOperation` | property | implemented | `StencilDescriptor.depth_stencil_pass_operation` (translator) |
| `MTLStencilDescriptor.readMask` | property | implemented | `StencilDescriptor.read_mask` (translator) |
| `MTLStencilDescriptor.writeMask` | property | implemented | `StencilDescriptor.write_mask` (translator) |
| `MTLDepthStencilDescriptor` | class | implemented | `DepthStencilDescriptor` (translator) |
| `MTLDepthStencilDescriptor.depthCompareFunction` | property | implemented | `DepthStencilDescriptor.depth_compare_function` (translator) |
| `MTLDepthStencilDescriptor.depthWriteEnabled` | property | implemented | `DepthStencilDescriptor.depth_write_enabled` (translator) |
| `MTLDepthStencilDescriptor.frontFaceStencil` | property | implemented | `DepthStencilDescriptor.front_face_stencil` (translator) |
| `MTLDepthStencilDescriptor.backFaceStencil` | property | implemented | `DepthStencilDescriptor.back_face_stencil` (translator) |
| `MTLDepthStencilDescriptor.label` | property | missing | S: labels of samplers, depth/stencil states, functions, libraries and texture handles |
| `MTLDepthStencilState` | protocol | implemented | `DepthStencilState` (runtime) |
| `MTLDepthStencilState.label` | property | missing | S: labels of samplers, depth/stencil states, functions, libraries and texture handles |
| `MTLDepthStencilState.device` | property | implemented | `DepthStencilState::device` (runtime) |
| `MTLDepthStencilState.gpuResourceID` | property | implemented | `DepthStencilState::gpu_resource_id` (runtime) |
### MTLDevice.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLArgumentDescriptor` | class | implemented | `ArgumentDescriptor` (translator) |
| `MTLArgumentDescriptor.argumentDescriptor` | class method | implemented | `ArgumentDescriptor::new` (translator): a plain value |
| `MTLArgumentDescriptor.dataType` | property | implemented | `ArgumentDescriptor.data_type` (translator) |
| `MTLArgumentDescriptor.index` | property | implemented | `ArgumentDescriptor.index` (translator) |
| `MTLArgumentDescriptor.arrayLength` | property | implemented | `ArgumentDescriptor.array_length` (translator) |
| `MTLArgumentDescriptor.access` | property | implemented | `ArgumentDescriptor.access` (translator) |
| `MTLArgumentDescriptor.textureType` | property | implemented | `ArgumentDescriptor.texture_type` (translator) |
| `MTLArgumentDescriptor.constantBlockAlignment` | property | implemented | `ArgumentDescriptor.constant_block_alignment` (translator) |
| `MTLArchitecture` | class | missing | S: Apple's GPU architecture name; a Vulkan device has none |
| `MTLArchitecture.name` | property | missing | S: Apple's GPU architecture name; a Vulkan device has none |
| `MTLDevice` | protocol | implemented | `Device, DeviceProperties` (runtime) |
| `MTLDevice.name` | property | implemented | `Device::name` (runtime) |
| `MTLDevice.registryID` | property | implemented | `Device::registry_id` (runtime) |
| `MTLDevice.architecture` | property | missing | S: Apple's GPU architecture name (`MTLArchitecture`); a Vulkan device has no Apple architecture, so only its driver's name could answer |
| `MTLDevice.maxThreadsPerThreadgroup` | property | implemented | `DeviceProperties.max_threads_per_threadgroup` (runtime) |
| `MTLDevice.lowPower` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers NO |
| `MTLDevice.headless` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers NO |
| `MTLDevice.removable` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers NO |
| `MTLDevice.hasUnifiedMemory` | property | implemented | `DeviceProperties.has_unified_memory` (runtime) |
| `MTLDevice.recommendedMaxWorkingSetSize` | property | missing | S: the device-local heap's budget would answer it |
| `MTLDevice.location` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers built-in |
| `MTLDevice.locationNumber` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers 0 |
| `MTLDevice.maxTransferRate` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers 0 |
| `MTLDevice.depth24Stencil8PixelFormatSupported` (deprecated) | property | implemented | `DeviceProperties::is_depth24_stencil8_pixel_format_supported` (runtime) |
| `MTLDevice.readWriteTextureSupport` | property | implemented | `DeviceProperties.read_write_texture_support` (runtime) |
| `MTLDevice.argumentBuffersSupport` | property | implemented | `DeviceProperties.argument_buffers_support` (runtime) |
| `MTLDevice.rasterOrderGroupsSupported` | property | implemented | `DeviceProperties::are_raster_order_groups_supported` (runtime) |
| `MTLDevice.supports32BitFloatFiltering` | property | implemented | `DeviceProperties.supports_32bit_float_filtering` (runtime) |
| `MTLDevice.supports32BitMSAA` | property | implemented | `Device::supports_32bit_msaa` (runtime) |
| `MTLDevice.supportsQueryTextureLOD` | property | missing | S: capability query; the family rows hold the answer (`FeatureRow::QueryTextureLod`) |
| `MTLDevice.supportsBCTextureCompression` | property | missing | S: capability query; the family rows hold the answer (`FeatureRow::BcPixelFormats`) |
| `MTLDevice.supportsPullModelInterpolation` | property | implemented | `DeviceProperties::supports_pull_model_interpolation` (runtime) |
| `MTLDevice.barycentricCoordsSupported` (deprecated) | property | missing | S: capability query (deprecated name of the next) |
| `MTLDevice.supportsShaderBarycentricCoordinates` | property | missing | S: capability query; the family rows hold the answer (`FeatureRow::BarycentricCoordinates`) |
| `MTLDevice.currentAllocatedSize` | property | missing | S: the runtime's sub-allocator knows the total |
| `MTLDevice.newLogStateWithDescriptor:error:` | method | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLDevice.newCommandQueue` | method | implemented | `Device::new_command_queue` (runtime) |
| `MTLDevice.newCommandQueueWithMaxCommandBufferCount:` | method | implemented | `Device::new_command_queue_with_max_command_buffer_count` (runtime) |
| `MTLDevice.newCommandQueueWithDescriptor:` | method | missing | S: the descriptor form of `new_command_queue_with_max_command_buffer_count` |
| `MTLDevice.heapTextureSizeAndAlignWithDescriptor:` | method | implemented | `Device::heap_texture_size_and_align` (runtime) |
| `MTLDevice.heapBufferSizeAndAlignWithLength:options:` | method | implemented | `Device::heap_buffer_size_and_align` (runtime) |
| `MTLDevice.newHeapWithDescriptor:` | method | implemented | `Device::new_heap` (runtime) |
| `MTLDevice.newBufferWithLength:options:` | method | implemented | `Device::new_buffer` (runtime) |
| `MTLDevice.newBufferWithBytes:length:options:` | method | implemented | `Device::new_buffer_with_bytes` (runtime) |
| `MTLDevice.newBufferWithBytesNoCopy:length:options:deallocator:` | method | implemented | `Device::new_buffer_with_bytes_no_copy` (runtime) |
| `MTLDevice.newDepthStencilStateWithDescriptor:` | method | implemented | `Device::new_depth_stencil_state` (runtime) |
| `MTLDevice.newTextureWithDescriptor:` | method | implemented | `Device::new_texture` (runtime) |
| `MTLDevice.newTextureWithDescriptor:iosurface:plane:` | method | out of scope | IOSurface is the consumer's; the runtime offers the plane over a no-copy buffer |
| `MTLDevice.newSharedTextureWithDescriptor:` | method | implemented | `Device::new_shared_texture` (runtime): in process only |
| `MTLDevice.newSharedTextureWithHandle:` | method | implemented | `Device::new_shared_texture_with_handle` (runtime): in process only |
| `MTLDevice.newSamplerStateWithDescriptor:` | method | implemented | `Device::new_sampler_state, Device::new_sampler_state_with_options` (runtime) |
| `MTLDevice.newDefaultLibrary` | method | out of scope | an app bundle's `default.metallib`: bundles are macOS's; read the metallib and call `new_library_with_data` |
| `MTLDevice.newDefaultLibraryWithBundle:error:` | method | out of scope | an `NSBundle`'s `default.metallib`: bundles are macOS's |
| `MTLDevice.newLibraryWithFile:error:` (deprecated) | method | missing | S: a metallib read from a path |
| `MTLDevice.newLibraryWithURL:error:` | method | missing | S: a metallib read from a file URL |
| `MTLDevice.newLibraryWithData:error:` | method | implemented | `Device::new_library_with_data` (runtime) |
| `MTLDevice.newLibraryWithSource:options:error:` | method | out of scope | MSL source compiles: shaders come in as metallib or AIR; `Device::new_library_with_source` refuses every source typed, `NotImplemented(LibrarySource)` |
| `MTLDevice.newLibraryWithSource:options:completionHandler:` | method | out of scope | MSL source compiles; refused typed as `newLibraryWithSource:options:error:` is (`Device::new_library_with_source`) |
| `MTLDevice.newLibraryWithStitchedDescriptor:error:` | method | missing | L: function stitching |
| `MTLDevice.newLibraryWithStitchedDescriptor:completionHandler:` | method | missing | L: function stitching |
| `MTLDevice.newRenderPipelineStateWithDescriptor:error:` | method | implemented | `Device::new_render_pipeline_state` (runtime) |
| `MTLDevice.newRenderPipelineStateWithDescriptor:options:reflection:error:` | method | implemented | `Device::new_render_pipeline_state_with_reflection` (runtime) |
| `MTLDevice.newRenderPipelineStateWithDescriptor:completionHandler:` | method | implemented | `Device::new_render_pipeline_state` (runtime): handler form: the call returns what the handler receives |
| `MTLDevice.newRenderPipelineStateWithDescriptor:options:completionHandler:` | method | implemented | `Device::new_render_pipeline_state_with_reflection` (runtime): handler form |
| `MTLDevice.newComputePipelineStateWithFunction:error:` | method | implemented | `Device::new_compute_pipeline_state_with_function` (runtime) |
| `MTLDevice.newComputePipelineStateWithFunction:options:reflection:error:` | method | implemented | `Device::new_compute_pipeline_state_with_function_and_reflection` (runtime) |
| `MTLDevice.newComputePipelineStateWithFunction:completionHandler:` | method | implemented | `Device::new_compute_pipeline_state_with_function` (runtime): handler form |
| `MTLDevice.newComputePipelineStateWithFunction:options:completionHandler:` | method | implemented | `Device::new_compute_pipeline_state_with_function_and_reflection` (runtime): handler form |
| `MTLDevice.newComputePipelineStateWithDescriptor:options:reflection:error:` | method | implemented | `Device::new_compute_pipeline_state_with_reflection` (runtime) |
| `MTLDevice.newComputePipelineStateWithDescriptor:options:completionHandler:` | method | implemented | `Device::new_compute_pipeline_state_with_reflection` (runtime): handler form |
| `MTLDevice.newFence` | method | implemented | `Device::new_fence` (runtime) |
| `MTLDevice.supportsFeatureSet:` (deprecated) | method | missing | S: deprecated feature sets; would answer from the family rows |
| `MTLDevice.supportsFamily:` | method | implemented | `Device::supports_family` (runtime) |
| `MTLDevice.supportsTextureSampleCount:` | method | implemented | `DeviceProperties::supports_texture_sample_count` (runtime) |
| `MTLDevice.minimumLinearTextureAlignmentForPixelFormat:` | method | implemented | `Device::minimum_linear_texture_alignment_for_pixel_format` (runtime) |
| `MTLDevice.minimumTextureBufferAlignmentForPixelFormat:` | method | missing | S: the alignment `Buffer::new_texture` checks a texture buffer's offset against |
| `MTLDevice.newRenderPipelineStateWithTileDescriptor:options:reflection:error:` | method | implemented | `Device::new_tile_render_pipeline_state_with_reflection` (runtime) |
| `MTLDevice.newRenderPipelineStateWithTileDescriptor:options:completionHandler:` | method | implemented | `Device::new_tile_render_pipeline_state_with_reflection` (runtime): handler form |
| `MTLDevice.newRenderPipelineStateWithMeshDescriptor:options:reflection:error:` | method | implemented | `Device::new_mesh_render_pipeline_state_with_reflection` (runtime) |
| `MTLDevice.newRenderPipelineStateWithMeshDescriptor:options:completionHandler:` | method | implemented | `Device::new_mesh_render_pipeline_state_with_reflection` (runtime): handler form |
| `MTLDevice.maxThreadgroupMemoryLength` | property | implemented | `DeviceProperties.max_threadgroup_memory_length` (runtime) |
| `MTLDevice.maxArgumentBufferSamplerCount` | property | implemented | `DeviceProperties.max_argument_buffer_sampler_count` (runtime) |
| `MTLDevice.programmableSamplePositionsSupported` | property | implemented | `DeviceProperties::are_programmable_sample_positions_supported` (runtime) |
| `MTLDevice.getDefaultSamplePositions:count:` | method | missing | S: the standard positions a pass without `sample_positions` rasterizes at |
| `MTLDevice.newArgumentEncoderWithArguments:` | method | implemented | `Device::new_argument_encoder_with_arguments` (runtime) |
| `MTLDevice.supportsRasterizationRateMapWithLayerCount:` | method | implemented | `DeviceProperties::supports_rasterization_rate_map_with_layer_count` (runtime) |
| `MTLDevice.newRasterizationRateMapWithDescriptor:` | method | implemented | `Device::new_rasterization_rate_map` (runtime) |
| `MTLDevice.newIndirectCommandBufferWithDescriptor:maxCommandCount:options:` | method | implemented | `Device::new_indirect_command_buffer` (runtime) |
| `MTLDevice.newEvent` | method | implemented | `Device::new_event` (runtime) |
| `MTLDevice.newSharedEvent` | method | implemented | `Device::new_shared_event` (runtime) |
| `MTLDevice.newSharedEventWithHandle:` | method | implemented | `Device::new_shared_event_with_handle` (runtime): in process only |
| `MTLDevice.peerGroupID` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers 0 |
| `MTLDevice.peerIndex` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers 0 |
| `MTLDevice.peerCount` (deprecated) | property | missing | S: deprecated multi-GPU query; Apple silicon answers 1 |
| `MTLDevice.newIOHandleWithURL:error:` (deprecated) | method | missing | L: fast resource loading (`RuntimeGap::IoCommandQueues`) |
| `MTLDevice.newIOCommandQueueWithDescriptor:error:` | method | missing | L: fast resource loading |
| `MTLDevice.newIOHandleWithURL:compressionMethod:error:` (deprecated) | method | missing | L: fast resource loading |
| `MTLDevice.newIOFileHandleWithURL:error:` | method | missing | L: fast resource loading |
| `MTLDevice.newIOFileHandleWithURL:compressionMethod:error:` | method | missing | L: fast resource loading |
| `MTLDevice.sparseTileSizeWithTextureType:pixelFormat:sampleCount:` | method | implemented | `Device::sparse_tile_size` (runtime) |
| `MTLDevice.sparseTileSizeInBytes` | property | implemented | `Device::sparse_tile_size_in_bytes` (runtime) |
| `MTLDevice.convertSparsePixelRegions:toTileRegions:withTileSize:alignmentMode:numRegions:` | method | implemented | `Device::convert_sparse_pixel_regions` (runtime) |
| `MTLDevice.convertSparseTileRegions:toPixelRegions:withTileSize:numRegions:` | method | implemented | `Device::convert_sparse_tile_regions` (runtime) |
| `MTLDevice.sparseTileSizeInBytesForSparsePageSize:` | method | implemented | `Device::sparse_tile_size_in_bytes_for_page` (runtime) |
| `MTLDevice.sparseTileSizeWithTextureType:pixelFormat:sampleCount:sparsePageSize:` | method | implemented | `Device::sparse_tile_size_for_page` (runtime) |
| `MTLDevice.maxBufferLength` | property | implemented | `DeviceProperties.max_buffer_length` (runtime) |
| `MTLDevice.counterSets` | property | missing | S: counter sets; the runtime samples none, so an empty list would be its answer |
| `MTLDevice.newCounterSampleBufferWithDescriptor:error:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLDevice.sampleTimestamps:gpuTimestamp:` | method | missing | S: a CPU and GPU timestamp pair in the time base of `CommandBuffer::gpu_start_time` |
| `MTLDevice.newArgumentEncoderWithBufferBinding:` | method | implemented | `Device::new_argument_encoder_with_buffer_binding` (runtime) |
| `MTLDevice.supportsCounterSampling:` | method | missing | S: the runtime samples no counters, so NO would be its answer |
| `MTLDevice.supportsVertexAmplificationCount:` | method | implemented | `DeviceProperties::supports_vertex_amplification_count` (runtime) |
| `MTLDevice.supportsDynamicLibraries` | property | missing | S: capability query (`FeatureRow::ComputeDynamicLibraries`) |
| `MTLDevice.supportsRenderDynamicLibraries` | property | missing | S: capability query (`FeatureRow::RenderDynamicLibraries`) |
| `MTLDevice.newDynamicLibrary:error:` | method | implemented | `Device::new_dynamic_library` (runtime) |
| `MTLDevice.newDynamicLibraryWithURL:error:` | method | implemented | `Device::new_dynamic_library_with_url` (runtime) |
| `MTLDevice.newBinaryArchiveWithDescriptor:error:` | method | implemented | `Device::new_binary_archive` (runtime) |
| `MTLDevice.supportsPlacementSparse` | property | missing | S: capability query; the runtime makes no placement-sparse buffers, so NO |
| `MTLDevice.supportsRaytracing` | property | missing | S: capability query: the runtime builds no ray tracing, so NO is its answer (the query, not ray tracing) |
| `MTLDevice.accelerationStructureSizesWithDescriptor:` | method | out of scope | ray tracing |
| `MTLDevice.newAccelerationStructureWithSize:` | method | out of scope | ray tracing |
| `MTLDevice.newAccelerationStructureWithDescriptor:` | method | out of scope | ray tracing |
| `MTLDevice.heapAccelerationStructureSizeAndAlignWithSize:` | method | out of scope | ray tracing |
| `MTLDevice.heapAccelerationStructureSizeAndAlignWithDescriptor:` | method | out of scope | ray tracing |
| `MTLDevice.supportsFunctionPointers` | property | missing | S: capability query (`FeatureRow::FunctionPointersCompute`) |
| `MTLDevice.supportsFunctionPointersFromRender` | property | missing | S: capability query (`FeatureRow::FunctionPointersRender`) |
| `MTLDevice.supportsRaytracingFromRender` | property | missing | S: capability query: NO (as `supportsRaytracing`) |
| `MTLDevice.supportsPrimitiveMotionBlur` | property | missing | S: capability query: NO (as `supportsRaytracing`) |
| `MTLDevice.shouldMaximizeConcurrentCompilation` | property | missing | S: a compile-concurrency hint; the runtime compiles on the calling thread |
| `MTLDevice.maximumConcurrentCompilationTaskCount` | property | missing | S: compile concurrency |
| `MTLDevice.newResidencySetWithDescriptor:error:` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLDevice.tensorSizeAndAlignWithDescriptor:` | method | missing | L: tensors |
| `MTLDevice.newTensorWithDescriptor:error:` | method | missing | L: tensors |
| `MTLDevice.newTensorWithDescriptor:attachments:error:` | method | missing | L: tensors |
| `MTLDevice.functionHandleWithFunction:` | method | missing | XL: Metal 4's function handles |
| `MTLDevice.newCommandAllocator` | method | missing | XL: Metal 4 |
| `MTLDevice.newCommandAllocatorWithDescriptor:error:` | method | missing | XL: Metal 4 |
| `MTLDevice.newMTL4CommandQueue` | method | missing | XL: Metal 4 |
| `MTLDevice.newMTL4CommandQueueWithDescriptor:error:` | method | missing | XL: Metal 4 |
| `MTLDevice.newCommandBuffer` | method | missing | XL: Metal 4 |
| `MTLDevice.newArgumentTableWithDescriptor:error:` | method | missing | XL: Metal 4 |
| `MTLDevice.newTextureViewPoolWithDescriptor:error:` | method | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLDevice.newCompilerWithDescriptor:error:` | method | missing | XL: Metal 4 |
| `MTLDevice.newArchiveWithURL:error:` | method | missing | XL: Metal 4 |
| `MTLDevice.newPipelineDataSetSerializerWithDescriptor:` | method | missing | XL: Metal 4 |
| `MTLDevice.newBufferWithLength:options:placementSparsePageSize:` | method | missing | M: placement-sparse buffers |
| `MTLDevice.newCounterHeapWithDescriptor:error:` | method | missing | L: Metal 4 counter heaps |
| `MTLDevice.sizeOfCounterHeapEntry:` | method | missing | L: Metal 4 counter heaps |
| `MTLDevice.queryTimestampFrequency` | method | missing | S: the GPU timestamp frequency |
| `MTLDevice.functionHandleWithBinaryFunction:` | method | missing | XL: Metal 4 |
| `MTLCreateSystemDefaultDevice` | function | implemented | `Device::system_default` (runtime) |
| `MTLCopyAllDevices` | function | implemented | `Device::all` (runtime) |
| `MTLCopyAllDevicesWithObserver` (deprecated) | function | missing | M: device hot-plug notifications (`RuntimeGap::DeviceNotifications`, not scheduled) |
| `MTLRemoveDeviceObserver` (deprecated) | function | missing | M: device hot-plug notifications (`RuntimeGap::DeviceNotifications`, not scheduled) |
### MTLDeviceCertification.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `NSProcessInfo` | category | out of scope | process and device-certification state of the OS, not a GPU object |
| `NSProcessInfo.isDeviceCertifiedFor:` | method | out of scope | process and device-certification state of the OS, not a GPU object |
| `NSProcessInfo.hasPerformanceProfile:` | method | out of scope | process and device-certification state of the OS, not a GPU object |
### MTLDrawable.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLDrawable` | protocol | out of scope | presentation: no `CAMetalLayer` or drawables; the consumer presents the Vulkan image |
| `MTLDrawable.present` | method | out of scope | presentation: no `CAMetalLayer` or drawables; the consumer presents the Vulkan image |
| `MTLDrawable.presentAtTime:` | method | out of scope | presentation: no `CAMetalLayer` or drawables; the consumer presents the Vulkan image |
| `MTLDrawable.presentAfterMinimumDuration:` | method | out of scope | presentation: no `CAMetalLayer` or drawables; the consumer presents the Vulkan image |
| `MTLDrawable.addPresentedHandler:` | method | out of scope | presentation: no `CAMetalLayer` or drawables; the consumer presents the Vulkan image |
| `MTLDrawable.presentedTime` | property | out of scope | presentation: no `CAMetalLayer` or drawables; the consumer presents the Vulkan image |
| `MTLDrawable.drawableID` | property | out of scope | presentation: no `CAMetalLayer` or drawables; the consumer presents the Vulkan image |
### MTLDynamicLibrary.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLDynamicLibrary` | protocol | implemented | `DynamicLibrary` (runtime) |
| `MTLDynamicLibrary.label` | property | implemented | `DynamicLibrary::label` (runtime) |
| `MTLDynamicLibrary.device` | property | implemented | `DynamicLibrary::device` (runtime) |
| `MTLDynamicLibrary.installName` | property | implemented | `DynamicLibrary::install_name` (runtime) |
| `MTLDynamicLibrary.serializeToURL:error:` | method | implemented | `DynamicLibrary::serialize_to_url` (runtime) |
### MTLEvent.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLEvent` | protocol | implemented | `Event` (runtime) |
| `MTLEvent.device` | property | implemented | `Event::device` (runtime) |
| `MTLEvent.label` | property | implemented | `Event::label` (runtime) |
| `MTLSharedEventListener` | class | implemented | `SharedEventListener` (runtime) |
| `MTLSharedEventListener.init` | method | implemented | `SharedEventListener::new` (runtime) |
| `MTLSharedEventListener.initWithDispatchQueue:` | method | out of scope | a GCD dispatch queue is macOS's: the listener runs its own thread |
| `MTLSharedEventListener.dispatchQueue` | property | out of scope | a GCD dispatch queue is macOS's |
| `MTLSharedEventListener.sharedListener` | class method | missing | S: a process-wide listener |
| `MTLSharedEvent` | protocol | implemented | `SharedEvent` (runtime) |
| `MTLSharedEvent.notifyListener:atValue:block:` | method | implemented | `SharedEvent::notify_listener` (runtime) |
| `MTLSharedEvent.newSharedEventHandle` | method | implemented | `SharedEvent::new_shared_event_handle` (runtime) |
| `MTLSharedEvent.waitUntilSignaledValue:timeoutMS:` | method | implemented | `SharedEvent::wait_until_signaled_value` (runtime) |
| `MTLSharedEvent.signaledValue` | property | implemented | `SharedEvent::signaled_value` (runtime) |
| `MTLSharedEventHandle` | class | implemented | `SharedEventHandle` (runtime) |
| `MTLSharedEventHandle.label` | property | implemented | `SharedEventHandle::label` (runtime) |
### MTLFence.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLFence` | protocol | implemented | `Fence` (runtime) |
| `MTLFence.device` | property | implemented | `Fence::device` (runtime) |
| `MTLFence.label` | property | implemented | `Fence::label` (runtime) |
### MTLFunctionConstantValues.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLFunctionConstantValues` | class | implemented | `FunctionConstantValues` (translator) |
| `MTLFunctionConstantValues.setConstantValue:type:atIndex:` | method | implemented | `FunctionConstantValues::with_index` (translator) |
| `MTLFunctionConstantValues.setConstantValues:type:withRange:` | method | implemented | `FunctionConstantValues::with_index` (translator): one call an index of the range |
| `MTLFunctionConstantValues.setConstantValue:type:withName:` | method | implemented | `FunctionConstantValues::with_name` (translator) |
| `MTLFunctionConstantValues.reset` | method | implemented | `FunctionConstantValues` (translator): a plain value: assign a new one |
### MTLFunctionDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLFunctionDescriptor` | class | implemented | `FunctionDescriptor` (runtime) |
| `MTLFunctionDescriptor.functionDescriptor` | class method | implemented | `FunctionDescriptor::new` (runtime) |
| `MTLFunctionDescriptor.name` | property | implemented | `FunctionDescriptor.name` (runtime) |
| `MTLFunctionDescriptor.specializedName` | property | missing | S: a specialized function's own name |
| `MTLFunctionDescriptor.constantValues` | property | implemented | `FunctionDescriptor.constant_values` (runtime) |
| `MTLFunctionDescriptor.options` | property | implemented | `FunctionDescriptor.options` (runtime) |
| `MTLFunctionDescriptor.binaryArchives` | property | missing | S: binary archives searched for one function's compile (`PipelineOptions.binary_archives` serves pipelines) |
| `MTLIntersectionFunctionDescriptor` | class | out of scope | ray tracing |
### MTLFunctionHandle.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLFunctionHandle` | protocol | implemented | `FunctionHandle` (runtime) |
| `MTLFunctionHandle.functionType` | property | missing | S: a handle's function type (the runtime's `FunctionHandle` names its function) |
| `MTLFunctionHandle.name` | property | implemented | `FunctionHandle::name` (runtime) |
| `MTLFunctionHandle.device` | property | implemented | `FunctionHandle::device` (runtime) |
| `MTLFunctionHandle.gpuResourceID` | property | missing | S: a handle's resource ID |
### MTLFunctionLog.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLLogContainer` | protocol | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLogDebugLocation` | protocol | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLogDebugLocation.functionName` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLogDebugLocation.URL` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLogDebugLocation.line` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLogDebugLocation.column` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLog` | protocol | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLog.type` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLog.encoderLabel` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLog.function` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLFunctionLog.debugLocation` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
### MTLFunctionStitching.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLFunctionStitchingAttribute` | protocol | missing | L: function stitching |
| `MTLFunctionStitchingAttributeAlwaysInline` | class | missing | L: function stitching |
| `MTLFunctionStitchingNode` | protocol | missing | L: function stitching |
| `MTLFunctionStitchingInputNode` | class | missing | L: function stitching |
| `MTLFunctionStitchingInputNode.argumentIndex` | property | missing | L: function stitching |
| `MTLFunctionStitchingInputNode.initWithArgumentIndex:` | method | missing | L: function stitching |
| `MTLFunctionStitchingFunctionNode` | class | missing | L: function stitching |
| `MTLFunctionStitchingFunctionNode.name` | property | missing | L: function stitching |
| `MTLFunctionStitchingFunctionNode.arguments` | property | missing | L: function stitching |
| `MTLFunctionStitchingFunctionNode.controlDependencies` | property | missing | L: function stitching |
| `MTLFunctionStitchingFunctionNode.initWithName:arguments:controlDependencies:` | method | missing | L: function stitching |
| `MTLFunctionStitchingGraph` | class | missing | L: function stitching |
| `MTLFunctionStitchingGraph.functionName` | property | missing | L: function stitching |
| `MTLFunctionStitchingGraph.nodes` | property | missing | L: function stitching |
| `MTLFunctionStitchingGraph.outputNode` | property | missing | L: function stitching |
| `MTLFunctionStitchingGraph.attributes` | property | missing | L: function stitching |
| `MTLFunctionStitchingGraph.initWithFunctionName:nodes:outputNode:attributes:` | method | missing | L: function stitching |
| `MTLStitchedLibraryDescriptor` | class | missing | L: function stitching |
| `MTLStitchedLibraryDescriptor.functionGraphs` | property | missing | L: function stitching |
| `MTLStitchedLibraryDescriptor.functions` | property | missing | L: function stitching |
| `MTLStitchedLibraryDescriptor.binaryArchives` | property | missing | L: function stitching |
| `MTLStitchedLibraryDescriptor.options` | property | missing | L: function stitching |
### MTLHeap.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLHeapDescriptor` | class | implemented | `HeapDescriptor` (runtime) |
| `MTLHeapDescriptor.size` | property | implemented | `HeapDescriptor.size` (runtime) |
| `MTLHeapDescriptor.storageMode` | property | implemented | `HeapDescriptor.resource_options` (runtime): `ResourceOptions` holds the three modes |
| `MTLHeapDescriptor.cpuCacheMode` | property | implemented | `HeapDescriptor.resource_options` (runtime) |
| `MTLHeapDescriptor.sparsePageSize` | property | implemented | `HeapDescriptor.sparse_page_size` (runtime) |
| `MTLHeapDescriptor.hazardTrackingMode` | property | implemented | `HeapDescriptor.resource_options` (runtime) |
| `MTLHeapDescriptor.resourceOptions` | property | implemented | `HeapDescriptor.resource_options` (runtime) |
| `MTLHeapDescriptor.type` | property | implemented | `HeapDescriptor.heap_type` (runtime) |
| `MTLHeapDescriptor.maxCompatiblePlacementSparsePageSize` | property | missing | S: placement sparse heaps' largest page size |
| `MTLHeap` | protocol | implemented | `Heap` (runtime) |
| `MTLHeap.label` | property | implemented | `Heap::label` (runtime) |
| `MTLHeap.device` | property | implemented | `Heap::device` (runtime) |
| `MTLHeap.storageMode` | property | implemented | `Heap::storage_mode` (runtime) |
| `MTLHeap.cpuCacheMode` | property | implemented | `Heap::cpu_cache_mode` (runtime) |
| `MTLHeap.hazardTrackingMode` | property | implemented | `Heap::hazard_tracking_mode` (runtime) |
| `MTLHeap.resourceOptions` | property | implemented | `Heap::resource_options` (runtime) |
| `MTLHeap.size` | property | implemented | `Heap::size` (runtime) |
| `MTLHeap.usedSize` | property | implemented | `Heap::used_size` (runtime) |
| `MTLHeap.currentAllocatedSize` | property | implemented | `Heap::current_allocated_size` (runtime) |
| `MTLHeap.maxAvailableSizeWithAlignment:` | method | implemented | `Heap::max_available_size` (runtime) |
| `MTLHeap.newBufferWithLength:options:` | method | implemented | `Heap::new_buffer` (runtime) |
| `MTLHeap.newTextureWithDescriptor:` | method | implemented | `Heap::new_texture` (runtime) |
| `MTLHeap.setPurgeableState:` | method | implemented | `Heap::set_purgeable_state` (runtime) |
| `MTLHeap.type` | property | implemented | `Heap::heap_type` (runtime) |
| `MTLHeap.newBufferWithLength:options:offset:` | method | implemented | `Heap::new_buffer_at_offset` (runtime) |
| `MTLHeap.newTextureWithDescriptor:offset:` | method | implemented | `Heap::new_texture_at_offset` (runtime) |
| `MTLHeap.newAccelerationStructureWithSize:` | method | out of scope | ray tracing |
| `MTLHeap.newAccelerationStructureWithDescriptor:` | method | out of scope | ray tracing |
| `MTLHeap.newAccelerationStructureWithSize:offset:` | method | out of scope | ray tracing |
| `MTLHeap.newAccelerationStructureWithDescriptor:offset:` | method | out of scope | ray tracing |
### MTLIOCommandBuffer.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLIOCommandBuffer` | protocol | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.addCompletedHandler:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.loadBytes:size:sourceHandle:sourceHandleOffset:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.loadBuffer:offset:size:sourceHandle:sourceHandleOffset:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.loadTexture:slice:level:size:sourceBytesPerRow:sourceBytesPerImage:destinationOrigin:sourceHandle:sourceHandleOffset:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.copyStatusToBuffer:offset:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.commit` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.waitUntilCompleted` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.tryCancel` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.addBarrier` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.pushDebugGroup:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.popDebugGroup` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.enqueue` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.waitForEvent:value:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.signalEvent:value:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.label` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.status` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandBuffer.error` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
### MTLIOCommandQueue.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLIOCommandQueue` | protocol | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueue.enqueueBarrier` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueue.commandBuffer` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueue.commandBufferWithUnretainedReferences` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueue.label` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOScratchBuffer` | protocol | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOScratchBuffer.buffer` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOScratchBufferAllocator` | protocol | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOScratchBufferAllocator.newScratchBufferWithMinimumSize:` | method | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueueDescriptor` | class | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueueDescriptor.maxCommandBufferCount` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueueDescriptor.priority` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueueDescriptor.type` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueueDescriptor.maxCommandsInFlight` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCommandQueueDescriptor.scratchBufferAllocator` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOFileHandle` | protocol | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOFileHandle.label` | property | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
### MTLIOCompressor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLIOCompressionContextDefaultChunkSize` | function | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCreateCompressionContext` | function | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOCompressionContextAppendData` | function | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
| `MTLIOFlushAndDestroyCompressionContext` | function | missing | L: fast resource loading (`MTLIOCommandQueue`, `RuntimeGap::IoCommandQueues`) |
### MTLIndirectCommandBuffer.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLIndirectCommandBufferDescriptor` | class | implemented | `IndirectCommandBufferDescriptor` (runtime) |
| `MTLIndirectCommandBufferDescriptor.commandTypes` | property | implemented | `IndirectCommandBufferDescriptor.command_types` (runtime) |
| `MTLIndirectCommandBufferDescriptor.inheritPipelineState` | property | implemented | `IndirectCommandBufferDescriptor.inherit_pipeline_state` (runtime) |
| `MTLIndirectCommandBufferDescriptor.inheritBuffers` | property | implemented | `IndirectCommandBufferDescriptor.inherit_buffers` (runtime) |
| `MTLIndirectCommandBufferDescriptor.inheritDepthStencilState` | property | implemented | `IndirectCommandBufferDescriptor.inherit_depth_stencil_state` (runtime) |
| `MTLIndirectCommandBufferDescriptor.inheritDepthBias` | property | implemented | `IndirectCommandBufferDescriptor.inherit_depth_bias` (runtime) |
| `MTLIndirectCommandBufferDescriptor.inheritDepthClipMode` | property | implemented | `IndirectCommandBufferDescriptor.inherit_depth_clip_mode` (runtime) |
| `MTLIndirectCommandBufferDescriptor.inheritCullMode` | property | implemented | `IndirectCommandBufferDescriptor.inherit_cull_mode` (runtime) |
| `MTLIndirectCommandBufferDescriptor.inheritFrontFacingWinding` | property | implemented | `IndirectCommandBufferDescriptor.inherit_front_facing_winding` (runtime) |
| `MTLIndirectCommandBufferDescriptor.inheritTriangleFillMode` | property | implemented | `IndirectCommandBufferDescriptor.inherit_triangle_fill_mode` (runtime) |
| `MTLIndirectCommandBufferDescriptor.maxVertexBufferBindCount` | property | implemented | `IndirectCommandBufferDescriptor.max_vertex_buffer_bind_count` (runtime) |
| `MTLIndirectCommandBufferDescriptor.maxFragmentBufferBindCount` | property | implemented | `IndirectCommandBufferDescriptor.max_fragment_buffer_bind_count` (runtime) |
| `MTLIndirectCommandBufferDescriptor.maxKernelBufferBindCount` | property | implemented | `IndirectCommandBufferDescriptor.max_kernel_buffer_bind_count` (runtime) |
| `MTLIndirectCommandBufferDescriptor.maxKernelThreadgroupMemoryBindCount` | property | implemented | `IndirectCommandBufferDescriptor.max_kernel_threadgroup_memory_bind_count` (runtime) |
| `MTLIndirectCommandBufferDescriptor.maxObjectBufferBindCount` | property | implemented | `IndirectCommandBufferDescriptor.max_object_buffer_bind_count` (runtime) |
| `MTLIndirectCommandBufferDescriptor.maxMeshBufferBindCount` | property | implemented | `IndirectCommandBufferDescriptor.max_mesh_buffer_bind_count` (runtime) |
| `MTLIndirectCommandBufferDescriptor.maxObjectThreadgroupMemoryBindCount` | property | implemented | `IndirectCommandBufferDescriptor.max_object_threadgroup_memory_bind_count` (runtime) |
| `MTLIndirectCommandBufferDescriptor.supportRayTracing` | property | out of scope | ray tracing |
| `MTLIndirectCommandBufferDescriptor.supportDynamicAttributeStride` | property | implemented | `IndirectCommandBufferDescriptor.support_dynamic_attribute_stride` (runtime) |
| `MTLIndirectCommandBufferDescriptor.supportColorAttachmentMapping` | property | implemented | `IndirectCommandBufferDescriptor.support_color_attachment_mapping` (runtime) |
| `MTLIndirectCommandBuffer` | protocol | implemented | `IndirectCommandBuffer` (runtime) |
| `MTLIndirectCommandBuffer.size` | property | implemented | `IndirectCommandBuffer::size` (runtime) |
| `MTLIndirectCommandBuffer.gpuResourceID` | property | implemented | `IndirectCommandBuffer::gpu_resource_id` (runtime) |
| `MTLIndirectCommandBuffer.resetWithRange:` | method | implemented | `IndirectCommandBuffer::reset_with_range` (runtime) |
| `MTLIndirectCommandBuffer.indirectRenderCommandAtIndex:` | method | implemented | `IndirectCommandBuffer::indirect_render_command_at` (runtime) |
| `MTLIndirectCommandBuffer.indirectComputeCommandAtIndex:` | method | implemented | `IndirectCommandBuffer::indirect_compute_command_at` (runtime) |
| `MTLIndirectCommandBufferExecutionRangeMake` | function | implemented | `ComputeCommandEncoder::execute_commands_in_buffer` (runtime): a `Range<u64>` |
### MTLIndirectCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLIndirectRenderCommand` | protocol | implemented | `IndirectRenderCommand` (runtime) |
| `MTLIndirectRenderCommand.setRenderPipelineState:` | method | implemented | `IndirectRenderCommand::set_render_pipeline_state` (runtime) |
| `MTLIndirectRenderCommand.setVertexBuffer:offset:atIndex:` | method | implemented | `IndirectRenderCommand::set_vertex_buffer` (runtime) |
| `MTLIndirectRenderCommand.setFragmentBuffer:offset:atIndex:` | method | implemented | `IndirectRenderCommand::set_fragment_buffer` (runtime) |
| `MTLIndirectRenderCommand.setVertexBuffer:offset:attributeStride:atIndex:` | method | implemented | `IndirectRenderCommand::set_vertex_buffer_with_stride` (runtime) |
| `MTLIndirectRenderCommand.drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:` | method | implemented | `IndirectRenderCommand::draw_patches` (runtime) |
| `MTLIndirectRenderCommand.drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:tessellationFactorBuffer:tessellationFactorBufferOffset:tessellationFactorBufferInstanceStride:` | method | implemented | `IndirectRenderCommand::draw_indexed_patches` (runtime) |
| `MTLIndirectRenderCommand.drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:` | method | implemented | `IndirectRenderCommand::draw_primitives` (runtime) |
| `MTLIndirectRenderCommand.drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:` | method | implemented | `IndirectRenderCommand::draw_indexed_primitives` (runtime) |
| `MTLIndirectRenderCommand.setObjectThreadgroupMemoryLength:atIndex:` | method | implemented | `IndirectRenderCommand::set_object_threadgroup_memory_length` (runtime) |
| `MTLIndirectRenderCommand.setObjectBuffer:offset:atIndex:` | method | implemented | `IndirectRenderCommand::set_object_buffer` (runtime) |
| `MTLIndirectRenderCommand.setMeshBuffer:offset:atIndex:` | method | implemented | `IndirectRenderCommand::set_mesh_buffer` (runtime) |
| `MTLIndirectRenderCommand.drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:` | method | implemented | `IndirectRenderCommand::draw_mesh_threadgroups` (runtime) |
| `MTLIndirectRenderCommand.drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:` | method | implemented | `IndirectRenderCommand::draw_mesh_threads` (runtime) |
| `MTLIndirectRenderCommand.setBarrier` | method | implemented | `IndirectRenderCommand::set_barrier` (runtime) |
| `MTLIndirectRenderCommand.clearBarrier` | method | implemented | `IndirectRenderCommand::clear_barrier` (runtime) |
| `MTLIndirectRenderCommand.setDepthStencilState:` | method | implemented | `IndirectRenderCommand::set_depth_stencil_state` (runtime) |
| `MTLIndirectRenderCommand.setDepthBias:slopeScale:clamp:` | method | implemented | `IndirectRenderCommand::set_depth_bias` (runtime) |
| `MTLIndirectRenderCommand.setDepthClipMode:` | method | implemented | `IndirectRenderCommand::set_depth_clip_mode` (runtime) |
| `MTLIndirectRenderCommand.setCullMode:` | method | implemented | `IndirectRenderCommand::set_cull_mode` (runtime) |
| `MTLIndirectRenderCommand.setFrontFacingWinding:` | method | implemented | `IndirectRenderCommand::set_front_facing_winding` (runtime) |
| `MTLIndirectRenderCommand.setTriangleFillMode:` | method | implemented | `IndirectRenderCommand::set_triangle_fill_mode` (runtime) |
| `MTLIndirectRenderCommand.reset` | method | implemented | `IndirectRenderCommand::reset` (runtime) |
| `MTLIndirectComputeCommand` | protocol | implemented | `IndirectComputeCommand` (runtime) |
| `MTLIndirectComputeCommand.setComputePipelineState:` | method | implemented | `IndirectComputeCommand::set_compute_pipeline_state` (runtime) |
| `MTLIndirectComputeCommand.setKernelBuffer:offset:atIndex:` | method | implemented | `IndirectComputeCommand::set_kernel_buffer` (runtime) |
| `MTLIndirectComputeCommand.setKernelBuffer:offset:attributeStride:atIndex:` | method | implemented | `IndirectComputeCommand::set_kernel_buffer_with_stride` (runtime) |
| `MTLIndirectComputeCommand.concurrentDispatchThreadgroups:threadsPerThreadgroup:` | method | implemented | `IndirectComputeCommand::concurrent_dispatch_threadgroups` (runtime) |
| `MTLIndirectComputeCommand.concurrentDispatchThreads:threadsPerThreadgroup:` | method | implemented | `IndirectComputeCommand::concurrent_dispatch_threads` (runtime) |
| `MTLIndirectComputeCommand.setBarrier` | method | implemented | `IndirectComputeCommand::set_barrier` (runtime) |
| `MTLIndirectComputeCommand.clearBarrier` | method | implemented | `IndirectComputeCommand::clear_barrier` (runtime) |
| `MTLIndirectComputeCommand.setImageblockWidth:height:` | method | implemented | `IndirectComputeCommand::set_imageblock_size` (runtime) |
| `MTLIndirectComputeCommand.reset` | method | implemented | `IndirectComputeCommand::reset` (runtime) |
| `MTLIndirectComputeCommand.setThreadgroupMemoryLength:atIndex:` | method | implemented | `IndirectComputeCommand::set_threadgroup_memory_length` (runtime) |
| `MTLIndirectComputeCommand.setStageInRegion:` | method | implemented | `IndirectComputeCommand::set_stage_in_region` (runtime) |
### MTLIntersectionFunctionTable.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLIntersectionFunctionTableDescriptor` | class | out of scope | ray tracing |
| `MTLIntersectionFunctionTableDescriptor.intersectionFunctionTableDescriptor` | class method | out of scope | ray tracing |
| `MTLIntersectionFunctionTableDescriptor.functionCount` | property | out of scope | ray tracing |
| `MTLIntersectionFunctionTable` | protocol | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setBuffer:offset:atIndex:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setBuffers:offsets:withRange:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.gpuResourceID` | property | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setFunction:atIndex:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setFunctions:withRange:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setOpaqueTriangleIntersectionFunctionWithSignature:atIndex:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setOpaqueTriangleIntersectionFunctionWithSignature:withRange:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setOpaqueCurveIntersectionFunctionWithSignature:atIndex:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setOpaqueCurveIntersectionFunctionWithSignature:withRange:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setVisibleFunctionTable:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLIntersectionFunctionTable.setVisibleFunctionTables:withBufferRange:` | method | out of scope | ray tracing |
### MTLLibrary.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLVertexAttribute` | class | implemented | `VertexAttribute` (translator) |
| `MTLVertexAttribute.name` | property | implemented | `Attribute::name` (translator) |
| `MTLVertexAttribute.attributeIndex` | property | implemented | `Attribute::attribute_index` (translator) |
| `MTLVertexAttribute.attributeType` | property | implemented | `Attribute::attribute_type` (translator) |
| `MTLVertexAttribute.active` | property | implemented | `Attribute::is_active` (translator) |
| `MTLVertexAttribute.patchData` | property | implemented | `Attribute::is_patch_data` (translator) |
| `MTLVertexAttribute.patchControlPointData` | property | implemented | `Attribute::is_patch_control_point_data` (translator) |
| `MTLAttribute` | class | implemented | `Attribute` (translator) |
| `MTLAttribute.name` | property | implemented | `Attribute::name` (translator) |
| `MTLAttribute.attributeIndex` | property | implemented | `Attribute::attribute_index` (translator) |
| `MTLAttribute.attributeType` | property | implemented | `Attribute::attribute_type` (translator) |
| `MTLAttribute.active` | property | implemented | `Attribute::is_active` (translator) |
| `MTLAttribute.patchData` | property | implemented | `Attribute::is_patch_data` (translator) |
| `MTLAttribute.patchControlPointData` | property | implemented | `Attribute::is_patch_control_point_data` (translator) |
| `MTLFunctionConstant` | class | implemented | `FunctionConstant` (translator) |
| `MTLFunctionConstant.name` | property | implemented | `FunctionConstant::name` (translator) |
| `MTLFunctionConstant.type` | property | implemented | `FunctionConstant::data_type` (translator) |
| `MTLFunctionConstant.index` | property | implemented | `FunctionConstant::index` (translator) |
| `MTLFunctionConstant.required` | property | implemented | `FunctionConstant::is_required` (translator) |
| `MTLFunction` | protocol | implemented | `Function` (runtime) |
| `MTLFunction.label` | property | missing | S: labels of samplers, depth/stencil states, functions, libraries and texture handles |
| `MTLFunction.device` | property | implemented | `Function::device` (runtime) |
| `MTLFunction.functionType` | property | implemented | `Function::function_type` (runtime) |
| `MTLFunction.patchType` | property | implemented | `Function::patch_type` (runtime) |
| `MTLFunction.patchControlPointCount` | property | implemented | `Function::patch_control_point_count` (runtime) |
| `MTLFunction.vertexAttributes` | property | implemented | `Function::vertex_attributes` (runtime) |
| `MTLFunction.stageInputAttributes` | property | implemented | `Function::stage_input_attributes` (runtime) |
| `MTLFunction.name` | property | implemented | `Function::name` (runtime) |
| `MTLFunction.functionConstantsDictionary` | property | implemented | `Function::function_constants_dictionary` (runtime) |
| `MTLFunction.newArgumentEncoderWithBufferIndex:` | method | implemented | `Function::new_argument_encoder_with_buffer_index` (runtime) |
| `MTLFunction.newArgumentEncoderWithBufferIndex:reflection:` (deprecated) | method | implemented | `Function::new_argument_encoder_with_buffer_index` (runtime) |
| `MTLFunction.options` | property | implemented | `Function::options` (runtime) |
| `MTLCompileOptions` | class | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.preprocessorMacros` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.fastMathEnabled` (deprecated) | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.mathMode` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.mathFloatingPointFunctions` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.languageVersion` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.libraryType` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.installName` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.libraries` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.preserveInvariance` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.optimizationLevel` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.compileSymbolVisibility` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.allowReferencingUndefinedSymbols` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.maxTotalThreadsPerThreadgroup` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.requiredThreadsPerThreadgroup` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.enableLogging` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLCompileOptions.floatingPointConversionRoundingMode` | property | out of scope | MSL source compiles: shaders come in as metallib or AIR |
| `MTLFunctionReflection` | class | implemented | `FunctionReflection` (translator) |
| `MTLFunctionReflection.bindings` | property | implemented | `FunctionReflection::bindings` (translator) |
| `MTLFunctionReflection.userAnnotation` | property | implemented | `FunctionReflection::user_annotation` (translator) |
| `MTLLibrary` | protocol | implemented | `Library` (runtime) |
| `MTLLibrary.label` | property | missing | S: labels of samplers, depth/stencil states, functions, libraries and texture handles |
| `MTLLibrary.device` | property | implemented | `Library::device` (runtime) |
| `MTLLibrary.newFunctionWithName:` | method | implemented | `Library::new_function_with_name` (runtime) |
| `MTLLibrary.newFunctionWithName:constantValues:error:` | method | implemented | `Library::new_function_with_name_constant_values` (runtime) |
| `MTLLibrary.newFunctionWithName:constantValues:completionHandler:` | method | implemented | `Library::new_function_with_name_constant_values` (runtime): synchronous: the result is returned |
| `MTLLibrary.reflectionForFunctionWithName:` | method | implemented | `Library::reflection_for_function_with_name` (runtime) |
| `MTLLibrary.newFunctionWithDescriptor:completionHandler:` | method | implemented | `Library::new_function_with_descriptor` (runtime) |
| `MTLLibrary.newFunctionWithDescriptor:error:` | method | implemented | `Library::new_function_with_descriptor` (runtime) |
| `MTLLibrary.newIntersectionFunctionWithDescriptor:completionHandler:` | method | out of scope | ray tracing |
| `MTLLibrary.newIntersectionFunctionWithDescriptor:error:` | method | out of scope | ray tracing |
| `MTLLibrary.functionNames` | property | implemented | `Library::function_names` (runtime) |
| `MTLLibrary.type` | property | implemented | `Library::library_type` (runtime) |
| `MTLLibrary.installName` | property | implemented | `Library::install_name` (runtime) |
### MTLLinkedFunctions.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLLinkedFunctions` | class | implemented | `LinkedFunctions` (translator) |
| `MTLLinkedFunctions.linkedFunctions` | class method | implemented | `LinkedFunctions::new` (translator) |
| `MTLLinkedFunctions.functions` | property | implemented | `LinkedFunctions.functions` (translator) |
| `MTLLinkedFunctions.binaryFunctions` | property | implemented | `LinkedFunctions.binary_functions` (translator) |
| `MTLLinkedFunctions.groups` | property | implemented | `LinkedFunctions.groups` (translator) |
| `MTLLinkedFunctions.privateFunctions` | property | implemented | `LinkedFunctions.private_functions` (translator) |
### MTLLogState.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLLogState` | protocol | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLLogState.addLogHandler:` | method | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLLogStateDescriptor` | class | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLLogStateDescriptor.level` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
| `MTLLogStateDescriptor.bufferSize` | property | missing | M: shader logging (`RuntimeGap::ShaderLogging`) |
### MTLParallelRenderCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLParallelRenderCommandEncoder` | protocol | missing | M: parallel render encoding |
| `MTLParallelRenderCommandEncoder.renderCommandEncoder` | method | missing | M: parallel render encoding |
| `MTLParallelRenderCommandEncoder.setColorStoreAction:atIndex:` | method | missing | M: parallel render encoding |
| `MTLParallelRenderCommandEncoder.setDepthStoreAction:` | method | missing | M: parallel render encoding |
| `MTLParallelRenderCommandEncoder.setStencilStoreAction:` | method | missing | M: parallel render encoding |
| `MTLParallelRenderCommandEncoder.setColorStoreActionOptions:atIndex:` (deprecated) | method | missing | M: parallel render encoding |
| `MTLParallelRenderCommandEncoder.setDepthStoreActionOptions:` (deprecated) | method | missing | M: parallel render encoding |
| `MTLParallelRenderCommandEncoder.setStencilStoreActionOptions:` (deprecated) | method | missing | M: parallel render encoding |
### MTLPipeline.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLPipelineBufferDescriptor` | class | implemented | `RenderPipelineDescriptor.vertex_buffers` (translator): a `metal::Mutability` by index (`buffers` of the compute and tile descriptors) |
| `MTLPipelineBufferDescriptor.mutability` | property | implemented | `RenderPipelineDescriptor.vertex_buffers` (translator) |
| `MTLPipelineBufferDescriptorArray` | class | implemented | `RenderPipelineDescriptor.vertex_buffers` (translator): a map by index |
| `MTLPipelineBufferDescriptorArray.objectAtIndexedSubscript:` | method | implemented | `RenderPipelineDescriptor.vertex_buffers` (translator) |
| `MTLPipelineBufferDescriptorArray.setObject:atIndexedSubscript:` | method | implemented | `RenderPipelineDescriptor.vertex_buffers` (translator) |
### MTLRasterizationRate.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLRasterizationRateSampleArray` | class | implemented | `RateMapLayerDescriptor.horizontal` (translator): a `Vec<f32>` (`horizontal`, `vertical`) |
| `MTLRasterizationRateSampleArray.objectAtIndexedSubscript:` | method | implemented | `RateMapLayerDescriptor.horizontal` (translator) |
| `MTLRasterizationRateSampleArray.setObject:atIndexedSubscript:` | method | implemented | `RateMapLayerDescriptor.horizontal` (translator) |
| `MTLRasterizationRateLayerDescriptor` | class | implemented | `RateMapLayerDescriptor` (translator) |
| `MTLRasterizationRateLayerDescriptor.init` | method | out of scope | not available on macOS |
| `MTLRasterizationRateLayerDescriptor.initWithSampleCount:` | method | implemented | `RateMapLayerDescriptor::new` (translator) |
| `MTLRasterizationRateLayerDescriptor.initWithSampleCount:horizontal:vertical:` | method | implemented | `RateMapLayerDescriptor::new` (translator) |
| `MTLRasterizationRateLayerDescriptor.sampleCount` | property | implemented | `RateMapLayerDescriptor.horizontal` (translator): the lengths of `horizontal` and `vertical` |
| `MTLRasterizationRateLayerDescriptor.maxSampleCount` | property | implemented | `RateMapLayerDescriptor.horizontal` (translator): the lengths of `horizontal` and `vertical` |
| `MTLRasterizationRateLayerDescriptor.horizontalSampleStorage` | property | implemented | `RateMapLayerDescriptor.horizontal` (translator) |
| `MTLRasterizationRateLayerDescriptor.verticalSampleStorage` | property | implemented | `RateMapLayerDescriptor.vertical` (translator) |
| `MTLRasterizationRateLayerDescriptor.horizontal` | property | implemented | `RateMapLayerDescriptor.horizontal` (translator) |
| `MTLRasterizationRateLayerDescriptor.vertical` | property | implemented | `RateMapLayerDescriptor.vertical` (translator) |
| `MTLRasterizationRateLayerDescriptor` | category | implemented | `RateMapLayerDescriptor` (translator) |
| `MTLRasterizationRateLayerArray` | class | implemented | `RateMapDescriptor.layers` (translator): a `Vec` |
| `MTLRasterizationRateLayerArray.objectAtIndexedSubscript:` | method | implemented | `RateMapDescriptor.layers` (translator) |
| `MTLRasterizationRateLayerArray.setObject:atIndexedSubscript:` | method | implemented | `RateMapDescriptor.layers` (translator) |
| `MTLRasterizationRateMapDescriptor` | class | implemented | `RateMapDescriptor` (translator) |
| `MTLRasterizationRateMapDescriptor.rasterizationRateMapDescriptorWithScreenSize:` | class method | implemented | `RateMapDescriptor::new` (translator) |
| `MTLRasterizationRateMapDescriptor.rasterizationRateMapDescriptorWithScreenSize:layer:` | class method | implemented | `RateMapDescriptor::new` (translator) |
| `MTLRasterizationRateMapDescriptor.rasterizationRateMapDescriptorWithScreenSize:layerCount:layers:` | class method | implemented | `RateMapDescriptor::new` (translator) |
| `MTLRasterizationRateMapDescriptor.layerAtIndex:` | method | implemented | `RateMapDescriptor.layers` (translator) |
| `MTLRasterizationRateMapDescriptor.setLayer:atIndex:` | method | implemented | `RateMapDescriptor.layers` (translator) |
| `MTLRasterizationRateMapDescriptor.layers` | property | implemented | `RateMapDescriptor.layers` (translator) |
| `MTLRasterizationRateMapDescriptor.screenSize` | property | implemented | `RateMapDescriptor.screen_size` (translator) |
| `MTLRasterizationRateMapDescriptor.label` | property | implemented | `RateMapDescriptor.label` (translator) |
| `MTLRasterizationRateMapDescriptor.layerCount` | property | implemented | `RateMapDescriptor.layers` (translator) |
| `MTLRasterizationRateMap` | protocol | implemented | `RasterizationRateMap` (runtime) |
| `MTLRasterizationRateMap.device` | property | implemented | `RasterizationRateMap::device` (runtime) |
| `MTLRasterizationRateMap.label` | property | implemented | `RasterizationRateMap::label` (runtime) |
| `MTLRasterizationRateMap.screenSize` | property | implemented | `RasterizationRateMap::screen_size` (runtime) |
| `MTLRasterizationRateMap.physicalGranularity` | property | implemented | `RasterizationRateMap::physical_granularity` (runtime) |
| `MTLRasterizationRateMap.layerCount` | property | implemented | `RasterizationRateMap::layer_count` (runtime) |
| `MTLRasterizationRateMap.parameterBufferSizeAndAlign` | property | implemented | `RasterizationRateMap::parameter_buffer_size_and_align` (runtime) |
| `MTLRasterizationRateMap.copyParameterDataToBuffer:offset:` | method | implemented | `RasterizationRateMap::copy_parameter_data_to_buffer` (runtime) |
| `MTLRasterizationRateMap.physicalSizeForLayer:` | method | implemented | `RasterizationRateMap::physical_size_for_layer` (runtime) |
| `MTLRasterizationRateMap.mapScreenToPhysicalCoordinates:forLayer:` | method | implemented | `RasterizationRateMap::map_screen_to_physical_coordinates` (runtime) |
| `MTLRasterizationRateMap.mapPhysicalToScreenCoordinates:forLayer:` | method | implemented | `RasterizationRateMap::map_physical_to_screen_coordinates` (runtime) |
### MTLRenderCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLRenderCommandEncoder` | protocol | implemented | `RenderCommandEncoder` (runtime) |
| `MTLRenderCommandEncoder.setRenderPipelineState:` | method | implemented | `RenderCommandEncoder::set_render_pipeline_state` (runtime) |
| `MTLRenderCommandEncoder.setVertexBytes:length:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_bytes` (runtime): copied at the call; more than 4096 bytes refused |
| `MTLRenderCommandEncoder.setVertexBuffer:offset:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_buffer` (runtime) |
| `MTLRenderCommandEncoder.setVertexBufferOffset:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_buffer_offset` (runtime) |
| `MTLRenderCommandEncoder.setVertexBuffers:offsets:withRange:` | method | implemented | `RenderCommandEncoder::set_vertex_buffers` (runtime) |
| `MTLRenderCommandEncoder.setVertexBuffer:offset:attributeStride:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_buffer_with_stride` (runtime) |
| `MTLRenderCommandEncoder.setVertexBuffers:offsets:attributeStrides:withRange:` | method | implemented | `RenderCommandEncoder::set_vertex_buffers_with_strides` (runtime) |
| `MTLRenderCommandEncoder.setVertexBufferOffset:attributeStride:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_buffer_offset_with_stride` (runtime) |
| `MTLRenderCommandEncoder.setVertexBytes:length:attributeStride:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_bytes_with_stride` (runtime): copied at the call; more than 4096 bytes refused |
| `MTLRenderCommandEncoder.setVertexTexture:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_texture` (runtime) |
| `MTLRenderCommandEncoder.setVertexTextures:withRange:` | method | implemented | `RenderCommandEncoder::set_vertex_textures` (runtime) |
| `MTLRenderCommandEncoder.setVertexSamplerState:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_sampler_state` (runtime) |
| `MTLRenderCommandEncoder.setVertexSamplerStates:withRange:` | method | implemented | `RenderCommandEncoder::set_vertex_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setVertexSamplerState:lodMinClamp:lodMaxClamp:atIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_sampler_states` (runtime): a range of one with clamps |
| `MTLRenderCommandEncoder.setVertexSamplerStates:lodMinClamps:lodMaxClamps:withRange:` | method | implemented | `RenderCommandEncoder::set_vertex_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setVertexVisibleFunctionTable:atBufferIndex:` | method | implemented | `RenderCommandEncoder::set_vertex_visible_function_table` (runtime) |
| `MTLRenderCommandEncoder.setVertexVisibleFunctionTables:withBufferRange:` | method | implemented | `RenderCommandEncoder::set_vertex_visible_function_tables` (runtime) |
| `MTLRenderCommandEncoder.setVertexIntersectionFunctionTable:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.setVertexIntersectionFunctionTables:withBufferRange:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.setVertexAccelerationStructure:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.setViewport:` | method | implemented | `RenderCommandEncoder::set_viewport` (runtime) |
| `MTLRenderCommandEncoder.setViewports:count:` | method | implemented | `RenderCommandEncoder::set_viewports` (runtime) |
| `MTLRenderCommandEncoder.setFrontFacingWinding:` | method | implemented | `RenderCommandEncoder::set_front_facing_winding` (runtime) |
| `MTLRenderCommandEncoder.setVertexAmplificationCount:viewMappings:` | method | implemented | `RenderCommandEncoder::set_vertex_amplification_count` (runtime) |
| `MTLRenderCommandEncoder.setCullMode:` | method | implemented | `RenderCommandEncoder::set_cull_mode` (runtime) |
| `MTLRenderCommandEncoder.setDepthClipMode:` | method | implemented | `RenderCommandEncoder::set_depth_clip_mode` (runtime) |
| `MTLRenderCommandEncoder.setDepthBias:slopeScale:clamp:` | method | implemented | `RenderCommandEncoder::set_depth_bias` (runtime) |
| `MTLRenderCommandEncoder.setDepthTestMinBound:maxBound:` | method | missing | M: depth bounds testing (macOS 26; Vulkan's `depthBounds`) |
| `MTLRenderCommandEncoder.setScissorRect:` | method | implemented | `RenderCommandEncoder::set_scissor_rect` (runtime) |
| `MTLRenderCommandEncoder.setScissorRects:count:` | method | implemented | `RenderCommandEncoder::set_scissor_rects` (runtime) |
| `MTLRenderCommandEncoder.setTriangleFillMode:` | method | implemented | `RenderCommandEncoder::set_triangle_fill_mode` (runtime) |
| `MTLRenderCommandEncoder.setFragmentBytes:length:atIndex:` | method | implemented | `RenderCommandEncoder::set_fragment_bytes` (runtime): copied at the call; more than 4096 bytes refused |
| `MTLRenderCommandEncoder.setFragmentBuffer:offset:atIndex:` | method | implemented | `RenderCommandEncoder::set_fragment_buffer` (runtime) |
| `MTLRenderCommandEncoder.setFragmentBufferOffset:atIndex:` | method | implemented | `RenderCommandEncoder::set_fragment_buffer_offset` (runtime) |
| `MTLRenderCommandEncoder.setFragmentBuffers:offsets:withRange:` | method | implemented | `RenderCommandEncoder::set_fragment_buffers` (runtime) |
| `MTLRenderCommandEncoder.setFragmentTexture:atIndex:` | method | implemented | `RenderCommandEncoder::set_fragment_texture` (runtime) |
| `MTLRenderCommandEncoder.setFragmentTextures:withRange:` | method | implemented | `RenderCommandEncoder::set_fragment_textures` (runtime) |
| `MTLRenderCommandEncoder.setFragmentSamplerState:atIndex:` | method | implemented | `RenderCommandEncoder::set_fragment_sampler_state` (runtime) |
| `MTLRenderCommandEncoder.setFragmentSamplerStates:withRange:` | method | implemented | `RenderCommandEncoder::set_fragment_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setFragmentSamplerState:lodMinClamp:lodMaxClamp:atIndex:` | method | implemented | `RenderCommandEncoder::set_fragment_sampler_states` (runtime): a range of one with clamps |
| `MTLRenderCommandEncoder.setFragmentSamplerStates:lodMinClamps:lodMaxClamps:withRange:` | method | implemented | `RenderCommandEncoder::set_fragment_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setFragmentVisibleFunctionTable:atBufferIndex:` | method | implemented | `RenderCommandEncoder::set_fragment_visible_function_table` (runtime) |
| `MTLRenderCommandEncoder.setFragmentVisibleFunctionTables:withBufferRange:` | method | implemented | `RenderCommandEncoder::set_fragment_visible_function_tables` (runtime) |
| `MTLRenderCommandEncoder.setFragmentIntersectionFunctionTable:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.setFragmentIntersectionFunctionTables:withBufferRange:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.setFragmentAccelerationStructure:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.setBlendColorRed:green:blue:alpha:` | method | implemented | `RenderCommandEncoder::set_blend_color` (runtime) |
| `MTLRenderCommandEncoder.setDepthStencilState:` | method | implemented | `RenderCommandEncoder::set_depth_stencil_state` (runtime) |
| `MTLRenderCommandEncoder.setStencilReferenceValue:` | method | implemented | `RenderCommandEncoder::set_stencil_reference_value` (runtime) |
| `MTLRenderCommandEncoder.setStencilFrontReferenceValue:backReferenceValue:` | method | implemented | `RenderCommandEncoder::set_stencil_reference_values` (runtime) |
| `MTLRenderCommandEncoder.setVisibilityResultMode:offset:` | method | implemented | `RenderCommandEncoder::set_visibility_result_mode` (runtime) |
| `MTLRenderCommandEncoder.setColorStoreAction:atIndex:` | method | implemented | `RenderCommandEncoder::set_color_store_action` (runtime) |
| `MTLRenderCommandEncoder.setDepthStoreAction:` | method | implemented | `RenderCommandEncoder::set_depth_store_action` (runtime) |
| `MTLRenderCommandEncoder.setStencilStoreAction:` | method | implemented | `RenderCommandEncoder::set_stencil_store_action` (runtime) |
| `MTLRenderCommandEncoder.setColorStoreActionOptions:atIndex:` (deprecated) | method | implemented | `RenderCommandEncoder::set_color_store_action_options` (runtime) |
| `MTLRenderCommandEncoder.setDepthStoreActionOptions:` (deprecated) | method | implemented | `RenderCommandEncoder::set_depth_store_action_options` (runtime) |
| `MTLRenderCommandEncoder.setStencilStoreActionOptions:` (deprecated) | method | implemented | `RenderCommandEncoder::set_stencil_store_action_options` (runtime) |
| `MTLRenderCommandEncoder.setObjectBytes:length:atIndex:` | method | implemented | `RenderCommandEncoder::set_object_bytes` (runtime): copied at the call; more than 4096 bytes refused |
| `MTLRenderCommandEncoder.setObjectBuffer:offset:atIndex:` | method | implemented | `RenderCommandEncoder::set_object_buffer` (runtime) |
| `MTLRenderCommandEncoder.setObjectBufferOffset:atIndex:` | method | implemented | `RenderCommandEncoder::set_object_buffer_offset` (runtime) |
| `MTLRenderCommandEncoder.setObjectBuffers:offsets:withRange:` | method | implemented | `RenderCommandEncoder::set_object_buffers` (runtime) |
| `MTLRenderCommandEncoder.setObjectTexture:atIndex:` | method | implemented | `RenderCommandEncoder::set_object_texture` (runtime) |
| `MTLRenderCommandEncoder.setObjectTextures:withRange:` | method | implemented | `RenderCommandEncoder::set_object_textures` (runtime) |
| `MTLRenderCommandEncoder.setObjectSamplerState:atIndex:` | method | implemented | `RenderCommandEncoder::set_object_sampler_state` (runtime) |
| `MTLRenderCommandEncoder.setObjectSamplerStates:withRange:` | method | implemented | `RenderCommandEncoder::set_object_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setObjectSamplerState:lodMinClamp:lodMaxClamp:atIndex:` | method | implemented | `RenderCommandEncoder::set_object_sampler_states` (runtime): a range of one with clamps |
| `MTLRenderCommandEncoder.setObjectSamplerStates:lodMinClamps:lodMaxClamps:withRange:` | method | implemented | `RenderCommandEncoder::set_object_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setObjectThreadgroupMemoryLength:atIndex:` | method | implemented | `RenderCommandEncoder::set_object_threadgroup_memory_length` (runtime) |
| `MTLRenderCommandEncoder.setMeshBytes:length:atIndex:` | method | implemented | `RenderCommandEncoder::set_mesh_bytes` (runtime): copied at the call; more than 4096 bytes refused |
| `MTLRenderCommandEncoder.setMeshBuffer:offset:atIndex:` | method | implemented | `RenderCommandEncoder::set_mesh_buffer` (runtime) |
| `MTLRenderCommandEncoder.setMeshBufferOffset:atIndex:` | method | implemented | `RenderCommandEncoder::set_mesh_buffer_offset` (runtime) |
| `MTLRenderCommandEncoder.setMeshBuffers:offsets:withRange:` | method | implemented | `RenderCommandEncoder::set_mesh_buffers` (runtime) |
| `MTLRenderCommandEncoder.setMeshTexture:atIndex:` | method | implemented | `RenderCommandEncoder::set_mesh_texture` (runtime) |
| `MTLRenderCommandEncoder.setMeshTextures:withRange:` | method | implemented | `RenderCommandEncoder::set_mesh_textures` (runtime) |
| `MTLRenderCommandEncoder.setMeshSamplerState:atIndex:` | method | implemented | `RenderCommandEncoder::set_mesh_sampler_state` (runtime) |
| `MTLRenderCommandEncoder.setMeshSamplerStates:withRange:` | method | implemented | `RenderCommandEncoder::set_mesh_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setMeshSamplerState:lodMinClamp:lodMaxClamp:atIndex:` | method | implemented | `RenderCommandEncoder::set_mesh_sampler_states` (runtime): a range of one with clamps |
| `MTLRenderCommandEncoder.setMeshSamplerStates:lodMinClamps:lodMaxClamps:withRange:` | method | implemented | `RenderCommandEncoder::set_mesh_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.drawMeshThreadgroups:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:` | method | implemented | `RenderCommandEncoder::draw_mesh_threadgroups` (runtime) |
| `MTLRenderCommandEncoder.drawMeshThreads:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:` | method | implemented | `RenderCommandEncoder::draw_mesh_threads` (runtime) |
| `MTLRenderCommandEncoder.drawMeshThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerObjectThreadgroup:threadsPerMeshThreadgroup:` | method | implemented | `RenderCommandEncoder::draw_mesh_threadgroups_indirect` (runtime): an object grid of more than 2^29 threadgroups draws nothing and fails the command buffer with Metal's error (`GpuRecoveryVictim`, as Metal's GPU discards it); one the device cannot launch fails it with `MeshGridPastLimits`: past the task limits where the device does not fold object grids, or, where mesh draws are emulated, past the compute limits |
| `MTLRenderCommandEncoder.drawPrimitives:vertexStart:vertexCount:instanceCount:` | method | implemented | `RenderCommandEncoder::draw_primitives` (runtime) |
| `MTLRenderCommandEncoder.drawPrimitives:vertexStart:vertexCount:` | method | implemented | `RenderCommandEncoder::draw_primitives` (runtime) |
| `MTLRenderCommandEncoder.drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:` | method | implemented | `RenderCommandEncoder::draw_indexed_primitives` (runtime) |
| `MTLRenderCommandEncoder.drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:` | method | implemented | `RenderCommandEncoder::draw_indexed_primitives` (runtime) |
| `MTLRenderCommandEncoder.drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:` | method | implemented | `RenderCommandEncoder::draw_primitives` (runtime) |
| `MTLRenderCommandEncoder.drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:` | method | implemented | `RenderCommandEncoder::draw_indexed_primitives` (runtime) |
| `MTLRenderCommandEncoder.drawPrimitives:indirectBuffer:indirectBufferOffset:` | method | implemented | `RenderCommandEncoder::draw_primitives_indirect` (runtime) |
| `MTLRenderCommandEncoder.drawIndexedPrimitives:indexType:indexBuffer:indexBufferOffset:indirectBuffer:indirectBufferOffset:` | method | implemented | `RenderCommandEncoder::draw_indexed_primitives_indirect` (runtime) |
| `MTLRenderCommandEncoder.textureBarrier` (deprecated) | method | missing | S: deprecated; Metal states it as `memoryBarrierWithScope:` of textures from fragment to fragment, which the runtime has |
| `MTLRenderCommandEncoder.updateFence:afterStages:` | method | implemented | `RenderCommandEncoder::update_fence` (runtime) |
| `MTLRenderCommandEncoder.waitForFence:beforeStages:` | method | implemented | `RenderCommandEncoder::wait_for_fence` (runtime) |
| `MTLRenderCommandEncoder.setTessellationFactorBuffer:offset:instanceStride:` | method | implemented | `RenderCommandEncoder::set_tessellation_factor_buffer` (runtime) |
| `MTLRenderCommandEncoder.setTessellationFactorScale:` | method | implemented | `RenderCommandEncoder::set_tessellation_factor_scale` (runtime) |
| `MTLRenderCommandEncoder.drawPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:instanceCount:baseInstance:` | method | implemented | `RenderCommandEncoder::draw_patches` (runtime) |
| `MTLRenderCommandEncoder.drawPatches:patchIndexBuffer:patchIndexBufferOffset:indirectBuffer:indirectBufferOffset:` | method | implemented | `RenderCommandEncoder::draw_patches_indirect` (runtime) |
| `MTLRenderCommandEncoder.drawIndexedPatches:patchStart:patchCount:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:instanceCount:baseInstance:` | method | implemented | `RenderCommandEncoder::draw_indexed_patches` (runtime) |
| `MTLRenderCommandEncoder.drawIndexedPatches:patchIndexBuffer:patchIndexBufferOffset:controlPointIndexBuffer:controlPointIndexBufferOffset:indirectBuffer:indirectBufferOffset:` | method | implemented | `RenderCommandEncoder::draw_indexed_patches_indirect` (runtime) |
| `MTLRenderCommandEncoder.tileWidth` | property | implemented | `RenderCommandEncoder::tile_width` (runtime) |
| `MTLRenderCommandEncoder.tileHeight` | property | implemented | `RenderCommandEncoder::tile_height` (runtime) |
| `MTLRenderCommandEncoder.setTileBytes:length:atIndex:` | method | implemented | `RenderCommandEncoder::set_tile_bytes` (runtime): copied at the call; more than 4096 bytes refused |
| `MTLRenderCommandEncoder.setTileBuffer:offset:atIndex:` | method | implemented | `RenderCommandEncoder::set_tile_buffer` (runtime) |
| `MTLRenderCommandEncoder.setTileBufferOffset:atIndex:` | method | implemented | `RenderCommandEncoder::set_tile_buffer_offset` (runtime) |
| `MTLRenderCommandEncoder.setTileBuffers:offsets:withRange:` | method | implemented | `RenderCommandEncoder::set_tile_buffers` (runtime) |
| `MTLRenderCommandEncoder.setTileTexture:atIndex:` | method | implemented | `RenderCommandEncoder::set_tile_texture` (runtime) |
| `MTLRenderCommandEncoder.setTileTextures:withRange:` | method | implemented | `RenderCommandEncoder::set_tile_textures` (runtime) |
| `MTLRenderCommandEncoder.setTileSamplerState:atIndex:` | method | implemented | `RenderCommandEncoder::set_tile_sampler_state` (runtime) |
| `MTLRenderCommandEncoder.setTileSamplerStates:withRange:` | method | implemented | `RenderCommandEncoder::set_tile_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setTileSamplerState:lodMinClamp:lodMaxClamp:atIndex:` | method | implemented | `RenderCommandEncoder::set_tile_sampler_states` (runtime): a range of one with clamps |
| `MTLRenderCommandEncoder.setTileSamplerStates:lodMinClamps:lodMaxClamps:withRange:` | method | implemented | `RenderCommandEncoder::set_tile_sampler_states` (runtime) |
| `MTLRenderCommandEncoder.setTileVisibleFunctionTable:atBufferIndex:` | method | implemented | `RenderCommandEncoder::set_tile_visible_function_table` (runtime) |
| `MTLRenderCommandEncoder.setTileVisibleFunctionTables:withBufferRange:` | method | implemented | `RenderCommandEncoder::set_tile_visible_function_tables` (runtime) |
| `MTLRenderCommandEncoder.setTileIntersectionFunctionTable:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.setTileIntersectionFunctionTables:withBufferRange:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.setTileAccelerationStructure:atBufferIndex:` | method | out of scope | ray tracing |
| `MTLRenderCommandEncoder.dispatchThreadsPerTile:` | method | implemented | `RenderCommandEncoder::dispatch_threads_per_tile` (runtime) |
| `MTLRenderCommandEncoder.setThreadgroupMemoryLength:offset:atIndex:` | method | implemented | `RenderCommandEncoder::set_threadgroup_memory_length` (runtime) |
| `MTLRenderCommandEncoder.useResource:usage:` (deprecated) | method | implemented | `RenderCommandEncoder::use_resource` (runtime): all stages |
| `MTLRenderCommandEncoder.useResources:count:usage:` (deprecated) | method | implemented | `RenderCommandEncoder::use_resources` (runtime): all stages |
| `MTLRenderCommandEncoder.useResource:usage:stages:` | method | implemented | `RenderCommandEncoder::use_resource` (runtime) |
| `MTLRenderCommandEncoder.useResources:count:usage:stages:` | method | implemented | `RenderCommandEncoder::use_resources` (runtime) |
| `MTLRenderCommandEncoder.useHeap:` (deprecated) | method | implemented | `RenderCommandEncoder::use_heap` (runtime): all stages |
| `MTLRenderCommandEncoder.useHeaps:count:` (deprecated) | method | implemented | `RenderCommandEncoder::use_heaps` (runtime): all stages |
| `MTLRenderCommandEncoder.useHeap:stages:` | method | implemented | `RenderCommandEncoder::use_heap` (runtime) |
| `MTLRenderCommandEncoder.useHeaps:count:stages:` | method | implemented | `RenderCommandEncoder::use_heaps` (runtime) |
| `MTLRenderCommandEncoder.executeCommandsInBuffer:withRange:` | method | implemented | `RenderCommandEncoder::execute_commands_in_buffer` (runtime) |
| `MTLRenderCommandEncoder.executeCommandsInBuffer:indirectBuffer:indirectBufferOffset:` | method | implemented | `RenderCommandEncoder::execute_commands_in_buffer_indirect` (runtime) |
| `MTLRenderCommandEncoder.memoryBarrierWithScope:afterStages:beforeStages:` | method | implemented | `RenderCommandEncoder::memory_barrier_with_scope` (runtime) |
| `MTLRenderCommandEncoder.memoryBarrierWithResources:count:afterStages:beforeStages:` | method | implemented | `RenderCommandEncoder::memory_barrier_with_resources` (runtime) |
| `MTLRenderCommandEncoder.sampleCountersInBuffer:atSampleIndex:withBarrier:` | method | missing | M: counter sample buffers |
| `MTLRenderCommandEncoder.setColorAttachmentMap:` | method | missing | M: color attachment mapping |
### MTLRenderPass.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLRenderPassAttachmentDescriptor` | class | implemented | `RenderPassColorAttachmentDescriptor` (runtime) |
| `MTLRenderPassAttachmentDescriptor.texture` | property | implemented | `RenderPassColorAttachmentDescriptor.texture` (runtime) |
| `MTLRenderPassAttachmentDescriptor.level` | property | implemented | `RenderPassColorAttachmentDescriptor.level` (runtime) |
| `MTLRenderPassAttachmentDescriptor.slice` | property | implemented | `RenderPassColorAttachmentDescriptor.slice` (runtime) |
| `MTLRenderPassAttachmentDescriptor.depthPlane` | property | implemented | `RenderPassColorAttachmentDescriptor.depth_plane` (runtime) |
| `MTLRenderPassAttachmentDescriptor.resolveTexture` | property | implemented | `RenderPassColorAttachmentDescriptor.resolve_texture` (runtime) |
| `MTLRenderPassAttachmentDescriptor.resolveLevel` | property | implemented | `RenderPassColorAttachmentDescriptor.resolve_level` (runtime) |
| `MTLRenderPassAttachmentDescriptor.resolveSlice` | property | implemented | `RenderPassColorAttachmentDescriptor.resolve_slice` (runtime) |
| `MTLRenderPassAttachmentDescriptor.resolveDepthPlane` | property | implemented | `RenderPassColorAttachmentDescriptor.resolve_depth_plane` (runtime) |
| `MTLRenderPassAttachmentDescriptor.loadAction` | property | implemented | `RenderPassColorAttachmentDescriptor.load_action` (runtime) |
| `MTLRenderPassAttachmentDescriptor.storeAction` | property | implemented | `RenderPassColorAttachmentDescriptor.store_action` (runtime) |
| `MTLRenderPassAttachmentDescriptor.storeActionOptions` (deprecated) | property | implemented | `RenderPassColorAttachmentDescriptor.store_action_options` (runtime) |
| `MTLRenderPassColorAttachmentDescriptor` | class | implemented | `RenderPassColorAttachmentDescriptor` (runtime) |
| `MTLRenderPassColorAttachmentDescriptor.clearColor` | property | implemented | `RenderPassColorAttachmentDescriptor.clear_color` (runtime) |
| `MTLRenderPassDepthAttachmentDescriptor` | class | implemented | `RenderPassDepthAttachmentDescriptor` (runtime) |
| `MTLRenderPassDepthAttachmentDescriptor.clearDepth` | property | implemented | `RenderPassDepthAttachmentDescriptor.clear_depth` (runtime) |
| `MTLRenderPassDepthAttachmentDescriptor.depthResolveFilter` | property | implemented | `RenderPassDepthAttachmentDescriptor.depth_resolve_filter` (runtime) |
| `MTLRenderPassStencilAttachmentDescriptor` | class | implemented | `RenderPassStencilAttachmentDescriptor` (runtime) |
| `MTLRenderPassStencilAttachmentDescriptor.clearStencil` | property | implemented | `RenderPassStencilAttachmentDescriptor.clear_stencil` (runtime) |
| `MTLRenderPassStencilAttachmentDescriptor.stencilResolveFilter` | property | implemented | `RenderPassStencilAttachmentDescriptor.stencil_resolve_filter` (runtime) |
| `MTLRenderPassColorAttachmentDescriptorArray` | class | implemented | `RenderPassDescriptor.color_attachments` (runtime): an array |
| `MTLRenderPassColorAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | implemented | `RenderPassDescriptor.color_attachments` (runtime) |
| `MTLRenderPassColorAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | implemented | `RenderPassDescriptor.color_attachments` (runtime) |
| `MTLRenderPassSampleBufferAttachmentDescriptor` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassSampleBufferAttachmentDescriptor.sampleBuffer` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassSampleBufferAttachmentDescriptor.startOfVertexSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassSampleBufferAttachmentDescriptor.endOfVertexSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassSampleBufferAttachmentDescriptor.startOfFragmentSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassSampleBufferAttachmentDescriptor.endOfFragmentSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassSampleBufferAttachmentDescriptorArray` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassSampleBufferAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassSampleBufferAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassDescriptor` | class | implemented | `RenderPassDescriptor` (runtime) |
| `MTLRenderPassDescriptor.renderPassDescriptor` | class method | implemented | `RenderPassDescriptor::new` (runtime) |
| `MTLRenderPassDescriptor.colorAttachments` | property | implemented | `RenderPassDescriptor.color_attachments` (runtime) |
| `MTLRenderPassDescriptor.depthAttachment` | property | implemented | `RenderPassDescriptor.depth_attachment` (runtime) |
| `MTLRenderPassDescriptor.stencilAttachment` | property | implemented | `RenderPassDescriptor.stencil_attachment` (runtime) |
| `MTLRenderPassDescriptor.visibilityResultBuffer` | property | implemented | `RenderPassDescriptor.visibility_result_buffer` (runtime) |
| `MTLRenderPassDescriptor.renderTargetArrayLength` | property | implemented | `RenderPassDescriptor.render_target_array_length` (runtime) |
| `MTLRenderPassDescriptor.imageblockSampleLength` | property | implemented | `RenderPassDescriptor.imageblock_sample_length` (runtime) |
| `MTLRenderPassDescriptor.threadgroupMemoryLength` | property | implemented | `RenderPassDescriptor.threadgroup_memory_length` (runtime) |
| `MTLRenderPassDescriptor.tileWidth` | property | implemented | `RenderPassDescriptor.tile_width` (runtime) |
| `MTLRenderPassDescriptor.tileHeight` | property | implemented | `RenderPassDescriptor.tile_height` (runtime) |
| `MTLRenderPassDescriptor.defaultRasterSampleCount` | property | implemented | `RenderPassDescriptor.default_raster_sample_count` (runtime) |
| `MTLRenderPassDescriptor.renderTargetWidth` | property | implemented | `RenderPassDescriptor.render_target_width` (runtime) |
| `MTLRenderPassDescriptor.renderTargetHeight` | property | implemented | `RenderPassDescriptor.render_target_height` (runtime) |
| `MTLRenderPassDescriptor.setSamplePositions:count:` | method | implemented | `RenderPassDescriptor.sample_positions` (runtime) |
| `MTLRenderPassDescriptor.getSamplePositions:count:` | method | implemented | `RenderPassDescriptor.sample_positions` (runtime) |
| `MTLRenderPassDescriptor.rasterizationRateMap` | property | implemented | `RenderPassDescriptor.rasterization_rate_map` (runtime) |
| `MTLRenderPassDescriptor.sampleBufferAttachments` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLRenderPassDescriptor.visibilityResultType` | property | implemented | `RenderPassDescriptor.visibility_result_type` (runtime) |
| `MTLRenderPassDescriptor.supportColorAttachmentMapping` | property | missing | M: color attachment mapping (`RuntimeGap::ColorAttachmentMapping`) |
| `MTLClearColorMake` | function | implemented | `ClearColor::new` (runtime) |
### MTLRenderPipeline.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLRenderPipelineColorAttachmentDescriptor` | class | implemented | `ColorAttachmentDescriptor` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.pixelFormat` | property | implemented | `ColorAttachmentDescriptor.pixel_format` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.blendingEnabled` | property | implemented | `ColorAttachmentDescriptor.blending_enabled` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.sourceRGBBlendFactor` | property | implemented | `ColorAttachmentDescriptor.source_rgb_blend_factor` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.destinationRGBBlendFactor` | property | implemented | `ColorAttachmentDescriptor.destination_rgb_blend_factor` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.rgbBlendOperation` | property | implemented | `ColorAttachmentDescriptor.rgb_blend_operation` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.sourceAlphaBlendFactor` | property | implemented | `ColorAttachmentDescriptor.source_alpha_blend_factor` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.destinationAlphaBlendFactor` | property | implemented | `ColorAttachmentDescriptor.destination_alpha_blend_factor` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.alphaBlendOperation` | property | implemented | `ColorAttachmentDescriptor.alpha_blend_operation` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptor.writeMask` | property | implemented | `ColorAttachmentDescriptor.write_mask` (translator) |
| `MTLLogicalToPhysicalColorAttachmentMap` | class | missing | M: color attachment mapping (`RuntimeGap::ColorAttachmentMapping`) |
| `MTLLogicalToPhysicalColorAttachmentMap.setPhysicalIndex:forLogicalIndex:` | method | missing | M: color attachment mapping (`RuntimeGap::ColorAttachmentMapping`) |
| `MTLLogicalToPhysicalColorAttachmentMap.getPhysicalIndexForLogicalIndex:` | method | missing | M: color attachment mapping (`RuntimeGap::ColorAttachmentMapping`) |
| `MTLLogicalToPhysicalColorAttachmentMap.reset` | method | missing | M: color attachment mapping (`RuntimeGap::ColorAttachmentMapping`) |
| `MTLRenderPipelineReflection` | class | implemented | `RenderPipelineReflection` (translator) |
| `MTLRenderPipelineReflection.vertexBindings` | property | implemented | `RenderPipelineReflection::vertex_bindings` (translator) |
| `MTLRenderPipelineReflection.fragmentBindings` | property | implemented | `RenderPipelineReflection::fragment_bindings` (translator) |
| `MTLRenderPipelineReflection.tileBindings` | property | implemented | `RenderPipelineReflection::tile_bindings` (translator) |
| `MTLRenderPipelineReflection.objectBindings` | property | implemented | `RenderPipelineReflection::object_bindings` (translator) |
| `MTLRenderPipelineReflection.meshBindings` | property | implemented | `RenderPipelineReflection::mesh_bindings` (translator) |
| `MTLRenderPipelineReflection.vertexArguments` (deprecated) | property | implemented | `RenderPipelineReflection::vertex_bindings` (translator): deprecated for `vertexBindings` |
| `MTLRenderPipelineReflection.fragmentArguments` (deprecated) | property | implemented | `RenderPipelineReflection::fragment_bindings` (translator): deprecated for `fragmentBindings` |
| `MTLRenderPipelineReflection.tileArguments` (deprecated) | property | implemented | `RenderPipelineReflection::tile_bindings` (translator): deprecated for `tileBindings` |
| `MTLRenderPipelineDescriptor` | class | implemented | `RenderPipelineDescriptor` (translator) |
| `MTLRenderPipelineDescriptor.label` | property | implemented | `PipelineOptions.label` (runtime) |
| `MTLRenderPipelineDescriptor.vertexFunction` | property | implemented | `RenderPipelineDescriptor.vertex` (translator) |
| `MTLRenderPipelineDescriptor.fragmentFunction` | property | implemented | `RenderPipelineDescriptor.fragment` (translator) |
| `MTLRenderPipelineDescriptor.vertexDescriptor` | property | implemented | `RenderPipelineDescriptor.vertex_descriptor` (translator) |
| `MTLRenderPipelineDescriptor.sampleCount` (deprecated) | property | implemented | `RenderPipelineDescriptor.raster_sample_count` (translator): the deprecated name of `rasterSampleCount` |
| `MTLRenderPipelineDescriptor.rasterSampleCount` | property | implemented | `RenderPipelineDescriptor.raster_sample_count` (translator) |
| `MTLRenderPipelineDescriptor.alphaToCoverageEnabled` | property | implemented | `RenderPipelineDescriptor.alpha_to_coverage` (translator) |
| `MTLRenderPipelineDescriptor.alphaToOneEnabled` | property | implemented | `RenderPipelineDescriptor.alpha_to_one` (translator) |
| `MTLRenderPipelineDescriptor.rasterizationEnabled` | property | implemented | `RenderPipelineDescriptor.rasterization_enabled` (translator) |
| `MTLRenderPipelineDescriptor.maxVertexAmplificationCount` | property | implemented | `RenderPipelineDescriptor.max_vertex_amplification_count` (translator) |
| `MTLRenderPipelineDescriptor.colorAttachments` | property | implemented | `RenderPipelineDescriptor.color_attachments` (translator) |
| `MTLRenderPipelineDescriptor.depthAttachmentPixelFormat` | property | implemented | `RenderPipelineDescriptor.depth_format` (translator) |
| `MTLRenderPipelineDescriptor.stencilAttachmentPixelFormat` | property | implemented | `RenderPipelineDescriptor.stencil_format` (translator) |
| `MTLRenderPipelineDescriptor.inputPrimitiveTopology` | property | implemented | `RenderPipelineDescriptor.input_primitive_topology` (translator) |
| `MTLRenderPipelineDescriptor.tessellationPartitionMode` | property | implemented | `TessellationDescriptor.partition_mode` (translator): `RenderPipelineDescriptor.tessellation` |
| `MTLRenderPipelineDescriptor.maxTessellationFactor` | property | implemented | `TessellationDescriptor.max_tessellation_factor` (translator) |
| `MTLRenderPipelineDescriptor.tessellationFactorScaleEnabled` | property | implemented | `TessellationDescriptor.factor_scale_enabled` (translator) |
| `MTLRenderPipelineDescriptor.tessellationFactorFormat` | property | implemented | `TessellationDescriptor.factor_format` (translator) |
| `MTLRenderPipelineDescriptor.tessellationControlPointIndexType` | property | implemented | `TessellationDescriptor.control_point_index_type` (translator) |
| `MTLRenderPipelineDescriptor.tessellationFactorStepFunction` | property | implemented | `TessellationDescriptor.factor_step_function` (translator) |
| `MTLRenderPipelineDescriptor.tessellationOutputWindingOrder` | property | implemented | `TessellationDescriptor.output_winding_order` (translator) |
| `MTLRenderPipelineDescriptor.vertexBuffers` | property | implemented | `RenderPipelineDescriptor.vertex_buffers` (translator) |
| `MTLRenderPipelineDescriptor.fragmentBuffers` | property | implemented | `RenderPipelineDescriptor.fragment_buffers` (translator) |
| `MTLRenderPipelineDescriptor.supportIndirectCommandBuffers` | property | implemented | `RenderPipelineDescriptor.support_indirect_command_buffers` (translator) |
| `MTLRenderPipelineDescriptor.binaryArchives` | property | implemented | `PipelineOptions.binary_archives` (runtime) |
| `MTLRenderPipelineDescriptor.vertexPreloadedLibraries` | property | implemented | `FunctionDescriptor.libraries` (translator): the vertex stage's `StageSource::Function` |
| `MTLRenderPipelineDescriptor.fragmentPreloadedLibraries` | property | implemented | `FunctionDescriptor.libraries` (translator): the fragment stage's `StageSource::Function` |
| `MTLRenderPipelineDescriptor.vertexLinkedFunctions` | property | implemented | `FunctionDescriptor.linked` (translator): the vertex stage's `StageSource::Function` |
| `MTLRenderPipelineDescriptor.fragmentLinkedFunctions` | property | implemented | `FunctionDescriptor.linked` (translator): the fragment stage's `StageSource::Function` |
| `MTLRenderPipelineDescriptor.supportAddingVertexBinaryFunctions` | property | implemented | `RenderPipelineDescriptor.support_adding_vertex_binary_functions` (translator) |
| `MTLRenderPipelineDescriptor.supportAddingFragmentBinaryFunctions` | property | implemented | `RenderPipelineDescriptor.support_adding_fragment_binary_functions` (translator) |
| `MTLRenderPipelineDescriptor.maxVertexCallStackDepth` | property | implemented | `RenderPipelineDescriptor.max_vertex_call_stack_depth` (translator) |
| `MTLRenderPipelineDescriptor.maxFragmentCallStackDepth` | property | implemented | `RenderPipelineDescriptor.max_fragment_call_stack_depth` (translator) |
| `MTLRenderPipelineDescriptor.reset` | method | implemented | `RenderPipelineDescriptor::new` (translator): a plain value: assign a new one |
| `MTLRenderPipelineDescriptor.shaderValidation` | property | missing | L: shader validation (`RuntimeGap::ShaderValidation`, not scheduled) |
| `MTLRenderPipelineFunctionsDescriptor` | class | implemented | `RenderPipelineFunctionsDescriptor` (runtime) |
| `MTLRenderPipelineFunctionsDescriptor.vertexAdditionalBinaryFunctions` | property | implemented | `RenderPipelineFunctionsDescriptor.vertex_additional_binary_functions` (runtime) |
| `MTLRenderPipelineFunctionsDescriptor.fragmentAdditionalBinaryFunctions` | property | implemented | `RenderPipelineFunctionsDescriptor.fragment_additional_binary_functions` (runtime) |
| `MTLRenderPipelineFunctionsDescriptor.tileAdditionalBinaryFunctions` | property | implemented | `RenderPipelineFunctionsDescriptor.tile_additional_binary_functions` (runtime) |
| `MTLRenderPipelineState` | protocol | implemented | `RenderPipelineState` (runtime) |
| `MTLRenderPipelineState.label` | property | implemented | `RenderPipelineState::label` (runtime) |
| `MTLRenderPipelineState.device` | property | implemented | `RenderPipelineState::device` (runtime) |
| `MTLRenderPipelineState.reflection` | property | missing | S: the state's reflection after creation (macOS 26), nil for a state a device made, set only by Metal 4's compiler; the runtime gives the creation's answer at creation (`new_render_pipeline_state_with_reflection`) and after it (`RenderPipelineState::compiled_reflection`) |
| `MTLRenderPipelineState.functionHandleWithName:stage:` | method | missing | S: a handle by function name; the runtime takes the `Function` (`RenderPipelineState::function_handle`) |
| `MTLRenderPipelineState.functionHandleWithBinaryFunction:stage:` | method | implemented | `RenderPipelineState::function_handle` (runtime) |
| `MTLRenderPipelineState.newRenderPipelineStateWithBinaryFunctions:error:` | method | implemented | `RenderPipelineState::new_render_pipeline_state_with_additional_binary_functions` (runtime) |
| `MTLRenderPipelineState.newRenderPipelineDescriptorForSpecialization` | method | missing | M: pipeline specialization (macOS 26): a descriptor to finish an unspecialized state |
| `MTLRenderPipelineState.maxTotalThreadsPerThreadgroup` | property | implemented | `RenderPipelineState::max_total_threads_per_threadgroup` (runtime) |
| `MTLRenderPipelineState.threadgroupSizeMatchesTileSize` | property | implemented | `RenderPipelineState::threadgroup_size_matches_tile_size` (runtime) |
| `MTLRenderPipelineState.imageblockSampleLength` | property | implemented | `RenderPipelineState::imageblock_sample_length` (runtime) |
| `MTLRenderPipelineState.imageblockMemoryLengthForDimensions:` | method | implemented | `RenderPipelineState::imageblock_memory_length_for_dimensions` (runtime) |
| `MTLRenderPipelineState.supportIndirectCommandBuffers` | property | implemented | `RenderPipelineState::support_indirect_command_buffers` (runtime) |
| `MTLRenderPipelineState.maxTotalThreadsPerObjectThreadgroup` | property | implemented | `RenderPipelineState::max_total_threads_per_object_threadgroup` (runtime) |
| `MTLRenderPipelineState.maxTotalThreadsPerMeshThreadgroup` | property | implemented | `RenderPipelineState::max_total_threads_per_mesh_threadgroup` (runtime) |
| `MTLRenderPipelineState.objectThreadExecutionWidth` | property | implemented | `RenderPipelineState::object_thread_execution_width` (runtime) |
| `MTLRenderPipelineState.meshThreadExecutionWidth` | property | implemented | `RenderPipelineState::mesh_thread_execution_width` (runtime) |
| `MTLRenderPipelineState.maxTotalThreadgroupsPerMeshGrid` | property | implemented | `RenderPipelineState::max_total_threadgroups_per_mesh_grid` (runtime) |
| `MTLRenderPipelineState.gpuResourceID` | property | implemented | `RenderPipelineState::gpu_resource_id` (runtime) |
| `MTLRenderPipelineState.functionHandleWithFunction:stage:` | method | implemented | `RenderPipelineState::function_handle` (runtime) |
| `MTLRenderPipelineState.newVisibleFunctionTableWithDescriptor:stage:` | method | implemented | `RenderPipelineState::new_visible_function_table` (runtime) |
| `MTLRenderPipelineState.newIntersectionFunctionTableWithDescriptor:stage:` | method | out of scope | ray tracing |
| `MTLRenderPipelineState.newRenderPipelineStateWithAdditionalBinaryFunctions:error:` | method | implemented | `RenderPipelineState::new_render_pipeline_state_with_additional_binary_functions` (runtime) |
| `MTLRenderPipelineState.shaderValidation` | property | missing | L: shader validation (`RuntimeGap::ShaderValidation`, not scheduled) |
| `MTLRenderPipelineState.requiredThreadsPerTileThreadgroup` | property | implemented | `RenderPipelineState::required_threads_per_tile_threadgroup` (runtime) |
| `MTLRenderPipelineState.requiredThreadsPerObjectThreadgroup` | property | implemented | `RenderPipelineState::required_threads_per_object_threadgroup` (runtime) |
| `MTLRenderPipelineState.requiredThreadsPerMeshThreadgroup` | property | implemented | `RenderPipelineState::required_threads_per_mesh_threadgroup` (runtime) |
| `MTLRenderPipelineColorAttachmentDescriptorArray` | class | implemented | `RenderPipelineDescriptor.color_attachments` (translator): an array |
| `MTLRenderPipelineColorAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | implemented | `RenderPipelineDescriptor.color_attachments` (translator) |
| `MTLRenderPipelineColorAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | implemented | `RenderPipelineDescriptor.color_attachments` (translator) |
| `MTLTileRenderPipelineColorAttachmentDescriptor` | class | implemented | `TileRenderPipelineDescriptor.color_attachment_formats` (translator): a pixel format by index |
| `MTLTileRenderPipelineColorAttachmentDescriptor.pixelFormat` | property | implemented | `TileRenderPipelineDescriptor.color_attachment_formats` (translator) |
| `MTLTileRenderPipelineColorAttachmentDescriptorArray` | class | implemented | `TileRenderPipelineDescriptor.color_attachment_formats` (translator): an array |
| `MTLTileRenderPipelineColorAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | implemented | `TileRenderPipelineDescriptor.color_attachment_formats` (translator) |
| `MTLTileRenderPipelineColorAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | implemented | `TileRenderPipelineDescriptor.color_attachment_formats` (translator) |
| `MTLTileRenderPipelineDescriptor` | class | implemented | `TileRenderPipelineDescriptor` (translator) |
| `MTLTileRenderPipelineDescriptor.label` | property | implemented | `PipelineOptions.label` (runtime) |
| `MTLTileRenderPipelineDescriptor.tileFunction` | property | implemented | `TileRenderPipelineDescriptor.tile` (translator) |
| `MTLTileRenderPipelineDescriptor.rasterSampleCount` | property | implemented | `TileRenderPipelineDescriptor.raster_sample_count` (translator) |
| `MTLTileRenderPipelineDescriptor.colorAttachments` | property | implemented | `TileRenderPipelineDescriptor.color_attachment_formats` (translator) |
| `MTLTileRenderPipelineDescriptor.threadgroupSizeMatchesTileSize` | property | implemented | `TileRenderPipelineDescriptor.threadgroup_size_matches_tile_size` (translator) |
| `MTLTileRenderPipelineDescriptor.tileBuffers` | property | implemented | `TileRenderPipelineDescriptor.buffers` (translator) |
| `MTLTileRenderPipelineDescriptor.maxTotalThreadsPerThreadgroup` | property | implemented | `TileRenderPipelineDescriptor.max_total_threads_per_threadgroup` (translator) |
| `MTLTileRenderPipelineDescriptor.binaryArchives` | property | implemented | `PipelineOptions.binary_archives` (runtime) |
| `MTLTileRenderPipelineDescriptor.preloadedLibraries` | property | implemented | `FunctionDescriptor.libraries` (translator) |
| `MTLTileRenderPipelineDescriptor.linkedFunctions` | property | implemented | `FunctionDescriptor.linked` (translator) |
| `MTLTileRenderPipelineDescriptor.supportAddingBinaryFunctions` | property | implemented | `TileRenderPipelineDescriptor.support_adding_binary_functions` (translator) |
| `MTLTileRenderPipelineDescriptor.maxCallStackDepth` | property | implemented | `TileRenderPipelineDescriptor.max_call_stack_depth` (translator) |
| `MTLTileRenderPipelineDescriptor.reset` | method | implemented | `TileRenderPipelineDescriptor::new` (translator): a plain value: assign a new one |
| `MTLTileRenderPipelineDescriptor.shaderValidation` | property | missing | L: shader validation (`RuntimeGap::ShaderValidation`, not scheduled) |
| `MTLTileRenderPipelineDescriptor.requiredThreadsPerThreadgroup` | property | implemented | `TileRenderPipelineDescriptor.required_threads_per_threadgroup` (translator) |
| `MTLMeshRenderPipelineDescriptor` | class | implemented | `MeshPipelineDescriptor` (translator) |
| `MTLMeshRenderPipelineDescriptor.label` | property | implemented | `PipelineOptions.label` (runtime) |
| `MTLMeshRenderPipelineDescriptor.objectFunction` | property | implemented | `MeshPipelineDescriptor.object` (translator) |
| `MTLMeshRenderPipelineDescriptor.meshFunction` | property | implemented | `MeshPipelineDescriptor.mesh` (translator) |
| `MTLMeshRenderPipelineDescriptor.fragmentFunction` | property | implemented | `MeshPipelineDescriptor.fragment` (translator) |
| `MTLMeshRenderPipelineDescriptor.maxTotalThreadsPerObjectThreadgroup` | property | implemented | `MeshPipelineDescriptor.max_total_threads_per_object_threadgroup` (translator) |
| `MTLMeshRenderPipelineDescriptor.maxTotalThreadsPerMeshThreadgroup` | property | implemented | `MeshPipelineDescriptor.max_total_threads_per_mesh_threadgroup` (translator) |
| `MTLMeshRenderPipelineDescriptor.objectThreadgroupSizeIsMultipleOfThreadExecutionWidth` | property | implemented | `MeshPipelineDescriptor.object_threadgroup_size_is_multiple_of_thread_execution_width` (translator) |
| `MTLMeshRenderPipelineDescriptor.meshThreadgroupSizeIsMultipleOfThreadExecutionWidth` | property | implemented | `MeshPipelineDescriptor.mesh_threadgroup_size_is_multiple_of_thread_execution_width` (translator) |
| `MTLMeshRenderPipelineDescriptor.payloadMemoryLength` | property | implemented | `MeshPipelineDescriptor.payload_memory_length` (translator) |
| `MTLMeshRenderPipelineDescriptor.maxTotalThreadgroupsPerMeshGrid` | property | implemented | `MeshPipelineDescriptor.max_total_threadgroups_per_mesh_grid` (translator) |
| `MTLMeshRenderPipelineDescriptor.objectBuffers` | property | missing | S: buffer mutability per stage: the translator's `MeshPipelineDescriptor` has no field (render and compute descriptors have `buffers`) |
| `MTLMeshRenderPipelineDescriptor.meshBuffers` | property | missing | S: buffer mutability per stage: the translator's `MeshPipelineDescriptor` has no field |
| `MTLMeshRenderPipelineDescriptor.fragmentBuffers` | property | missing | S: buffer mutability per stage: the translator's `MeshPipelineDescriptor` has no field |
| `MTLMeshRenderPipelineDescriptor.rasterSampleCount` | property | implemented | `MeshPipelineDescriptor.raster_sample_count` (translator) |
| `MTLMeshRenderPipelineDescriptor.alphaToCoverageEnabled` | property | implemented | `MeshPipelineDescriptor.alpha_to_coverage` (translator) |
| `MTLMeshRenderPipelineDescriptor.alphaToOneEnabled` | property | implemented | `MeshPipelineDescriptor.alpha_to_one` (translator) |
| `MTLMeshRenderPipelineDescriptor.rasterizationEnabled` | property | implemented | `MeshPipelineDescriptor.rasterization_enabled` (translator) |
| `MTLMeshRenderPipelineDescriptor.maxVertexAmplificationCount` | property | implemented | `MeshPipelineDescriptor.max_vertex_amplification_count` (translator): a count above 1 is refused: a mesh pipeline's vertex amplification is not built |
| `MTLMeshRenderPipelineDescriptor.colorAttachments` | property | implemented | `MeshPipelineDescriptor.color_attachments` (translator) |
| `MTLMeshRenderPipelineDescriptor.depthAttachmentPixelFormat` | property | implemented | `MeshPipelineDescriptor.depth_format` (translator) |
| `MTLMeshRenderPipelineDescriptor.stencilAttachmentPixelFormat` | property | implemented | `MeshPipelineDescriptor.stencil_format` (translator) |
| `MTLMeshRenderPipelineDescriptor.supportIndirectCommandBuffers` | property | implemented | `MeshPipelineDescriptor.support_indirect_command_buffers` (translator) |
| `MTLMeshRenderPipelineDescriptor.binaryArchives` | property | implemented | `PipelineOptions.binary_archives` (runtime) |
| `MTLMeshRenderPipelineDescriptor.objectLinkedFunctions` | property | implemented | `FunctionDescriptor.linked` (translator): the object stage's `StageSource::Function` |
| `MTLMeshRenderPipelineDescriptor.meshLinkedFunctions` | property | implemented | `FunctionDescriptor.linked` (translator): the mesh stage's `StageSource::Function` |
| `MTLMeshRenderPipelineDescriptor.fragmentLinkedFunctions` | property | implemented | `FunctionDescriptor.linked` (translator): the fragment stage's `StageSource::Function` |
| `MTLMeshRenderPipelineDescriptor.reset` | method | implemented | `MeshPipelineDescriptor::new` (translator): a plain value: assign a new one |
| `MTLMeshRenderPipelineDescriptor.shaderValidation` | property | missing | L: shader validation (`RuntimeGap::ShaderValidation`, not scheduled) |
| `MTLMeshRenderPipelineDescriptor.requiredThreadsPerObjectThreadgroup` | property | implemented | `MeshPipelineDescriptor.required_threads_per_object_threadgroup` (translator) |
| `MTLMeshRenderPipelineDescriptor.requiredThreadsPerMeshThreadgroup` | property | implemented | `MeshPipelineDescriptor.required_threads_per_mesh_threadgroup` (translator) |
### MTLResidencySet.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLResidencySetDescriptor` | class | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySetDescriptor.label` | property | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySetDescriptor.initialCapacity` | property | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet` | protocol | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.device` | property | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.label` | property | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.allocatedSize` | property | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.requestResidency` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.endResidency` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.addAllocation:` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.addAllocations:count:` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.removeAllocation:` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.removeAllocations:count:` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.removeAllAllocations` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.containsAllocation:` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.allAllocations` | property | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.allocationCount` | property | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
| `MTLResidencySet.commit` | method | missing | M: residency sets (`RuntimeGap::ResidencySets`) |
### MTLResource.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLResource` | protocol | implemented | `Buffer` (runtime) |
| `MTLResource.label` | property | implemented | `Buffer::label` (runtime) |
| `MTLResource.device` | property | implemented | `Buffer::device` (runtime) |
| `MTLResource.cpuCacheMode` | property | implemented | `Buffer::cpu_cache_mode` (runtime) |
| `MTLResource.storageMode` | property | implemented | `Buffer::storage_mode` (runtime) |
| `MTLResource.hazardTrackingMode` | property | implemented | `Buffer::hazard_tracking_mode` (runtime) |
| `MTLResource.resourceOptions` | property | implemented | `Buffer::resource_options` (runtime) |
| `MTLResource.setPurgeableState:` | method | implemented | `Buffer::set_purgeable_state` (runtime) |
| `MTLResource.heap` | property | implemented | `Buffer::heap` (runtime) |
| `MTLResource.heapOffset` | property | implemented | `Buffer::heap_offset` (runtime) |
| `MTLResource.allocatedSize` | property | missing | S: as `MTLAllocation`'s |
| `MTLResource.makeAliasable` | method | implemented | `Buffer::make_aliasable` (runtime) |
| `MTLResource.isAliasable` | method | implemented | `Buffer::is_aliasable` (runtime) |
| `MTLResource.setOwnerWithIdentity:` | method | out of scope | memory accounting to another task: an OS service |
### MTLResourceStateCommandEncoder.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLResourceStateCommandEncoder` | protocol | implemented | `ResourceStateCommandEncoder` (runtime) |
| `MTLResourceStateCommandEncoder.updateTextureMappings:mode:regions:mipLevels:slices:numRegions:` | method | implemented | `ResourceStateCommandEncoder::update_texture_mappings` (runtime) |
| `MTLResourceStateCommandEncoder.updateTextureMapping:mode:region:mipLevel:slice:` | method | implemented | `ResourceStateCommandEncoder::update_texture_mapping` (runtime) |
| `MTLResourceStateCommandEncoder.updateTextureMapping:mode:indirectBuffer:indirectBufferOffset:` | method | implemented | `ResourceStateCommandEncoder::update_texture_mapping_indirect` (runtime) |
| `MTLResourceStateCommandEncoder.updateFence:` | method | implemented | `ResourceStateCommandEncoder::update_fence` (runtime) |
| `MTLResourceStateCommandEncoder.waitForFence:` | method | implemented | `ResourceStateCommandEncoder::wait_for_fence` (runtime) |
| `MTLResourceStateCommandEncoder.moveTextureMappingsFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:` | method | implemented | `ResourceStateCommandEncoder::move_texture_mappings` (runtime) |
### MTLResourceStatePass.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLResourceStatePassSampleBufferAttachmentDescriptor` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLResourceStatePassSampleBufferAttachmentDescriptor.sampleBuffer` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLResourceStatePassSampleBufferAttachmentDescriptor.startOfEncoderSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLResourceStatePassSampleBufferAttachmentDescriptor.endOfEncoderSampleIndex` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLResourceStatePassSampleBufferAttachmentDescriptorArray` | class | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLResourceStatePassSampleBufferAttachmentDescriptorArray.objectAtIndexedSubscript:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLResourceStatePassSampleBufferAttachmentDescriptorArray.setObject:atIndexedSubscript:` | method | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
| `MTLResourceStatePassDescriptor` | class | missing | S: see `resourceStateCommandEncoderWithDescriptor:` |
| `MTLResourceStatePassDescriptor.resourceStatePassDescriptor` | class method | missing | S: see `resourceStateCommandEncoderWithDescriptor:` |
| `MTLResourceStatePassDescriptor.sampleBufferAttachments` | property | missing | M: counter sample buffers (`RuntimeGap::CounterSampleBuffers`) |
### MTLResourceViewPool.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLResourceViewPoolDescriptor` | class | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLResourceViewPoolDescriptor.resourceViewCount` | property | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLResourceViewPoolDescriptor.label` | property | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLResourceViewPool` | protocol | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLResourceViewPool.baseResourceID` | property | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLResourceViewPool.resourceViewCount` | property | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLResourceViewPool.device` | property | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLResourceViewPool.label` | property | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLResourceViewPool.copyResourceViewsFromPool:sourceRange:destinationIndex:` | method | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
### MTLSampler.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLSamplerDescriptor` | class | implemented | `SamplerDescriptor` (translator) |
| `MTLSamplerDescriptor.minFilter` | property | implemented | `SamplerDescriptor.min_filter` (translator) |
| `MTLSamplerDescriptor.magFilter` | property | implemented | `SamplerDescriptor.mag_filter` (translator) |
| `MTLSamplerDescriptor.mipFilter` | property | implemented | `SamplerDescriptor.mip_filter` (translator) |
| `MTLSamplerDescriptor.maxAnisotropy` | property | implemented | `SamplerDescriptor.max_anisotropy` (translator) |
| `MTLSamplerDescriptor.sAddressMode` | property | implemented | `SamplerDescriptor.s_address_mode` (translator) |
| `MTLSamplerDescriptor.tAddressMode` | property | implemented | `SamplerDescriptor.t_address_mode` (translator) |
| `MTLSamplerDescriptor.rAddressMode` | property | implemented | `SamplerDescriptor.r_address_mode` (translator) |
| `MTLSamplerDescriptor.borderColor` | property | implemented | `SamplerDescriptor.border_color` (translator) |
| `MTLSamplerDescriptor.reductionMode` | property | implemented | `SamplerDescriptor.reduction_mode` (translator) |
| `MTLSamplerDescriptor.normalizedCoordinates` | property | implemented | `SamplerDescriptor.normalized_coordinates` (translator) |
| `MTLSamplerDescriptor.lodMinClamp` | property | implemented | `SamplerDescriptor.lod_min_clamp` (translator) |
| `MTLSamplerDescriptor.lodMaxClamp` | property | implemented | `SamplerDescriptor.lod_max_clamp` (translator) |
| `MTLSamplerDescriptor.lodAverage` | property | implemented | `SamplerDescriptor.lod_average` (translator) |
| `MTLSamplerDescriptor.lodBias` | property | missing | M: a sampler's LOD bias (a family row's gap; Metal's rounding unmeasured) |
| `MTLSamplerDescriptor.compareFunction` | property | implemented | `SamplerDescriptor.compare_function` (translator) |
| `MTLSamplerDescriptor.supportArgumentBuffers` | property | implemented | `SamplerStateOptions.support_argument_buffers` (runtime) |
| `MTLSamplerDescriptor.label` | property | missing | S: labels of samplers, depth/stencil states, functions, libraries and texture handles |
| `MTLSamplerState` | protocol | implemented | `SamplerState` (runtime) |
| `MTLSamplerState.label` | property | missing | S: labels of samplers, depth/stencil states, functions, libraries and texture handles |
| `MTLSamplerState.device` | property | implemented | `SamplerState::device` (runtime) |
| `MTLSamplerState.gpuResourceID` | property | implemented | `SamplerState::gpu_resource_id` (runtime) |
### MTLStageInputOutputDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLBufferLayoutDescriptor` | class | implemented | `StageInputLayoutDescriptor` (translator) |
| `MTLBufferLayoutDescriptor.stride` | property | implemented | `StageInputLayoutDescriptor.stride` (translator) |
| `MTLBufferLayoutDescriptor.stepFunction` | property | implemented | `StageInputLayoutDescriptor.step_function` (translator) |
| `MTLBufferLayoutDescriptor.stepRate` | property | implemented | `StageInputLayoutDescriptor.step_rate` (translator) |
| `MTLBufferLayoutDescriptorArray` | class | implemented | `StageInputDescriptor.layouts` (translator): a map by index |
| `MTLBufferLayoutDescriptorArray.objectAtIndexedSubscript:` | method | implemented | `StageInputDescriptor.layouts` (translator) |
| `MTLBufferLayoutDescriptorArray.setObject:atIndexedSubscript:` | method | implemented | `StageInputDescriptor.layouts` (translator) |
| `MTLAttributeDescriptor` | class | implemented | `StageInputAttributeDescriptor` (translator) |
| `MTLAttributeDescriptor.format` | property | implemented | `StageInputAttributeDescriptor.format` (translator) |
| `MTLAttributeDescriptor.offset` | property | implemented | `StageInputAttributeDescriptor.offset` (translator) |
| `MTLAttributeDescriptor.bufferIndex` | property | implemented | `StageInputAttributeDescriptor.buffer_index` (translator) |
| `MTLAttributeDescriptorArray` | class | implemented | `StageInputDescriptor.attributes` (translator): a map by index |
| `MTLAttributeDescriptorArray.objectAtIndexedSubscript:` | method | implemented | `StageInputDescriptor.attributes` (translator) |
| `MTLAttributeDescriptorArray.setObject:atIndexedSubscript:` | method | implemented | `StageInputDescriptor.attributes` (translator) |
| `MTLStageInputOutputDescriptor` | class | implemented | `StageInputDescriptor` (translator) |
| `MTLStageInputOutputDescriptor.stageInputOutputDescriptor` | class method | implemented | `StageInputDescriptor::new` (translator) |
| `MTLStageInputOutputDescriptor.layouts` | property | implemented | `StageInputDescriptor.layouts` (translator) |
| `MTLStageInputOutputDescriptor.attributes` | property | implemented | `StageInputDescriptor.attributes` (translator) |
| `MTLStageInputOutputDescriptor.indexType` | property | implemented | `StageInputDescriptor.index_type` (translator) |
| `MTLStageInputOutputDescriptor.indexBufferIndex` | property | implemented | `StageInputDescriptor.index_buffer_index` (translator) |
| `MTLStageInputOutputDescriptor.reset` | method | implemented | `StageInputDescriptor::new` (translator): a plain value: assign a new one |
### MTLTensor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLTensorExtents` | class | missing | L: tensors (`MTLTensor`) |
| `MTLTensorExtents.initWithRank:values:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorExtents.rank` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorExtents.extentAtDimensionIndex:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneDescriptor` | class | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneDescriptor.dataType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneDescriptor.blockFactors` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneDescriptorMap` | class | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneDescriptorMap.setDescriptor:forPlane:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneDescriptorMap.descriptorForPlane:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlaneDescriptorMap.reset` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor` | class | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.dimensions` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.strides` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.dataType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.usage` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.auxiliaryPlanes` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.resourceOptions` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.cpuCacheMode` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.storageMode` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorDescriptor.hazardTrackingMode` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBufferAttachments` | class | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBufferAttachments.setBuffer:offset:forPlane:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBufferAttachments.bufferForPlane:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBufferAttachments.offsetForPlane:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorBufferAttachments.reset` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlane` | protocol | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlane.dataType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlane.blockFactors` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlane.buffer` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlane.bufferOffset` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensorAuxiliaryPlane.planeType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor` | protocol | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.gpuResourceID` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.buffer` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.bufferOffset` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.strides` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.dimensions` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.dataType` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.usage` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.auxiliaryPlanes` | property | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.replaceSliceOrigin:sliceDimensions:withBytes:strides:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.getBytes:strides:fromSliceOrigin:sliceDimensions:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.getBytes:strides:fromSliceOrigin:sliceDimensions:plane:` | method | missing | L: tensors (`MTLTensor`) |
| `MTLTensor.replaceSliceOrigin:sliceDimensions:plane:withBytes:strides:` | method | missing | L: tensors (`MTLTensor`) |
### MTLTexture.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLSharedTextureHandle` | class | implemented | `SharedTextureHandle` (runtime) |
| `MTLSharedTextureHandle.device` | property | implemented | `SharedTextureHandle::device` (runtime) |
| `MTLSharedTextureHandle.label` | property | missing | S: labels of samplers, depth/stencil states, functions, libraries and texture handles |
| `MTLTextureDescriptor` | class | implemented | `TextureDescriptor` (runtime) |
| `MTLTextureDescriptor.texture2DDescriptorWithPixelFormat:width:height:mipmapped:` | class method | implemented | `TextureDescriptor::texture_2d` (runtime) |
| `MTLTextureDescriptor.textureCubeDescriptorWithPixelFormat:size:mipmapped:` | class method | implemented | `TextureDescriptor::texture_cube` (runtime) |
| `MTLTextureDescriptor.textureBufferDescriptorWithPixelFormat:width:resourceOptions:usage:` | class method | implemented | `TextureDescriptor::texture_buffer` (runtime) |
| `MTLTextureDescriptor.textureType` | property | implemented | `TextureDescriptor.texture_type` (runtime) |
| `MTLTextureDescriptor.pixelFormat` | property | implemented | `TextureDescriptor.pixel_format` (runtime) |
| `MTLTextureDescriptor.width` | property | implemented | `TextureDescriptor.width` (runtime) |
| `MTLTextureDescriptor.height` | property | implemented | `TextureDescriptor.height` (runtime) |
| `MTLTextureDescriptor.depth` | property | implemented | `TextureDescriptor.depth` (runtime) |
| `MTLTextureDescriptor.mipmapLevelCount` | property | implemented | `TextureDescriptor.mipmap_level_count` (runtime) |
| `MTLTextureDescriptor.sampleCount` | property | implemented | `TextureDescriptor.sample_count` (runtime) |
| `MTLTextureDescriptor.arrayLength` | property | implemented | `TextureDescriptor.array_length` (runtime) |
| `MTLTextureDescriptor.resourceOptions` | property | implemented | `TextureDescriptor.resource_options` (runtime) |
| `MTLTextureDescriptor.cpuCacheMode` | property | implemented | `TextureDescriptor.resource_options` (runtime): `ResourceOptions` holds the three modes |
| `MTLTextureDescriptor.storageMode` | property | implemented | `TextureDescriptor.resource_options` (runtime) |
| `MTLTextureDescriptor.hazardTrackingMode` | property | implemented | `TextureDescriptor.resource_options` (runtime) |
| `MTLTextureDescriptor.usage` | property | implemented | `TextureDescriptor.usage` (runtime) |
| `MTLTextureDescriptor.allowGPUOptimizedContents` | property | implemented | `TextureDescriptor.allow_gpu_optimized_contents` (runtime) |
| `MTLTextureDescriptor.compressionType` | property | missing | M: lossy compression (`RuntimeGap::LossyTextureCompression`, not scheduled) |
| `MTLTextureDescriptor.swizzle` | property | implemented | `TextureDescriptor.swizzle` (runtime) |
| `MTLTextureDescriptor.placementSparsePageSize` | property | missing | S: placement sparse textures' page size |
| `MTLTextureViewDescriptor` | class | implemented | `Texture::new_texture_view_with_swizzle` (runtime): its fields are the method's arguments |
| `MTLTextureViewDescriptor.pixelFormat` | property | implemented | `Texture::new_texture_view_with_swizzle` (runtime) |
| `MTLTextureViewDescriptor.textureType` | property | implemented | `Texture::new_texture_view_with_swizzle` (runtime) |
| `MTLTextureViewDescriptor.levelRange` | property | implemented | `Texture::new_texture_view_with_swizzle` (runtime) |
| `MTLTextureViewDescriptor.sliceRange` | property | implemented | `Texture::new_texture_view_with_swizzle` (runtime) |
| `MTLTextureViewDescriptor.swizzle` | property | implemented | `Texture::new_texture_view_with_swizzle` (runtime) |
| `MTLTextureViewDescriptor.minLOD` | property | missing | M: a view's minimum LOD (macOS 27), unmeasured |
| `MTLTexture` | protocol | implemented | `Texture` (runtime) |
| `MTLTexture.rootResource` (deprecated) | property | missing | S: a view's root resource (deprecated: `parentTexture` and `buffer` answer it) |
| `MTLTexture.parentTexture` | property | implemented | `Texture::parent_texture` (runtime) |
| `MTLTexture.parentRelativeLevel` | property | implemented | `Texture::parent_relative_level` (runtime) |
| `MTLTexture.parentRelativeSlice` | property | implemented | `Texture::parent_relative_slice` (runtime) |
| `MTLTexture.buffer` | property | missing | S: the buffer a texture over a buffer was made from |
| `MTLTexture.bufferOffset` | property | missing | S: the offset of a texture over a buffer in its buffer |
| `MTLTexture.bufferBytesPerRow` | property | missing | S: the row pitch of a texture over a buffer |
| `MTLTexture.iosurface` | property | out of scope | IOSurface is the consumer's |
| `MTLTexture.iosurfacePlane` | property | out of scope | IOSurface is the consumer's |
| `MTLTexture.textureType` | property | implemented | `Texture::texture_type` (runtime) |
| `MTLTexture.pixelFormat` | property | implemented | `Texture::pixel_format` (runtime) |
| `MTLTexture.width` | property | implemented | `Texture::width` (runtime) |
| `MTLTexture.height` | property | implemented | `Texture::height` (runtime) |
| `MTLTexture.depth` | property | implemented | `Texture::depth` (runtime) |
| `MTLTexture.mipmapLevelCount` | property | implemented | `Texture::mipmap_level_count` (runtime) |
| `MTLTexture.sampleCount` | property | implemented | `Texture::sample_count` (runtime) |
| `MTLTexture.arrayLength` | property | implemented | `Texture::array_length` (runtime) |
| `MTLTexture.usage` | property | implemented | `Texture::usage` (runtime) |
| `MTLTexture.shareable` | property | implemented | `Texture::is_shareable` (runtime) |
| `MTLTexture.framebufferOnly` | property | missing | S: NO for every texture but a drawable's, which the runtime has none of |
| `MTLTexture.firstMipmapInTail` | property | implemented | `Texture::first_mipmap_in_tail` (runtime) |
| `MTLTexture.tailSizeInBytes` | property | implemented | `Texture::tail_size_in_bytes` (runtime) |
| `MTLTexture.isSparse` | property | implemented | `Texture::is_sparse` (runtime) |
| `MTLTexture.allowGPUOptimizedContents` | property | implemented | `Texture::allow_gpu_optimized_contents` (runtime) |
| `MTLTexture.compressionType` | property | missing | M: lossy compression (`RuntimeGap::LossyTextureCompression`, not scheduled) |
| `MTLTexture.gpuResourceID` | property | implemented | `Texture::gpu_resource_id` (runtime) |
| `MTLTexture.getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice:` | method | implemented | `Texture::get_bytes` (runtime) |
| `MTLTexture.replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage:` | method | implemented | `Texture::replace_region` (runtime) |
| `MTLTexture.getBytes:bytesPerRow:fromRegion:mipmapLevel:` | method | implemented | `Texture::get_bytes` (runtime) |
| `MTLTexture.replaceRegion:mipmapLevel:withBytes:bytesPerRow:` | method | implemented | `Texture::replace_region` (runtime) |
| `MTLTexture.newTextureViewWithPixelFormat:` | method | implemented | `Texture::new_texture_view` (runtime) |
| `MTLTexture.newTextureViewWithPixelFormat:textureType:levels:slices:` | method | implemented | `Texture::new_texture_view_with_levels_slices` (runtime) |
| `MTLTexture.newSharedTextureHandle` | method | implemented | `Texture::new_shared_texture_handle` (runtime) |
| `MTLTexture.newTextureViewWithDescriptor:` | method | implemented | `Texture::new_texture_view_with_swizzle` (runtime): the descriptor's fields are its arguments |
| `MTLTexture.remoteStorageTexture` (deprecated) | property | out of scope | peer-group views of another GPU's texture: multi-GPU Macs only |
| `MTLTexture.newRemoteTextureViewForDevice:` (deprecated) | method | out of scope | peer-group views of another GPU's texture: multi-GPU Macs only |
| `MTLTexture.swizzle` | property | implemented | `Texture::swizzle` (runtime) |
| `MTLTexture.newTextureViewWithPixelFormat:textureType:levels:slices:swizzle:` | method | implemented | `Texture::new_texture_view_with_swizzle` (runtime) |
| `MTLTexture.sparseTextureTier` | property | missing | S: a placement sparse texture's tier |
| `MTLTexture.minLOD` | property | missing | M: a texture's minimum LOD (macOS 27), unmeasured |
| `MTLTextureSwizzleChannelsMake` | function | implemented | `TextureSwizzleChannels` (translator): a plain value |
### MTLTextureViewPool.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLTextureViewPool` | protocol | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLTextureViewPool.setTextureView:atIndex:` | method | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLTextureViewPool.setTextureView:descriptor:atIndex:` | method | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
| `MTLTextureViewPool.setTextureViewFromBuffer:descriptor:offset:bytesPerRow:atIndex:` | method | missing | M: texture view pools (`RuntimeGap::TextureViewPools`) |
### MTLTypes.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLOriginMake` | function | implemented | `Origin::new` (runtime) |
| `MTLSizeMake` | function | implemented | `Size::new` (runtime) |
| `MTLRegionMake1D` | function | implemented | `Region::new_1d` (runtime) |
| `MTLRegionMake2D` | function | implemented | `Region::new_2d` (runtime) |
| `MTLRegionMake3D` | function | implemented | `Region::new_3d` (runtime) |
| `MTLSamplePositionMake` | function | implemented | `SamplePosition::new` (runtime) |
| `MTLCoordinate2DMake` | function | implemented | `Coordinate2D::new` (runtime) |
### MTLVertexDescriptor.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLVertexBufferLayoutDescriptor` | class | implemented | `VertexBufferLayoutDescriptor` (translator) |
| `MTLVertexBufferLayoutDescriptor.stride` | property | implemented | `VertexBufferLayoutDescriptor.stride` (translator) |
| `MTLVertexBufferLayoutDescriptor.stepFunction` | property | implemented | `VertexBufferLayoutDescriptor.step_function` (translator) |
| `MTLVertexBufferLayoutDescriptor.stepRate` | property | implemented | `VertexBufferLayoutDescriptor.step_rate` (translator) |
| `MTLVertexBufferLayoutDescriptorArray` | class | implemented | `VertexDescriptor.layouts` (translator): a map by index |
| `MTLVertexBufferLayoutDescriptorArray.objectAtIndexedSubscript:` | method | implemented | `VertexDescriptor.layouts` (translator) |
| `MTLVertexBufferLayoutDescriptorArray.setObject:atIndexedSubscript:` | method | implemented | `VertexDescriptor.layouts` (translator) |
| `MTLVertexAttributeDescriptor` | class | implemented | `VertexAttributeDescriptor` (translator) |
| `MTLVertexAttributeDescriptor.format` | property | implemented | `VertexAttributeDescriptor.format` (translator) |
| `MTLVertexAttributeDescriptor.offset` | property | implemented | `VertexAttributeDescriptor.offset` (translator) |
| `MTLVertexAttributeDescriptor.bufferIndex` | property | implemented | `VertexAttributeDescriptor.buffer_index` (translator) |
| `MTLVertexAttributeDescriptorArray` | class | implemented | `VertexDescriptor.attributes` (translator): a map by index |
| `MTLVertexAttributeDescriptorArray.objectAtIndexedSubscript:` | method | implemented | `VertexDescriptor.attributes` (translator) |
| `MTLVertexAttributeDescriptorArray.setObject:atIndexedSubscript:` | method | implemented | `VertexDescriptor.attributes` (translator) |
| `MTLVertexDescriptor` | class | implemented | `VertexDescriptor` (translator) |
| `MTLVertexDescriptor.vertexDescriptor` | class method | implemented | `VertexDescriptor::new` (translator) |
| `MTLVertexDescriptor.layouts` | property | implemented | `VertexDescriptor.layouts` (translator) |
| `MTLVertexDescriptor.attributes` | property | implemented | `VertexDescriptor.attributes` (translator) |
| `MTLVertexDescriptor.reset` | method | implemented | `VertexDescriptor::new` (translator): a plain value: assign a new one |
### MTLVisibleFunctionTable.h
| Item | Kind | Status | Counterpart or note |
|---|---|---|---|
| `MTLVisibleFunctionTableDescriptor` | class | implemented | `VisibleFunctionTableDescriptor` (runtime) |
| `MTLVisibleFunctionTableDescriptor.visibleFunctionTableDescriptor` | class method | implemented | `VisibleFunctionTableDescriptor::new` (runtime) |
| `MTLVisibleFunctionTableDescriptor.functionCount` | property | implemented | `VisibleFunctionTableDescriptor.function_count` (runtime) |
| `MTLVisibleFunctionTable` | protocol | implemented | `VisibleFunctionTable` (runtime) |
| `MTLVisibleFunctionTable.gpuResourceID` | property | implemented | `VisibleFunctionTable::gpu_resource_id` (runtime) |
| `MTLVisibleFunctionTable.setFunction:atIndex:` | method | implemented | `VisibleFunctionTable::set_function` (runtime) |
| `MTLVisibleFunctionTable.setFunctions:withRange:` | method | implemented | `VisibleFunctionTable::set_functions` (runtime) |