peachsim 0.1.1674 → 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/control.ts +13 -1
- package/cli/commands/coverage-swift.ts +150 -27
- package/cli/commands/coverage.ts +219 -20
- package/cli/commands/detect.ts +10 -6
- package/cli/commands/inspect/actions.ts +1 -0
- package/cli/commands/inspect/core.ts +2 -0
- package/cli/commands/inspect/wait-ready.ts +7 -0
- package/cli/commands/screenshot.ts +12 -0
- package/cli/outbound-endpoints.ts +12 -0
- package/detox/index.ts +11 -1
- package/detox/jest-environment.cjs +14 -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 +4833 -2432
- 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 +6 -4
- package/dist-lib/detox/jest-environment.cjs +14 -0
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +3785 -1737
- 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 +4253 -2205
- package/dist-lib/host/fetch-proxy-handler.cjs +20 -7
- 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 +2065 -796
- 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 +6325 -4287
- package/dist-lib/native-app-identity-project.cjs +192 -55
- package/dist-lib/native-app-identity-project.mjs +235 -86
- 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 +27 -23
- package/dist-lib/public-origins-lib-static.json +1 -1
- package/dist-lib/public-origins-lib.json +156 -87
- 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 +2 -2
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +3 -2
- package/dist-lib/sdk.mjs +3 -2
- package/dist-lib/skills.cjs +5036 -2833
- package/dist-lib/swift-compile.cjs +2937 -437
- package/dist-lib/swift-compile.mjs +2932 -435
- package/dist-lib/swift-package.cjs +137 -49
- package/dist-lib/swift-package.mjs +132 -49
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +26 -11
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +6005 -1725
- package/dist-lib/vite.cjs +1911 -776
- package/dist-lib/worklet-executable.cjs +7 -4
- package/dist-lib/worklet-executable.mjs +7 -4
- package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/clipboardContract.d.ts +24 -2
- package/dist-types/packages/peach-engine/src/preview/upload-protocol.d.ts +11 -3
- package/dist-types/packages/peach-engine/src/webview-automation-host.d.ts +6 -0
- package/dist-types/packages/peach-globals/src/clipboardBridgeContract.d.ts +8 -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/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +60 -2
- 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 +117 -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/MessageUI.framework/Headers/MFComposeAssistantViewController.h +29 -0
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailComposeControllerDeferredAction.h +14 -0
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailComposeViewController.h +162 -0
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailDraft.h +24 -0
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController+UPI.h +31 -0
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController.h +169 -0
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MessageUI.h +13 -0
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Modules/module.modulemap +11 -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/UIKit.framework/Headers/UIKit.h +10 -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/arm/param.h +151 -0
- package/sdk/ios/usr/include/complex.h +167 -0
- package/sdk/ios/usr/include/dispatch/dispatch.h +8 -0
- package/sdk/ios/usr/include/dlfcn.h +1 -2
- package/sdk/ios/usr/include/mach/mach_types.h +1 -0
- package/sdk/ios/usr/include/machine/param.h +42 -0
- package/sdk/ios/usr/include/math.h +835 -2
- package/sdk/ios/usr/include/net/if.h +1 -2
- package/sdk/ios/usr/include/peach/pthread.h +4 -4
- package/sdk/ios/usr/include/pthread/qos.h +304 -0
- package/sdk/ios/usr/include/sys/_types/_fd_clr.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_fd_copy.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_fd_def.h +121 -0
- package/sdk/ios/usr/include/sys/_types/_fd_isset.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_fd_set.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_fd_setsize.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_fd_zero.h +31 -0
- package/sdk/ios/usr/include/sys/cdefs.h +3 -1
- package/sdk/ios/usr/include/sys/param.h +235 -0
- package/sdk/ios/usr/include/sys/proc.h +1 -0
- package/sdk/ios/usr/include/sys/qos.h +151 -12
- package/sdk/ios/wasm/include/__typedef_sigset_t.h +7 -0
- package/sdk/ios/wasm/include/fcntl.h +11 -0
- package/sdk/ios/wasm/include/mach/machine/boolean.h +2 -0
- package/sdk/ios/wasm/include/mach/machine/exception.h +5 -0
- package/sdk/ios/wasm/include/mach/machine/kern_return.h +2 -0
- package/sdk/ios/wasm/include/mach/machine/processor_info.h +2 -0
- package/sdk/ios/wasm/include/mach/machine/rpc.h +2 -0
- package/sdk/ios/wasm/include/mach/machine/thread_state.h +3 -0
- package/sdk/ios/wasm/include/mach/machine/thread_status.h +3 -0
- package/sdk/ios/wasm/include/mach/machine/vm_param.h +3 -0
- package/sdk/ios/wasm/include/mach/machine/vm_types.h +18 -0
- package/sdk/ios/wasm/include/machine/_types.h +153 -0
- package/sdk/ios/wasm/include/machine/endian.h +2 -0
- package/sdk/ios/wasm/include/machine/limits.h +2 -0
- package/sdk/ios/wasm/include/machine/types.h +30 -0
- package/sdk/ios/wasm/include/poll.h +8 -0
- package/sdk/ios/wasm/include/pthread.h +50 -0
- package/sdk/ios/wasm/include/signal.h +72 -0
- package/sdk/ios/wasm/include/stdlib.h +3 -0
- package/sdk/ios/wasm/include/string.h +10 -0
- package/sdk/ios/wasm/include/sys/_pthread/_pthread_attr_t.h +7 -0
- package/sdk/ios/wasm/include/sys/_pthread/_pthread_t.h +7 -0
- package/sdk/ios/wasm/include/sys/mman.h +122 -0
- package/sdk/ios/wasm/include/sys/select.h +37 -0
- package/sdk/ios/wasm/include/sys/signal.h +259 -0
- package/sdk/ios/wasm/include/sys/socket.h +8 -0
- package/sdk/ios/wasm/include/sys/types.h +14 -0
- package/sdk/ios/wasm/include/sys/ucontext.h +1 -0
- package/sdk/ios/wasm/include/sys/uio.h +11 -0
- package/sdk/ios/wasm/include/sys/wait.h +89 -0
- package/sdk/ios/wasm/include/time.h +8 -0
- package/sdk/ios/wasm/include/unistd.h +17 -0
- package/src/bridge-contract.ts +2 -0
- package/src/chromium-admission.ts +10 -5
- package/src/device-catalog.ts +4 -4
- package/src/generated/swift-c-predefines.json +1988 -0
- package/src/host/fetch-proxy-handler.ts +20 -0
- package/src/metro-plugin.ts +5 -2
- package/src/nitro-adapter.lock.json +6 -6
- package/src/nitro-bundle.ts +1 -0
- package/src/nitro-compile.ts +67 -2
- package/src/nitroContract.ts +18 -2
- package/src/numbered-lock.ts +72 -0
- package/src/react-native-coverage/capability-reference-resolution.ts +62 -5
- package/src/react-native-coverage/capability-source-references.ts +50 -13
- package/src/react-native-coverage/native-source-credit.ts +126 -0
- package/src/react-native-coverage/native-source-ranges-file.ts +38 -0
- package/src/react-native-coverage/native-surface.ts +49 -0
- package/src/react-native-coverage/verified-reach.ts +22 -2
- package/src/runtime-assets.ts +17 -0
- package/src/swift-compile.ts +530 -97
- package/src/swift-coverage/indexing.ts +17 -1
- package/src/swift-coverage/package.ts +3 -1
- package/src/swift-coverage/sdk.ts +71 -0
- package/src/swift-coverage/source.ts +74 -2
- package/src/swift-coverage/types.ts +6 -0
- package/src/swift-coverage/xcode-assets.ts +62 -2
- package/src/swift-coverage/xcode-packages.ts +11 -6
- package/src/swift-distribution.lock.json +12 -12
- package/src/swift-host.ts +457 -62
- package/src/swift-objc-compile.ts +26 -26
- package/src/swift-objc-metadata.ts +2 -8
- package/src/swift-objc-platform.ts +53 -0
- package/src/swift-objc-standin.ts +66 -12
- package/src/swift-package-manifest.ts +196 -28
- package/src/swift-package.ts +186 -60
- package/src/swift-packages.ts +298 -88
- package/src/swift-source-file.ts +10 -15
- package/src/swift-source-pods.ts +288 -0
- package/src/swift-standins.ts +87 -13
- package/src/swift-submit.ts +5 -0
- package/src/swift-toolchain.ts +32 -10
- package/src/swiftContract.ts +160 -75
- package/src/target-matcher.ts +15 -2
- package/src/vite-plugin-one.ts +5 -4
- package/src/worker-system-chunks.ts +7 -1
- package/src/worklet-executable.ts +7 -3
- package/src/xcode-json-project.ts +14 -2
- package/src/xcode-project.ts +193 -69
package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
//
|
|
2
|
+
// MTLParallelRenderCommandEncoder.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/MTLRenderPass.h>
|
|
11
|
+
#import <Metal/MTLCommandEncoder.h>
|
|
12
|
+
|
|
13
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
14
|
+
@protocol MTLDevice;
|
|
15
|
+
@protocol MTLRenderCommandEncoder;
|
|
16
|
+
|
|
17
|
+
/*!
|
|
18
|
+
@protocol MTLParallelRenderCommandEncoder
|
|
19
|
+
@discussion The MTLParallelRenderCommandEncoder protocol is designed to allow a single render to texture operation to be efficiently (and safely) broken up across multiple threads.
|
|
20
|
+
*/
|
|
21
|
+
API_AVAILABLE(macos(10.11), ios(8.0))
|
|
22
|
+
@protocol MTLParallelRenderCommandEncoder <MTLCommandEncoder>
|
|
23
|
+
|
|
24
|
+
/*!
|
|
25
|
+
@method renderCommandEncoder
|
|
26
|
+
@abstract Return a new autoreleased object that conforms to <MTLRenderCommandEncoder> that may be used to encode on a different thread.
|
|
27
|
+
*/
|
|
28
|
+
- (nullable id <MTLRenderCommandEncoder>)renderCommandEncoder;
|
|
29
|
+
|
|
30
|
+
/*!
|
|
31
|
+
@method setColorStoreAction:atIndex:
|
|
32
|
+
@brief If the the store action for a given color attachment was set to MTLStoreActionUnknown when the render command encoder was created,
|
|
33
|
+
setColorStoreAction:atIndex: must be used to finalize the store action before endEncoding is called.
|
|
34
|
+
@param storeAction The desired store action for the given color attachment. This may be set to any value other than MTLStoreActionUnknown.
|
|
35
|
+
@param colorAttachmentIndex The index of the color attachment
|
|
36
|
+
*/
|
|
37
|
+
- (void)setColorStoreAction:(MTLStoreAction)storeAction atIndex:(NSUInteger)colorAttachmentIndex API_AVAILABLE(macos(10.12), ios(10.0));
|
|
38
|
+
|
|
39
|
+
/*!
|
|
40
|
+
@method setDepthStoreAction:
|
|
41
|
+
@brief If the the store action for the depth attachment was set to MTLStoreActionUnknown when the render command encoder was created,
|
|
42
|
+
setDepthStoreAction: must be used to finalize the store action before endEncoding is called.
|
|
43
|
+
*/
|
|
44
|
+
- (void)setDepthStoreAction:(MTLStoreAction)storeAction API_AVAILABLE(macos(10.12), ios(10.0));
|
|
45
|
+
|
|
46
|
+
/*!
|
|
47
|
+
@method setStencilStoreAction:
|
|
48
|
+
@brief If the the store action for the stencil attachment was set to MTLStoreActionUnknown when the render command encoder was created,
|
|
49
|
+
setStencilStoreAction: must be used to finalize the store action before endEncoding is called.
|
|
50
|
+
*/
|
|
51
|
+
- (void)setStencilStoreAction:(MTLStoreAction)storeAction API_AVAILABLE(macos(10.12), ios(10.0));
|
|
52
|
+
|
|
53
|
+
/*!
|
|
54
|
+
@method setColorStoreActionOptions:atIndex:
|
|
55
|
+
@brief If the the store action for a given color attachment was set to MTLStoreActionUnknown when the render command encoder was created,
|
|
56
|
+
setColorStoreActionOptions:atIndex: may be used to finalize the store action options before endEncoding is called.
|
|
57
|
+
@param storeActionOptions The desired store action options for the given color attachment.
|
|
58
|
+
@param colorAttachmentIndex The index of the color attachment
|
|
59
|
+
*/
|
|
60
|
+
- (void)setColorStoreActionOptions:(MTLStoreActionOptions)storeActionOptions atIndex:(NSUInteger)colorAttachmentIndex API_DEPRECATED("Store action options have no effect on Apple Silicon", macos(10.13, 27.0), ios(11.0, 27.0));
|
|
61
|
+
|
|
62
|
+
/*!
|
|
63
|
+
@method setDepthStoreActionOptions:
|
|
64
|
+
@brief If the the store action for the depth attachment was set to MTLStoreActionUnknown when the render command encoder was created,
|
|
65
|
+
setDepthStoreActionOptions: may be used to finalize the store action options before endEncoding is called.
|
|
66
|
+
*/
|
|
67
|
+
- (void)setDepthStoreActionOptions:(MTLStoreActionOptions)storeActionOptions API_DEPRECATED("Store action options have no effect on Apple Silicon", macos(10.13, 27.0), ios(11.0, 27.0));
|
|
68
|
+
|
|
69
|
+
/*!
|
|
70
|
+
@method setStencilStoreActionOptions:
|
|
71
|
+
@brief If the the store action for the stencil attachment was set to MTLStoreActionUnknown when the render command encoder was created,
|
|
72
|
+
setStencilStoreActionOptions: may be used to finalize the store action options before endEncoding is called.
|
|
73
|
+
*/
|
|
74
|
+
- (void)setStencilStoreActionOptions:(MTLStoreActionOptions)storeActionOptions API_DEPRECATED("Store action options have no effect on Apple Silicon", macos(10.13, 27.0), ios(11.0, 27.0));
|
|
75
|
+
|
|
76
|
+
@end
|
|
77
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
//
|
|
2
|
+
// MTLPipeline.h
|
|
3
|
+
// Metal
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2017 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Metal/MTLDevice.h>
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
/*!
|
|
14
|
+
* @enum MTLMutability
|
|
15
|
+
* @abstract Specifies whether a buffer will be modified between the time it is bound and a compute
|
|
16
|
+
* or render pipeline is executed in a draw or dispatch.
|
|
17
|
+
*/
|
|
18
|
+
typedef NS_ENUM(NSUInteger, MTLMutability)
|
|
19
|
+
{
|
|
20
|
+
MTLMutabilityDefault = 0,
|
|
21
|
+
MTLMutabilityMutable = 1,
|
|
22
|
+
MTLMutabilityImmutable = 2,
|
|
23
|
+
} API_AVAILABLE(macos(10.13), ios(11.0));
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
typedef NS_ENUM(NSInteger, MTLShaderValidation)
|
|
27
|
+
{
|
|
28
|
+
MTLShaderValidationDefault = 0,
|
|
29
|
+
MTLShaderValidationEnabled = 1,
|
|
30
|
+
MTLShaderValidationDisabled = 2,
|
|
31
|
+
} API_AVAILABLE(macos(15.0), ios(18.0));
|
|
32
|
+
|
|
33
|
+
typedef NS_ENUM(NSInteger, MTLForwardProgressUsage) {
|
|
34
|
+
MTLForwardProgressUsageAutomatic = 0,
|
|
35
|
+
MTLForwardProgressUsageWeak = 1,
|
|
36
|
+
MTLForwardProgressUsageSIMDGroupParallel = 2,
|
|
37
|
+
} API_AVAILABLE(macos(27.0), ios(27.0));
|
|
38
|
+
|
|
39
|
+
MTL_EXPORT API_AVAILABLE(macos(10.13), ios(11.0))
|
|
40
|
+
@interface MTLPipelineBufferDescriptor : NSObject <NSCopying>
|
|
41
|
+
|
|
42
|
+
/*! Buffer mutability. Defaults to MTLMutabilityDefault: mutable for standard buffers, immutable for argument buffers */
|
|
43
|
+
@property (nonatomic) MTLMutability mutability;
|
|
44
|
+
|
|
45
|
+
@end
|
|
46
|
+
|
|
47
|
+
MTL_EXPORT API_AVAILABLE(macos(10.13), ios(11.0))
|
|
48
|
+
@interface MTLPipelineBufferDescriptorArray : NSObject
|
|
49
|
+
/* Individual buffer descriptor access */
|
|
50
|
+
- (MTLPipelineBufferDescriptor *)objectAtIndexedSubscript:(NSUInteger)bufferIndex;
|
|
51
|
+
|
|
52
|
+
/* This always uses 'copy' semantics. It is safe to set the buffer descriptor at any legal index to nil, which resets that buffer descriptor to default values. */
|
|
53
|
+
- (void)setObject:(nullable MTLPipelineBufferDescriptor *)buffer atIndexedSubscript:(NSUInteger)bufferIndex;
|
|
54
|
+
|
|
55
|
+
@end
|
|
56
|
+
|
|
57
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
//
|
|
2
|
+
// MTLPixelFormat.h
|
|
3
|
+
// Metal
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2014 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
#import <Metal/MTLDefines.h>
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
typedef NS_ENUM(NSUInteger, MTLPixelFormat)
|
|
13
|
+
{
|
|
14
|
+
MTLPixelFormatInvalid = 0,
|
|
15
|
+
|
|
16
|
+
/* Normal 8 bit formats */
|
|
17
|
+
|
|
18
|
+
MTLPixelFormatA8Unorm = 1,
|
|
19
|
+
|
|
20
|
+
MTLPixelFormatR8Unorm = 10,
|
|
21
|
+
MTLPixelFormatR8Unorm_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 11,
|
|
22
|
+
MTLPixelFormatR8Snorm = 12,
|
|
23
|
+
MTLPixelFormatR8Uint = 13,
|
|
24
|
+
MTLPixelFormatR8Sint = 14,
|
|
25
|
+
|
|
26
|
+
/* Normal 16 bit formats */
|
|
27
|
+
|
|
28
|
+
MTLPixelFormatR16Unorm = 20,
|
|
29
|
+
MTLPixelFormatR16Snorm = 22,
|
|
30
|
+
MTLPixelFormatR16Uint = 23,
|
|
31
|
+
MTLPixelFormatR16Sint = 24,
|
|
32
|
+
MTLPixelFormatR16Float = 25,
|
|
33
|
+
|
|
34
|
+
MTLPixelFormatRG8Unorm = 30,
|
|
35
|
+
MTLPixelFormatRG8Unorm_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 31,
|
|
36
|
+
MTLPixelFormatRG8Snorm = 32,
|
|
37
|
+
MTLPixelFormatRG8Uint = 33,
|
|
38
|
+
MTLPixelFormatRG8Sint = 34,
|
|
39
|
+
|
|
40
|
+
/* Packed 16 bit formats */
|
|
41
|
+
|
|
42
|
+
MTLPixelFormatB5G6R5Unorm API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 40,
|
|
43
|
+
MTLPixelFormatA1BGR5Unorm API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 41,
|
|
44
|
+
MTLPixelFormatABGR4Unorm API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 42,
|
|
45
|
+
MTLPixelFormatBGR5A1Unorm API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 43,
|
|
46
|
+
|
|
47
|
+
/* Normal 24 bit formats */
|
|
48
|
+
|
|
49
|
+
/// An ordinary format with three components of 8-bit normalized, unsigned integer values in RGB order.
|
|
50
|
+
///
|
|
51
|
+
/// The order of the color components in this format are red, green and blue.
|
|
52
|
+
///
|
|
53
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
54
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
55
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
56
|
+
MTLPixelFormatRGB8Unorm API_AVAILABLE(macos(27.0), ios(27.0)) = 45,
|
|
57
|
+
|
|
58
|
+
/// An ordinary format with three components of 8-bit normalized, signed integer values in RGB order.
|
|
59
|
+
///
|
|
60
|
+
/// The order of the color components in this format are red, green and blue.
|
|
61
|
+
///
|
|
62
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
63
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
64
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
65
|
+
MTLPixelFormatRGB8Snorm API_AVAILABLE(macos(27.0), ios(27.0)) = 46,
|
|
66
|
+
|
|
67
|
+
/// An ordinary format with three components of 8-bit unsigned integer values in RGB order.
|
|
68
|
+
///
|
|
69
|
+
/// The order of the color components in this format are red, green and blue.
|
|
70
|
+
///
|
|
71
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
72
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
73
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
74
|
+
MTLPixelFormatRGB8Uint API_AVAILABLE(macos(27.0), ios(27.0)) = 47,
|
|
75
|
+
|
|
76
|
+
/// An ordinary format with three components of 8-bit signed integer values in RGB order.
|
|
77
|
+
///
|
|
78
|
+
/// The order of the color components in this format are red, green and blue.
|
|
79
|
+
///
|
|
80
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
81
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
82
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
83
|
+
MTLPixelFormatRGB8Sint API_AVAILABLE(macos(27.0), ios(27.0)) = 48,
|
|
84
|
+
|
|
85
|
+
/* Normal 32 bit formats */
|
|
86
|
+
|
|
87
|
+
MTLPixelFormatR32Uint = 53,
|
|
88
|
+
MTLPixelFormatR32Sint = 54,
|
|
89
|
+
MTLPixelFormatR32Float = 55,
|
|
90
|
+
|
|
91
|
+
MTLPixelFormatRG16Unorm = 60,
|
|
92
|
+
MTLPixelFormatRG16Snorm = 62,
|
|
93
|
+
MTLPixelFormatRG16Uint = 63,
|
|
94
|
+
MTLPixelFormatRG16Sint = 64,
|
|
95
|
+
MTLPixelFormatRG16Float = 65,
|
|
96
|
+
|
|
97
|
+
MTLPixelFormatRGBA8Unorm = 70,
|
|
98
|
+
MTLPixelFormatRGBA8Unorm_sRGB = 71,
|
|
99
|
+
MTLPixelFormatRGBA8Snorm = 72,
|
|
100
|
+
MTLPixelFormatRGBA8Uint = 73,
|
|
101
|
+
MTLPixelFormatRGBA8Sint = 74,
|
|
102
|
+
|
|
103
|
+
MTLPixelFormatBGRA8Unorm = 80,
|
|
104
|
+
MTLPixelFormatBGRA8Unorm_sRGB = 81,
|
|
105
|
+
|
|
106
|
+
/* Packed 32 bit formats */
|
|
107
|
+
|
|
108
|
+
MTLPixelFormatRGB10A2Unorm = 90,
|
|
109
|
+
MTLPixelFormatRGB10A2Uint = 91,
|
|
110
|
+
|
|
111
|
+
MTLPixelFormatRG11B10Float = 92,
|
|
112
|
+
MTLPixelFormatRGB9E5Float = 93,
|
|
113
|
+
|
|
114
|
+
MTLPixelFormatBGR10A2Unorm API_AVAILABLE(macos(10.13), ios(11.0)) = 94,
|
|
115
|
+
|
|
116
|
+
MTLPixelFormatBGR10_XR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(10.0)) = 554,
|
|
117
|
+
MTLPixelFormatBGR10_XR_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(10.0)) = 555,
|
|
118
|
+
|
|
119
|
+
/* Normal 48 bit formats */
|
|
120
|
+
|
|
121
|
+
/// An ordinary format with three components of 16-bit normalized, unsigned integer values in RGB order.
|
|
122
|
+
///
|
|
123
|
+
/// The order of the color components in this format are red, green and blue.
|
|
124
|
+
///
|
|
125
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
126
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
127
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
128
|
+
MTLPixelFormatRGB16Unorm API_AVAILABLE(macos(27.0), ios(27.0)) = 95,
|
|
129
|
+
|
|
130
|
+
/// An ordinary format with three components of 16-bit normalized, signed integer values in RGB order.
|
|
131
|
+
///
|
|
132
|
+
/// The order of the color components in this format are red, green and blue.
|
|
133
|
+
///
|
|
134
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
135
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
136
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
137
|
+
MTLPixelFormatRGB16Snorm API_AVAILABLE(macos(27.0), ios(27.0)) = 96,
|
|
138
|
+
|
|
139
|
+
/// An ordinary format with three components of 16-bit unsigned integer values in RGB order.
|
|
140
|
+
///
|
|
141
|
+
/// The order of the color components in this format are red, green and blue.
|
|
142
|
+
///
|
|
143
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
144
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
145
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
146
|
+
MTLPixelFormatRGB16Uint API_AVAILABLE(macos(27.0), ios(27.0)) = 97,
|
|
147
|
+
|
|
148
|
+
/// An ordinary format with three components of 16-bit signed integer values in RGB order.
|
|
149
|
+
///
|
|
150
|
+
/// The order of the color components in this format are red, green and blue.
|
|
151
|
+
///
|
|
152
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
153
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
154
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
155
|
+
MTLPixelFormatRGB16Sint API_AVAILABLE(macos(27.0), ios(27.0)) = 98,
|
|
156
|
+
|
|
157
|
+
/// An ordinary format with three components of 16-bit floating-point values in RGB order.
|
|
158
|
+
///
|
|
159
|
+
/// The order of the color components in this format are red, green and blue.
|
|
160
|
+
///
|
|
161
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
162
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
163
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
164
|
+
MTLPixelFormatRGB16Float API_AVAILABLE(macos(27.0), ios(27.0)) = 99,
|
|
165
|
+
|
|
166
|
+
/* Normal 64 bit formats */
|
|
167
|
+
|
|
168
|
+
MTLPixelFormatRG32Uint = 103,
|
|
169
|
+
MTLPixelFormatRG32Sint = 104,
|
|
170
|
+
MTLPixelFormatRG32Float = 105,
|
|
171
|
+
|
|
172
|
+
MTLPixelFormatRGBA16Unorm = 110,
|
|
173
|
+
MTLPixelFormatRGBA16Snorm = 112,
|
|
174
|
+
MTLPixelFormatRGBA16Uint = 113,
|
|
175
|
+
MTLPixelFormatRGBA16Sint = 114,
|
|
176
|
+
MTLPixelFormatRGBA16Float = 115,
|
|
177
|
+
|
|
178
|
+
MTLPixelFormatBGRA10_XR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(10.0)) = 552,
|
|
179
|
+
MTLPixelFormatBGRA10_XR_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(10.0)) = 553,
|
|
180
|
+
|
|
181
|
+
/* Normal 96 bit formats */
|
|
182
|
+
|
|
183
|
+
/// An ordinary format with three components of 32-bit unsigned integer values in RGB order.
|
|
184
|
+
///
|
|
185
|
+
/// The order of the color components in this format are red, green and blue.
|
|
186
|
+
///
|
|
187
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
188
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
189
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
190
|
+
MTLPixelFormatRGB32Uint API_AVAILABLE(macos(27.0), ios(27.0)) = 120,
|
|
191
|
+
|
|
192
|
+
/// An ordinary format with three components of 32-bit signed integer values in RGB order.
|
|
193
|
+
///
|
|
194
|
+
/// The order of the color components in this format are red, green and blue.
|
|
195
|
+
///
|
|
196
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
197
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
198
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
199
|
+
MTLPixelFormatRGB32Sint API_AVAILABLE(macos(27.0), ios(27.0)) = 121,
|
|
200
|
+
|
|
201
|
+
/// An ordinary format with three components of 32-bit floating-point values in RGB order.
|
|
202
|
+
///
|
|
203
|
+
/// The order of the color components in this format are red, green and blue.
|
|
204
|
+
///
|
|
205
|
+
/// You can apply this format to a texture you create only with an ``MTLTextureDescriptor`` instance with all of the following property configurations:
|
|
206
|
+
/// * The ``MTLTextureDescriptor/usage`` property can't include the ``MTLTextureUsage/MTLTextureUsageShaderWrite`` option.
|
|
207
|
+
/// * The ``MTLTextureDescriptor/textureType`` property needs to be equal to ``MTLTextureType/MTLTextureTypeTextureBuffer``.
|
|
208
|
+
MTLPixelFormatRGB32Float API_AVAILABLE(macos(27.0), ios(27.0)) = 122,
|
|
209
|
+
|
|
210
|
+
/* Normal 128 bit formats */
|
|
211
|
+
|
|
212
|
+
MTLPixelFormatRGBA32Uint = 123,
|
|
213
|
+
MTLPixelFormatRGBA32Sint = 124,
|
|
214
|
+
MTLPixelFormatRGBA32Float = 125,
|
|
215
|
+
|
|
216
|
+
/* Compressed formats. */
|
|
217
|
+
|
|
218
|
+
/* S3TC/DXT */
|
|
219
|
+
MTLPixelFormatBC1_RGBA API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 130,
|
|
220
|
+
MTLPixelFormatBC1_RGBA_sRGB API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 131,
|
|
221
|
+
MTLPixelFormatBC2_RGBA API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 132,
|
|
222
|
+
MTLPixelFormatBC2_RGBA_sRGB API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 133,
|
|
223
|
+
MTLPixelFormatBC3_RGBA API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 134,
|
|
224
|
+
MTLPixelFormatBC3_RGBA_sRGB API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 135,
|
|
225
|
+
|
|
226
|
+
/* RGTC */
|
|
227
|
+
MTLPixelFormatBC4_RUnorm API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 140,
|
|
228
|
+
MTLPixelFormatBC4_RSnorm API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 141,
|
|
229
|
+
MTLPixelFormatBC5_RGUnorm API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 142,
|
|
230
|
+
MTLPixelFormatBC5_RGSnorm API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 143,
|
|
231
|
+
|
|
232
|
+
/* BPTC */
|
|
233
|
+
MTLPixelFormatBC6H_RGBFloat API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 150,
|
|
234
|
+
MTLPixelFormatBC6H_RGBUfloat API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 151,
|
|
235
|
+
MTLPixelFormatBC7_RGBAUnorm API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 152,
|
|
236
|
+
MTLPixelFormatBC7_RGBAUnorm_sRGB API_AVAILABLE(macos(10.11), macCatalyst(13.0), ios(16.4)) = 153,
|
|
237
|
+
|
|
238
|
+
/* PVRTC */
|
|
239
|
+
MTLPixelFormatPVRTC_RGB_2BPP API_DEPRECATED("Usage of ASTC/ETC2/BC formats is recommended instead.", macos(11.0,15.0), macCatalyst(14.0,18.0), ios(8.0,18.0)) = 160,
|
|
240
|
+
MTLPixelFormatPVRTC_RGB_2BPP_sRGB API_DEPRECATED("Usage of ASTC/ETC2/BC formats is recommended instead.", macos(11.0,15.0), macCatalyst(14.0,18.0), ios(8.0,18.0)) = 161,
|
|
241
|
+
MTLPixelFormatPVRTC_RGB_4BPP API_DEPRECATED("Usage of ASTC/ETC2/BC formats is recommended instead.", macos(11.0,15.0), macCatalyst(14.0,18.0), ios(8.0,18.0)) = 162,
|
|
242
|
+
MTLPixelFormatPVRTC_RGB_4BPP_sRGB API_DEPRECATED("Usage of ASTC/ETC2/BC formats is recommended instead.", macos(11.0,15.0), macCatalyst(14.0,18.0), ios(8.0,18.0)) = 163,
|
|
243
|
+
MTLPixelFormatPVRTC_RGBA_2BPP API_DEPRECATED("Usage of ASTC/ETC2/BC formats is recommended instead.", macos(11.0,15.0), macCatalyst(14.0,18.0), ios(8.0,18.0)) = 164,
|
|
244
|
+
MTLPixelFormatPVRTC_RGBA_2BPP_sRGB API_DEPRECATED("Usage of ASTC/ETC2/BC formats is recommended instead.", macos(11.0,15.0), macCatalyst(14.0,18.0), ios(8.0,18.0)) = 165,
|
|
245
|
+
MTLPixelFormatPVRTC_RGBA_4BPP API_DEPRECATED("Usage of ASTC/ETC2/BC formats is recommended instead.", macos(11.0,15.0), macCatalyst(14.0,18.0), ios(8.0,18.0)) = 166,
|
|
246
|
+
MTLPixelFormatPVRTC_RGBA_4BPP_sRGB API_DEPRECATED("Usage of ASTC/ETC2/BC formats is recommended instead.", macos(11.0,15.0), macCatalyst(14.0,18.0), ios(8.0,18.0)) = 167,
|
|
247
|
+
|
|
248
|
+
/* ETC2 */
|
|
249
|
+
MTLPixelFormatEAC_R11Unorm API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 170,
|
|
250
|
+
MTLPixelFormatEAC_R11Snorm API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 172,
|
|
251
|
+
MTLPixelFormatEAC_RG11Unorm API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 174,
|
|
252
|
+
MTLPixelFormatEAC_RG11Snorm API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 176,
|
|
253
|
+
MTLPixelFormatEAC_RGBA8 API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 178,
|
|
254
|
+
MTLPixelFormatEAC_RGBA8_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 179,
|
|
255
|
+
|
|
256
|
+
MTLPixelFormatETC2_RGB8 API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 180,
|
|
257
|
+
MTLPixelFormatETC2_RGB8_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 181,
|
|
258
|
+
MTLPixelFormatETC2_RGB8A1 API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 182,
|
|
259
|
+
MTLPixelFormatETC2_RGB8A1_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 183,
|
|
260
|
+
|
|
261
|
+
/* ASTC */
|
|
262
|
+
MTLPixelFormatASTC_4x4_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 186,
|
|
263
|
+
MTLPixelFormatASTC_5x4_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 187,
|
|
264
|
+
MTLPixelFormatASTC_5x5_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 188,
|
|
265
|
+
MTLPixelFormatASTC_6x5_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 189,
|
|
266
|
+
MTLPixelFormatASTC_6x6_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 190,
|
|
267
|
+
MTLPixelFormatASTC_8x5_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 192,
|
|
268
|
+
MTLPixelFormatASTC_8x6_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 193,
|
|
269
|
+
MTLPixelFormatASTC_8x8_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 194,
|
|
270
|
+
MTLPixelFormatASTC_10x5_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 195,
|
|
271
|
+
MTLPixelFormatASTC_10x6_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 196,
|
|
272
|
+
MTLPixelFormatASTC_10x8_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 197,
|
|
273
|
+
MTLPixelFormatASTC_10x10_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 198,
|
|
274
|
+
MTLPixelFormatASTC_12x10_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 199,
|
|
275
|
+
MTLPixelFormatASTC_12x12_sRGB API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 200,
|
|
276
|
+
|
|
277
|
+
MTLPixelFormatASTC_4x4_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 204,
|
|
278
|
+
MTLPixelFormatASTC_5x4_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 205,
|
|
279
|
+
MTLPixelFormatASTC_5x5_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 206,
|
|
280
|
+
MTLPixelFormatASTC_6x5_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 207,
|
|
281
|
+
MTLPixelFormatASTC_6x6_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 208,
|
|
282
|
+
MTLPixelFormatASTC_8x5_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 210,
|
|
283
|
+
MTLPixelFormatASTC_8x6_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 211,
|
|
284
|
+
MTLPixelFormatASTC_8x8_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 212,
|
|
285
|
+
MTLPixelFormatASTC_10x5_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 213,
|
|
286
|
+
MTLPixelFormatASTC_10x6_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 214,
|
|
287
|
+
MTLPixelFormatASTC_10x8_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 215,
|
|
288
|
+
MTLPixelFormatASTC_10x10_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 216,
|
|
289
|
+
MTLPixelFormatASTC_12x10_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 217,
|
|
290
|
+
MTLPixelFormatASTC_12x12_LDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(8.0)) = 218,
|
|
291
|
+
|
|
292
|
+
// ASTC HDR (High Dynamic Range) Formats
|
|
293
|
+
MTLPixelFormatASTC_4x4_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 222,
|
|
294
|
+
MTLPixelFormatASTC_5x4_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 223,
|
|
295
|
+
MTLPixelFormatASTC_5x5_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 224,
|
|
296
|
+
MTLPixelFormatASTC_6x5_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 225,
|
|
297
|
+
MTLPixelFormatASTC_6x6_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 226,
|
|
298
|
+
MTLPixelFormatASTC_8x5_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 228,
|
|
299
|
+
MTLPixelFormatASTC_8x6_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 229,
|
|
300
|
+
MTLPixelFormatASTC_8x8_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 230,
|
|
301
|
+
MTLPixelFormatASTC_10x5_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 231,
|
|
302
|
+
MTLPixelFormatASTC_10x6_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 232,
|
|
303
|
+
MTLPixelFormatASTC_10x8_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 233,
|
|
304
|
+
MTLPixelFormatASTC_10x10_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 234,
|
|
305
|
+
MTLPixelFormatASTC_12x10_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 235,
|
|
306
|
+
MTLPixelFormatASTC_12x12_HDR API_AVAILABLE(macos(11.0), macCatalyst(14.0), ios(13.0), tvos(16.0)) = 236,
|
|
307
|
+
|
|
308
|
+
/*!
|
|
309
|
+
@constant MTLPixelFormatGBGR422
|
|
310
|
+
@abstract A pixel format where the red and green channels are subsampled horizontally. Two pixels are stored in 32 bits, with shared red and blue values, and unique green values.
|
|
311
|
+
@discussion This format is equivalent to YUY2, YUYV, yuvs, or GL_RGB_422_APPLE/GL_UNSIGNED_SHORT_8_8_REV_APPLE. The component order, from lowest addressed byte to highest, is Y0, Cb, Y1, Cr. There is no implicit colorspace conversion from YUV to RGB, the shader will receive (Cr, Y, Cb, 1). 422 textures must have a width that is a multiple of 2, and can only be used for 2D non-mipmap textures. When sampling, ClampToEdge is the only usable wrap mode.
|
|
312
|
+
*/
|
|
313
|
+
MTLPixelFormatGBGR422 = 240,
|
|
314
|
+
|
|
315
|
+
/*!
|
|
316
|
+
@constant MTLPixelFormatBGRG422
|
|
317
|
+
@abstract A pixel format where the red and green channels are subsampled horizontally. Two pixels are stored in 32 bits, with shared red and blue values, and unique green values.
|
|
318
|
+
@discussion This format is equivalent to UYVY, 2vuy, or GL_RGB_422_APPLE/GL_UNSIGNED_SHORT_8_8_APPLE. The component order, from lowest addressed byte to highest, is Cb, Y0, Cr, Y1. There is no implicit colorspace conversion from YUV to RGB, the shader will receive (Cr, Y, Cb, 1). 422 textures must have a width that is a multiple of 2, and can only be used for 2D non-mipmap textures. When sampling, ClampToEdge is the only usable wrap mode.
|
|
319
|
+
*/
|
|
320
|
+
MTLPixelFormatBGRG422 = 241,
|
|
321
|
+
|
|
322
|
+
/* Depth */
|
|
323
|
+
|
|
324
|
+
MTLPixelFormatDepth16Unorm API_AVAILABLE(macos(10.12), ios(13.0)) = 250,
|
|
325
|
+
MTLPixelFormatDepth32Float = 252,
|
|
326
|
+
|
|
327
|
+
/* Stencil */
|
|
328
|
+
|
|
329
|
+
MTLPixelFormatStencil8 = 253,
|
|
330
|
+
|
|
331
|
+
/* Depth Stencil */
|
|
332
|
+
|
|
333
|
+
MTLPixelFormatDepth24Unorm_Stencil8 API_DEPRECATED("Use MTLPixelFormatDepth32Float_Stencil8 instead", macos(10.11, 27.0), macCatalyst(13.0, 27.0)) API_UNAVAILABLE(ios) = 255,
|
|
334
|
+
MTLPixelFormatDepth32Float_Stencil8 API_AVAILABLE(macos(10.11), ios(9.0)) = 260,
|
|
335
|
+
|
|
336
|
+
MTLPixelFormatX32_Stencil8 API_AVAILABLE(macos(10.12), ios(10.0)) = 261,
|
|
337
|
+
MTLPixelFormatX24_Stencil8 API_DEPRECATED("Use MTLPixelFormatX32_Stencil8 instead", macos(10.12, 27.0), macCatalyst(13.0, 27.0)) API_UNAVAILABLE(ios) = 262,
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
} API_AVAILABLE(macos(10.11), ios(8.0));
|
|
341
|
+
|
|
342
|
+
NS_ASSUME_NONNULL_END
|