peachsim 0.1.1684 → 0.1.1692
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/commands/coverage-swift.ts +72 -5
- package/cli/commands/inspect/actions.ts +1 -0
- package/cli/commands/screenshot.ts +12 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +2252 -1462
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +1762 -995
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +2184 -1417
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +175 -69
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +174 -68
- package/dist-lib/native-app-identity-project.cjs +163 -51
- package/dist-lib/native-app-identity-project.mjs +206 -82
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +26 -23
- package/dist-lib/public-origins-lib.json +74 -61
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +2 -2
- package/dist-lib/sdk.mjs +2 -2
- package/dist-lib/skills.cjs +2633 -1840
- package/dist-lib/swift-compile.cjs +2478 -100
- package/dist-lib/swift-compile.mjs +2475 -100
- package/dist-lib/swift-package.cjs +108 -50
- package/dist-lib/swift-package.mjs +104 -50
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +3979 -985
- package/dist-lib/vite.cjs +12 -18
- package/dist-lib/worklet-executable.cjs +7 -4
- package/dist-lib/worklet-executable.mjs +7 -4
- package/dist-types/packages/peach-engine/src/engine/clipboardContract.d.ts +15 -1
- package/dist-types/packages/peach-globals/src/clipboardBridgeContract.d.ts +6 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -2
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLAvailability.h +22 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBackgroundActivitySession.h +145 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityCondition.h +113 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h +225 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBody.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h +59 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h +64 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h +48 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLError.h +52 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLErrorDomain.h +24 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h +55 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h +117 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocation.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h +45 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h +877 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h +225 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceError.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationPushServiceExtension.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h +250 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h +140 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h +77 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h +184 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h +57 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h +98 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLServiceSession.h +211 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h +66 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +96 -2
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h +52 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h +240 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h +474 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h +66 -0
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Modules/module.modulemap +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4AccelerationStructure.h +9 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Archive.h +16 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ArgumentTable.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunction.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BinaryFunctionDescriptor.h +14 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4BufferRange.h +79 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandAllocator.h +15 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandBuffer.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandEncoder.h +16 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommandQueue.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CommitFeedback.h +15 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Compiler.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4CompilerTask.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputeCommandEncoder.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4ComputePipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4Counters.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4FunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LibraryFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4LinkingDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningCommandEncoder.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MachineLearningPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4MeshRenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineDataSetSerializer.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4PipelineState.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderCommandEncoder.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPass.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4RenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4SpecializedFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4StitchedFunctionDescriptor.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTL4TileRenderPipeline.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructure.h +1212 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h +322 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureTypes.h +224 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLAllocation.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h +279 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h +199 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBinaryArchive.h +142 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h +266 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBlitPass.h +82 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h +113 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h +43 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h +449 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h +148 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h +102 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h +350 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePass.h +90 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h +274 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLCounters.h +225 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDataType.h +232 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h +39 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h +93 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h +1122 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDeviceCertification.h +29 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h +36 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLDynamicLibrary.h +81 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h +79 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h +30 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionDescriptor.h +95 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionHandle.h +29 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionLog.h +37 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionStitching.h +131 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLGPUAddress.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h +284 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandBuffer.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCommandQueue.h +11 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIOCompressor.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h +157 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h +110 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLIntersectionFunctionTable.h +186 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h +549 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLinkedFunctions.h +57 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLLogState.h +65 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h +77 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h +57 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h +342 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h +323 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h +1068 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h +411 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h +788 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResidencySet.h +141 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h +307 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h +125 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStatePass.h +85 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLResourceViewPool.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h +252 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h +158 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTensor.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h +460 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTextureViewPool.h +18 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h +125 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h +153 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLVisibleFunctionTable.h +45 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/Metal.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTDefines.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTTagClass.h +33 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTType.h +504 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLEssentialsAvailability.h +14 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLLocationEssentials.h +444 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/LocationEssentials.h +14 -0
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Modules/module.modulemap +14 -0
- package/sdk/ios/usr/include/complex.h +167 -0
- package/sdk/ios/usr/include/dispatch/dispatch.h +5 -0
- package/sdk/ios/usr/include/mach/mach_types.h +1 -0
- package/sdk/ios/usr/include/math.h +835 -2
- package/sdk/ios/usr/include/sys/cdefs.h +0 -1
- package/src/generated/swift-c-predefines.json +1988 -0
- package/src/nitro-bundle.ts +1 -0
- package/src/nitro-compile.ts +4 -0
- package/src/nitroContract.ts +18 -2
- package/src/swift-compile.ts +446 -49
- package/src/swift-coverage/package.ts +3 -1
- package/src/swift-coverage/xcode-assets.ts +62 -2
- package/src/swift-coverage/xcode-packages.ts +11 -6
- package/src/swift-host.ts +333 -57
- package/src/swift-objc-compile.ts +20 -5
- package/src/swift-objc-standin.ts +21 -11
- package/src/swift-package-manifest.ts +151 -28
- package/src/swift-package.ts +134 -58
- package/src/swift-packages.ts +141 -44
- package/src/swift-source-file.ts +10 -15
- package/src/swift-standins.ts +87 -13
- package/src/swift-submit.ts +5 -0
- package/src/swiftContract.ts +160 -75
- package/src/target-matcher.ts +15 -2
- package/src/worklet-executable.ts +7 -3
- package/src/xcode-json-project.ts +14 -2
- package/src/xcode-project.ts +154 -59
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
//
|
|
2
|
+
// MTLVertexDescriptor.h
|
|
3
|
+
// Metal
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2014 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Metal/MTLDefines.h>
|
|
9
|
+
#import <Metal/MTLDevice.h>
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
13
|
+
|
|
14
|
+
/*!
|
|
15
|
+
@enum MTLVertexFormat
|
|
16
|
+
@abstract specifies how the vertex attribute data is laid out in memory.
|
|
17
|
+
*/
|
|
18
|
+
typedef NS_ENUM(NSUInteger, MTLVertexFormat)
|
|
19
|
+
{
|
|
20
|
+
MTLVertexFormatInvalid = 0,
|
|
21
|
+
|
|
22
|
+
MTLVertexFormatUChar2 = 1,
|
|
23
|
+
MTLVertexFormatUChar3 = 2,
|
|
24
|
+
MTLVertexFormatUChar4 = 3,
|
|
25
|
+
|
|
26
|
+
MTLVertexFormatChar2 = 4,
|
|
27
|
+
MTLVertexFormatChar3 = 5,
|
|
28
|
+
MTLVertexFormatChar4 = 6,
|
|
29
|
+
|
|
30
|
+
MTLVertexFormatUChar2Normalized = 7,
|
|
31
|
+
MTLVertexFormatUChar3Normalized = 8,
|
|
32
|
+
MTLVertexFormatUChar4Normalized = 9,
|
|
33
|
+
|
|
34
|
+
MTLVertexFormatChar2Normalized = 10,
|
|
35
|
+
MTLVertexFormatChar3Normalized = 11,
|
|
36
|
+
MTLVertexFormatChar4Normalized = 12,
|
|
37
|
+
|
|
38
|
+
MTLVertexFormatUShort2 = 13,
|
|
39
|
+
MTLVertexFormatUShort3 = 14,
|
|
40
|
+
MTLVertexFormatUShort4 = 15,
|
|
41
|
+
|
|
42
|
+
MTLVertexFormatShort2 = 16,
|
|
43
|
+
MTLVertexFormatShort3 = 17,
|
|
44
|
+
MTLVertexFormatShort4 = 18,
|
|
45
|
+
|
|
46
|
+
MTLVertexFormatUShort2Normalized = 19,
|
|
47
|
+
MTLVertexFormatUShort3Normalized = 20,
|
|
48
|
+
MTLVertexFormatUShort4Normalized = 21,
|
|
49
|
+
|
|
50
|
+
MTLVertexFormatShort2Normalized = 22,
|
|
51
|
+
MTLVertexFormatShort3Normalized = 23,
|
|
52
|
+
MTLVertexFormatShort4Normalized = 24,
|
|
53
|
+
|
|
54
|
+
MTLVertexFormatHalf2 = 25,
|
|
55
|
+
MTLVertexFormatHalf3 = 26,
|
|
56
|
+
MTLVertexFormatHalf4 = 27,
|
|
57
|
+
|
|
58
|
+
MTLVertexFormatFloat = 28,
|
|
59
|
+
MTLVertexFormatFloat2 = 29,
|
|
60
|
+
MTLVertexFormatFloat3 = 30,
|
|
61
|
+
MTLVertexFormatFloat4 = 31,
|
|
62
|
+
|
|
63
|
+
MTLVertexFormatInt = 32,
|
|
64
|
+
MTLVertexFormatInt2 = 33,
|
|
65
|
+
MTLVertexFormatInt3 = 34,
|
|
66
|
+
MTLVertexFormatInt4 = 35,
|
|
67
|
+
|
|
68
|
+
MTLVertexFormatUInt = 36,
|
|
69
|
+
MTLVertexFormatUInt2 = 37,
|
|
70
|
+
MTLVertexFormatUInt3 = 38,
|
|
71
|
+
MTLVertexFormatUInt4 = 39,
|
|
72
|
+
|
|
73
|
+
MTLVertexFormatInt1010102Normalized = 40,
|
|
74
|
+
MTLVertexFormatUInt1010102Normalized = 41,
|
|
75
|
+
|
|
76
|
+
MTLVertexFormatUChar4Normalized_BGRA API_AVAILABLE(macos(10.13), ios(11.0)) = 42,
|
|
77
|
+
|
|
78
|
+
MTLVertexFormatUChar API_AVAILABLE(macos(10.13), ios(11.0)) = 45,
|
|
79
|
+
MTLVertexFormatChar API_AVAILABLE(macos(10.13), ios(11.0)) = 46,
|
|
80
|
+
MTLVertexFormatUCharNormalized API_AVAILABLE(macos(10.13), ios(11.0)) = 47,
|
|
81
|
+
MTLVertexFormatCharNormalized API_AVAILABLE(macos(10.13), ios(11.0)) = 48,
|
|
82
|
+
|
|
83
|
+
MTLVertexFormatUShort API_AVAILABLE(macos(10.13), ios(11.0)) = 49,
|
|
84
|
+
MTLVertexFormatShort API_AVAILABLE(macos(10.13), ios(11.0)) = 50,
|
|
85
|
+
MTLVertexFormatUShortNormalized API_AVAILABLE(macos(10.13), ios(11.0)) = 51,
|
|
86
|
+
MTLVertexFormatShortNormalized API_AVAILABLE(macos(10.13), ios(11.0)) = 52,
|
|
87
|
+
|
|
88
|
+
MTLVertexFormatHalf API_AVAILABLE(macos(10.13), ios(11.0)) = 53,
|
|
89
|
+
|
|
90
|
+
MTLVertexFormatFloatRG11B10 API_AVAILABLE(macos(14.0), ios(17.0)) = 54,
|
|
91
|
+
MTLVertexFormatFloatRGB9E5 API_AVAILABLE(macos(14.0), ios(17.0)) = 55,
|
|
92
|
+
|
|
93
|
+
} API_AVAILABLE(macos(10.11), ios(8.0));
|
|
94
|
+
|
|
95
|
+
typedef NS_ENUM(NSUInteger, MTLVertexStepFunction)
|
|
96
|
+
{
|
|
97
|
+
MTLVertexStepFunctionConstant = 0,
|
|
98
|
+
MTLVertexStepFunctionPerVertex = 1,
|
|
99
|
+
MTLVertexStepFunctionPerInstance = 2,
|
|
100
|
+
MTLVertexStepFunctionPerPatch API_AVAILABLE(macos(10.12), ios(10.0)) = 3,
|
|
101
|
+
MTLVertexStepFunctionPerPatchControlPoint API_AVAILABLE(macos(10.12), ios(10.0)) = 4,
|
|
102
|
+
} API_AVAILABLE(macos(10.11), ios(8.0));
|
|
103
|
+
|
|
104
|
+
/*!
|
|
105
|
+
@brief
|
|
106
|
+
when a MTLVertexBufferLayoutDescriptor has its stride set to this value,
|
|
107
|
+
the stride will be dynamic and must be set explicitly when binding a buffer
|
|
108
|
+
to a render command encoder.
|
|
109
|
+
*/
|
|
110
|
+
API_AVAILABLE(macos(14.0), ios(17.0))
|
|
111
|
+
static const NSUInteger MTLBufferLayoutStrideDynamic = NSUIntegerMax;
|
|
112
|
+
|
|
113
|
+
MTL_EXPORT API_AVAILABLE(macos(10.11), ios(8.0))
|
|
114
|
+
@interface MTLVertexBufferLayoutDescriptor : NSObject <NSCopying>
|
|
115
|
+
@property (assign, nonatomic) NSUInteger stride;
|
|
116
|
+
@property (assign, nonatomic) MTLVertexStepFunction stepFunction;
|
|
117
|
+
@property (assign, nonatomic) NSUInteger stepRate;
|
|
118
|
+
@end
|
|
119
|
+
|
|
120
|
+
MTL_EXPORT API_AVAILABLE(macos(10.11), ios(8.0))
|
|
121
|
+
@interface MTLVertexBufferLayoutDescriptorArray : NSObject
|
|
122
|
+
- (MTLVertexBufferLayoutDescriptor *)objectAtIndexedSubscript:(NSUInteger)index;
|
|
123
|
+
- (void)setObject:(nullable MTLVertexBufferLayoutDescriptor *)bufferDesc atIndexedSubscript:(NSUInteger)index;
|
|
124
|
+
@end
|
|
125
|
+
|
|
126
|
+
MTL_EXPORT API_AVAILABLE(macos(10.11), ios(8.0))
|
|
127
|
+
@interface MTLVertexAttributeDescriptor : NSObject <NSCopying>
|
|
128
|
+
@property (assign, nonatomic) MTLVertexFormat format;
|
|
129
|
+
@property (assign, nonatomic) NSUInteger offset;
|
|
130
|
+
@property (assign, nonatomic) NSUInteger bufferIndex;
|
|
131
|
+
@end
|
|
132
|
+
|
|
133
|
+
MTL_EXPORT API_AVAILABLE(macos(10.11), ios(8.0))
|
|
134
|
+
@interface MTLVertexAttributeDescriptorArray : NSObject
|
|
135
|
+
- (MTLVertexAttributeDescriptor *)objectAtIndexedSubscript:(NSUInteger)index;
|
|
136
|
+
- (void)setObject:(nullable MTLVertexAttributeDescriptor *)attributeDesc atIndexedSubscript:(NSUInteger)index;
|
|
137
|
+
@end
|
|
138
|
+
|
|
139
|
+
/*
|
|
140
|
+
MTLVertexDescriptor
|
|
141
|
+
*/
|
|
142
|
+
MTL_EXPORT API_AVAILABLE(macos(10.11), ios(8.0))
|
|
143
|
+
@interface MTLVertexDescriptor : NSObject <NSCopying>
|
|
144
|
+
|
|
145
|
+
+ (MTLVertexDescriptor *)vertexDescriptor;
|
|
146
|
+
|
|
147
|
+
@property (readonly) MTLVertexBufferLayoutDescriptorArray *layouts;
|
|
148
|
+
@property (readonly) MTLVertexAttributeDescriptorArray *attributes;
|
|
149
|
+
|
|
150
|
+
- (void)reset;
|
|
151
|
+
|
|
152
|
+
@end
|
|
153
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//
|
|
2
|
+
// MTLVisibleFunctionTable.h
|
|
3
|
+
// Framework
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2020 Apple, Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Metal/MTLDefines.h>
|
|
9
|
+
|
|
10
|
+
#import <Metal/MTLTypes.h>
|
|
11
|
+
#import <Metal/MTLResource.h>
|
|
12
|
+
#import <Metal/MTLFunctionHandle.h>
|
|
13
|
+
|
|
14
|
+
MTL_EXPORT API_AVAILABLE(macos(11.0), ios(14.0), tvos(16.0))
|
|
15
|
+
@interface MTLVisibleFunctionTableDescriptor : NSObject <NSCopying>
|
|
16
|
+
|
|
17
|
+
/*!
|
|
18
|
+
@method visibleFunctionTableDescriptor
|
|
19
|
+
@abstract Create an autoreleased visible function table descriptor
|
|
20
|
+
*/
|
|
21
|
+
+ (nonnull MTLVisibleFunctionTableDescriptor *)visibleFunctionTableDescriptor;
|
|
22
|
+
|
|
23
|
+
/*!
|
|
24
|
+
* @property functionCount
|
|
25
|
+
* @abstract The number of functions in the table.
|
|
26
|
+
*/
|
|
27
|
+
@property (nonatomic) NSUInteger functionCount;
|
|
28
|
+
|
|
29
|
+
@end
|
|
30
|
+
|
|
31
|
+
API_AVAILABLE(macos(11.0), ios(14.0), tvos(16.0))
|
|
32
|
+
@protocol MTLVisibleFunctionTable <MTLResource>
|
|
33
|
+
|
|
34
|
+
/*!
|
|
35
|
+
@property gpuResourceID
|
|
36
|
+
@abstract Handle of the GPU resource suitable for storing in an Argument Buffer
|
|
37
|
+
*/
|
|
38
|
+
@property (readonly) MTLResourceID gpuResourceID API_AVAILABLE(macos(13.0), ios(16.0));
|
|
39
|
+
|
|
40
|
+
- (void)setFunction:(nullable id <MTLFunctionHandle>)function atIndex:(NSUInteger)index;
|
|
41
|
+
|
|
42
|
+
- (void)setFunctions:(const id <MTLFunctionHandle> __nullable [__nonnull])functions withRange:(NSRange)range;
|
|
43
|
+
|
|
44
|
+
@end
|
|
45
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Metal.h
|
|
3
|
+
// Metal
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2014 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Metal/MTLDefines.h>
|
|
9
|
+
#import <Metal/MTLTypes.h>
|
|
10
|
+
#import <Metal/MTLBlitCommandEncoder.h>
|
|
11
|
+
#import <Metal/MTLAllocation.h>
|
|
12
|
+
#import <Metal/MTLResource.h>
|
|
13
|
+
#import <Metal/MTLBuffer.h>
|
|
14
|
+
#import <Metal/MTLCommandBuffer.h>
|
|
15
|
+
#import <Metal/MTLComputeCommandEncoder.h>
|
|
16
|
+
#import <Metal/MTLCommandQueue.h>
|
|
17
|
+
#import <Metal/MTLCounters.h>
|
|
18
|
+
#import <Metal/MTLDevice.h>
|
|
19
|
+
#import <Metal/MTLDeviceCertification.h>
|
|
20
|
+
#import <Metal/MTLDepthStencil.h>
|
|
21
|
+
#import <Metal/MTLDrawable.h>
|
|
22
|
+
#import <Metal/MTLRenderPass.h>
|
|
23
|
+
#import <Metal/MTLComputePass.h>
|
|
24
|
+
#import <Metal/MTLBlitPass.h>
|
|
25
|
+
#import <Metal/MTLResourceStatePass.h>
|
|
26
|
+
#import <Metal/MTLComputePipeline.h>
|
|
27
|
+
#import <Metal/MTLLibrary.h>
|
|
28
|
+
#import <Metal/MTLPixelFormat.h>
|
|
29
|
+
#import <Metal/MTLRenderPipeline.h>
|
|
30
|
+
#import <Metal/MTLVertexDescriptor.h>
|
|
31
|
+
#import <Metal/MTLParallelRenderCommandEncoder.h>
|
|
32
|
+
#import <Metal/MTLRenderCommandEncoder.h>
|
|
33
|
+
#import <Metal/MTLSampler.h>
|
|
34
|
+
#import <Metal/MTLTexture.h>
|
|
35
|
+
#import <Metal/MTLHeap.h>
|
|
36
|
+
#import <Metal/MTLArgumentEncoder.h>
|
|
37
|
+
#import <Metal/MTLCaptureManager.h>
|
|
38
|
+
#import <Metal/MTLCaptureScope.h>
|
|
39
|
+
#import <Metal/MTLIndirectCommandBuffer.h>
|
|
40
|
+
#import <Metal/MTLIndirectCommandEncoder.h>
|
|
41
|
+
#import <Metal/MTLFence.h>
|
|
42
|
+
#import <Metal/MTLEvent.h>
|
|
43
|
+
#import <Metal/MTLFunctionLog.h>
|
|
44
|
+
#import <Metal/MTLResourceStateCommandEncoder.h>
|
|
45
|
+
#import <Metal/MTLAccelerationStructureCommandEncoder.h>
|
|
46
|
+
#import <Metal/MTLRasterizationRate.h>
|
|
47
|
+
#import <Metal/MTLDynamicLibrary.h>
|
|
48
|
+
#import <Metal/MTLFunctionDescriptor.h>
|
|
49
|
+
#import <Metal/MTLLinkedFunctions.h>
|
|
50
|
+
#import <Metal/MTLLogState.h>
|
|
51
|
+
#import <Metal/MTLFunctionHandle.h>
|
|
52
|
+
#import <Metal/MTLVisibleFunctionTable.h>
|
|
53
|
+
#import <Metal/MTLBinaryArchive.h>
|
|
54
|
+
#import <Metal/MTLIntersectionFunctionTable.h>
|
|
55
|
+
#import <Metal/MTLFunctionStitching.h>
|
|
56
|
+
#import <Metal/MTLIOCommandQueue.h>
|
|
57
|
+
#import <Metal/MTLIOCommandBuffer.h>
|
|
58
|
+
#import <Metal/MTLIOCompressor.h>
|
|
59
|
+
#import <Metal/MTLResidencySet.h>
|
|
60
|
+
#import <Metal/MTLTensor.h>
|
|
61
|
+
#import <Metal/MTLResourceViewPool.h>
|
|
62
|
+
#import <Metal/MTLTextureViewPool.h>
|
|
63
|
+
#import <Metal/MTLDataType.h>
|
|
64
|
+
#import <Metal/MTL4ArgumentTable.h>
|
|
65
|
+
#import <Metal/MTL4BinaryFunction.h>
|
|
66
|
+
#import <Metal/MTL4CommandAllocator.h>
|
|
67
|
+
#import <Metal/MTL4CommandBuffer.h>
|
|
68
|
+
#import <Metal/MTL4CommandEncoder.h>
|
|
69
|
+
#import <Metal/MTL4CommandQueue.h>
|
|
70
|
+
#import <Metal/MTL4Counters.h>
|
|
71
|
+
#import <Metal/MTL4RenderPass.h>
|
|
72
|
+
#import <Metal/MTL4RenderCommandEncoder.h>
|
|
73
|
+
#import <Metal/MTL4ComputeCommandEncoder.h>
|
|
74
|
+
#import <Metal/MTL4MachineLearningCommandEncoder.h>
|
|
75
|
+
#import <Metal/MTL4Compiler.h>
|
|
76
|
+
#import <Metal/MTL4CompilerTask.h>
|
|
77
|
+
#import <Metal/MTL4LibraryDescriptor.h>
|
|
78
|
+
#import <Metal/MTL4FunctionDescriptor.h>
|
|
79
|
+
#import <Metal/MTL4LibraryFunctionDescriptor.h>
|
|
80
|
+
#import <Metal/MTL4SpecializedFunctionDescriptor.h>
|
|
81
|
+
#import <Metal/MTL4StitchedFunctionDescriptor.h>
|
|
82
|
+
#import <Metal/MTL4PipelineState.h>
|
|
83
|
+
#import <Metal/MTL4ComputePipeline.h>
|
|
84
|
+
#import <Metal/MTL4RenderPipeline.h>
|
|
85
|
+
#import <Metal/MTL4MachineLearningPipeline.h>
|
|
86
|
+
#import <Metal/MTL4TileRenderPipeline.h>
|
|
87
|
+
#import <Metal/MTL4MeshRenderPipeline.h>
|
|
88
|
+
#import <Metal/MTL4PipelineDataSetSerializer.h>
|
|
89
|
+
#import <Metal/MTL4Archive.h>
|
|
90
|
+
#import <Metal/MTL4CommitFeedback.h>
|
|
91
|
+
#import <Metal/MTL4BinaryFunctionDescriptor.h>
|
|
92
|
+
#import <Metal/MTL4LinkingDescriptor.h>
|
|
93
|
+
#import <Metal/MTL4BufferRange.h>
|
|
94
|
+
#import <Metal/MTLGPUAddress.h>
|
package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTDefines.h
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
//
|
|
2
|
+
// UTDefines.h
|
|
3
|
+
//
|
|
4
|
+
// Copyright © 2020 Apple. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
#ifndef __UNIFORMTYPEIDENTIFIERS_UTDEFINES__
|
|
8
|
+
#define __UNIFORMTYPEIDENTIFIERS_UTDEFINES__
|
|
9
|
+
|
|
10
|
+
#include <Availability.h>
|
|
11
|
+
|
|
12
|
+
#if !defined(UT_EXPORT)
|
|
13
|
+
#if defined(__cplusplus)
|
|
14
|
+
#define UT_EXPORT extern "C" __attribute__((visibility("default")))
|
|
15
|
+
#else // defined(__cplusplus)
|
|
16
|
+
#define UT_EXPORT extern __attribute__((visibility("default")))
|
|
17
|
+
#endif // defined(__cplusplus)
|
|
18
|
+
#endif // !defined(UT_EXPORT)
|
|
19
|
+
|
|
20
|
+
#if !defined(UT_EXPORT_CLASS)
|
|
21
|
+
#define UT_EXPORT_CLASS __attribute__((visibility("default")))
|
|
22
|
+
#endif // !defined(UT_EXPORT_CLASS)
|
|
23
|
+
|
|
24
|
+
#if !defined(UT_AVAILABLE_BEGIN)
|
|
25
|
+
#define UT_AVAILABLE_BEGIN API_AVAILABLE_BEGIN(macos(11.0), macCatalyst(14.0), ios(14.0), watchos(7.0), tvos(14.0))
|
|
26
|
+
#endif // !defined(UT_AVAILABLE_BEGIN)
|
|
27
|
+
#if !defined(UT_AVAILABLE_END)
|
|
28
|
+
#define UT_AVAILABLE_END API_AVAILABLE_END
|
|
29
|
+
#endif // !defined(UT_AVAILABLE_END)
|
|
30
|
+
|
|
31
|
+
#if !defined(UT_SUBCLASSING_RESTRICTED)
|
|
32
|
+
#define UT_SUBCLASSING_RESTRICTED __attribute__((__objc_subclassing_restricted__))
|
|
33
|
+
#endif // !defined(UT_SUBCLASSING_RESTRICTED)
|
|
34
|
+
|
|
35
|
+
#endif // __UNIFORMTYPEIDENTIFIERS_UTDEFINES__
|
package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTTagClass.h
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//
|
|
2
|
+
// UTTagClass.h
|
|
3
|
+
//
|
|
4
|
+
// Copyright © 2020 Apple Inc. All rights reserved.
|
|
5
|
+
//
|
|
6
|
+
|
|
7
|
+
#ifndef __UNIFORMTYPEIDENTIFIERS_UTTAGCLASS__
|
|
8
|
+
#define __UNIFORMTYPEIDENTIFIERS_UTTAGCLASS__
|
|
9
|
+
|
|
10
|
+
#import <Foundation/Foundation.h>
|
|
11
|
+
|
|
12
|
+
#import <UniformTypeIdentifiers/UTDefines.h>
|
|
13
|
+
|
|
14
|
+
__BEGIN_DECLS
|
|
15
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
16
|
+
UT_AVAILABLE_BEGIN
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
\brief The tag class for filename extensions such as \c "txt".
|
|
20
|
+
|
|
21
|
+
The leading period character is not part of the filename extension and
|
|
22
|
+
should not be included in the tag.
|
|
23
|
+
*/
|
|
24
|
+
UT_EXPORT NSString *const UTTagClassFilenameExtension NS_REFINED_FOR_SWIFT;
|
|
25
|
+
|
|
26
|
+
/** \brief The tag class for MIME types such as \c "text/plain". */
|
|
27
|
+
UT_EXPORT NSString *const UTTagClassMIMEType NS_REFINED_FOR_SWIFT;
|
|
28
|
+
|
|
29
|
+
UT_AVAILABLE_END
|
|
30
|
+
NS_ASSUME_NONNULL_END
|
|
31
|
+
__END_DECLS
|
|
32
|
+
|
|
33
|
+
#endif // __UNIFORMTYPEIDENTIFIERS_UTTAGCLASS__
|