peachsim 0.1.2305 → 0.1.2363
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/README.md +5 -0
- package/cli/cdp.ts +81 -0
- package/cli/cloud-box-artifact.ts +6 -1
- package/cli/cloud-client.ts +19 -0
- package/cli/command-registry.ts +1 -0
- package/cli/commands/box/bundle-plane.ts +28 -4
- package/cli/commands/box.ts +13 -8
- package/cli/commands/canvas.ts +752 -0
- package/cli/commands/cleanup.ts +2 -0
- package/cli/commands/control.ts +22 -6
- package/cli/commands/cpu-profile.ts +1 -80
- package/cli/commands/debug.ts +73 -5
- package/cli/commands/flow.ts +1 -1
- package/cli/commands/inspect/actions.ts +3 -1
- package/cli/commands/inspect/core.ts +18 -5
- package/cli/commands/inspect/settling.ts +20 -19
- package/cli/commands/inspect.ts +24 -14
- package/cli/commands/map.ts +31 -8
- package/cli/commands/platform.ts +89 -7
- package/cli/commands/serve.ts +66 -4
- package/cli/commands/shell-url.ts +25 -5
- package/cli/commands/task-trace.ts +234 -0
- package/cli/dev-build-freshness.ts +151 -49
- package/cli/drivers/linux-cocoapods.lock.json +303 -0
- package/cli/drivers/linux-cocoapods.ts +99 -0
- package/cli/drivers/playwright.ts +1 -5
- package/cli/internal-child-contract.ts +1 -0
- package/cli/internal-child.ts +6 -0
- package/cli/main.ts +6 -0
- package/cli/outbound-endpoints.ts +35 -2
- package/cli/output-redaction.ts +1 -1
- package/cli/remote-metro.ts +109 -0
- package/cli/task-trace.ts +166 -0
- package/cli/taskTraceContract.ts +53 -0
- package/cli/ws-bridge.ts +11 -4
- package/detox/gestures.ts +4 -4
- package/detox/index.ts +10 -3
- 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 +15224 -9251
- 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 +2 -2
- package/dist-lib/config.mjs +2 -2
- package/dist-lib/detox/index.cjs +79 -55
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +12523 -7211
- package/dist-lib/expo-swift-metadata.cjs +3 -1
- package/dist-lib/expo-swift-metadata.mjs +3 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +12629 -8646
- package/dist-lib/host/fetch-proxy-handler.cjs +432 -206
- 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 +17 -3
- package/dist-lib/index.cjs +2188 -805
- 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 +14 -12
- 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 +2177 -791
- package/dist-lib/native-app-identity-project.cjs +1372 -336
- package/dist-lib/native-app-identity-project.mjs +1480 -437
- package/dist-lib/native-app-identity.cjs +11 -1
- package/dist-lib/native-app-identity.mjs +11 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.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 +33 -26
- package/dist-lib/public-origins-lib.json +219 -124
- package/dist-lib/react-native-host-modules.cjs +26 -2
- package/dist-lib/react-native-host-modules.mjs +24 -2
- package/dist-lib/reap-browser.cjs +2 -2
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +42 -28
- package/dist-lib/sdk.mjs +42 -28
- package/dist-lib/skills.cjs +14042 -9679
- package/dist-lib/swift-compile.cjs +2066 -1691
- package/dist-lib/swift-compile.mjs +1942 -1566
- package/dist-lib/swift-package.cjs +18 -10
- package/dist-lib/swift-package.mjs +18 -10
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +20 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +5345 -3573
- package/dist-lib/vite.cjs +2891 -2523
- package/dist-lib/worklet-executable.cjs +36 -10
- package/dist-lib/worklet-executable.mjs +36 -10
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/cli-companion.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/android-stretch-effect.d.ts +0 -8
- package/dist-types/packages/peach-engine/src/engine/animated-driven-style.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/animated.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/animation-graph.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/audioContract.d.ts +14 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +7 -4
- package/dist-types/packages/peach-engine/src/engine/core-layout-program.d.ts +19 -0
- package/dist-types/packages/peach-engine/src/engine/core-layout-transition.d.ts +31 -0
- package/dist-types/packages/peach-engine/src/engine/debug-channels.d.ts +86 -0
- package/dist-types/packages/peach-engine/src/engine/fiber-debug-metadata.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/generated/node-kind-contract.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/glass-material.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/engine/host-composite.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +5 -2
- package/dist-types/packages/peach-engine/src/engine/inspect-info.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/layout-animation-owner.d.ts +60 -0
- package/dist-types/packages/peach-engine/src/engine/liquid-glass-rect.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +8 -8
- package/dist-types/packages/peach-engine/src/engine/lottie-runtime.d.ts +4 -6
- package/dist-types/packages/peach-engine/src/engine/lottie-types.d.ts +14 -28
- package/dist-types/packages/peach-engine/src/engine/native-animation-driver.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/native-animation-graph.d.ts +8 -10
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/engine/native-node-drive.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/native-node-geometry.d.ts +34 -0
- package/dist-types/packages/peach-engine/src/engine/native-node-record.d.ts +62 -0
- package/dist-types/packages/peach-engine/src/engine/native-node-style-input.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/engine/native-paint.d.ts +95 -0
- package/dist-types/packages/peach-engine/src/engine/{scroll-range.d.ts → native-scroll-geometry.d.ts} +5 -0
- package/dist-types/packages/peach-engine/src/engine/{scroll-platform.d.ts → native-scroll-personality.d.ts} +58 -72
- package/dist-types/packages/peach-engine/src/engine/native-scroll-tracker.d.ts +40 -0
- package/dist-types/packages/peach-engine/src/engine/native-style-store.d.ts +161 -0
- package/dist-types/packages/peach-engine/src/engine/native-text-style.d.ts +56 -0
- package/dist-types/packages/peach-engine/src/engine/native-trace.d.ts +18 -0
- package/dist-types/packages/peach-engine/src/engine/nativePaintContract.d.ts +68 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +53 -112
- package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/portals.d.ts +20 -0
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/rn-spring.d.ts +2 -9
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +201 -66
- package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +10 -3
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +5 -11
- package/dist-types/packages/peach-engine/src/engine/shell-owned-values.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/engine/style-schema.d.ts +296 -0
- package/dist-types/packages/peach-engine/src/engine/text-line-break.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/text-metric-policy.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/text-nested.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/text-paint-receipt.d.ts +2 -3
- package/dist-types/packages/peach-engine/src/engine/text-paint.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +18 -26
- package/dist-types/packages/peach-engine/src/engine/visible-frame.d.ts +1 -2
- package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +4 -2
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +40 -2
- package/dist-types/packages/peach-engine/src/ios/aux-home-scene.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/kernel/kernel.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/observability/types.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/permissions/system-permission-types.d.ts +2 -3
- package/dist-types/packages/peach-engine/src/platform/android-back-panel.d.ts +15 -55
- package/dist-types/packages/peach-engine/src/platform/personality.d.ts +110 -48
- package/dist-types/packages/peach-engine/src/react-native/gesture-touch-metadata.d.ts +14 -0
- package/dist-types/packages/peach-engine/src/react-native/layout-animation.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/client-config.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +9 -3
- package/dist-types/packages/peach-engine/src/render-worker/accessibilityHostContract.d.ts +65 -0
- package/dist-types/packages/peach-engine/src/render-worker/aux-surface-types.d.ts +33 -1
- package/dist-types/packages/peach-engine/src/render-worker/canvaskit-worker-init.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-content-readyContract.d.ts +10 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +5 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +81 -9
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-claims.d.ts +116 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-fields.d.ts +57 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/layer-tree.d.ts +100 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-frame-layers.d.ts +42 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-layers.d.ts +49 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/render-tree.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/transition-program.d.ts +65 -0
- package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +17 -7
- package/dist-types/packages/peach-engine/src/render-worker/gesture-seam-protocol.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/render-worker/graph-linked-value.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +32 -2
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +35 -3
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +27 -3
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +4 -3
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +14 -12
- package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +23 -3
- package/dist-types/packages/peach-engine/src/render-worker/test-bridge-protocol.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/render-worker/text-inputContract.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +9 -0
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-frame-transaction.d.ts +7 -2
- package/dist-types/packages/peach-engine/src/render-worker/webview-capture-protocol.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +4 -6
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +8 -13
- package/dist-types/packages/peach-engine/src/render-worker/worklet-wire.d.ts +9 -24
- package/dist-types/packages/peach-engine/src/settings/device-spec-bus.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/electronBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/globalsContract.d.ts +33 -1
- package/dist-types/packages/peach-globals/src/imagePickerBridgeContract.d.ts +0 -1
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +7 -0
- package/dist-types/packages/peach-globals/src/nativeSurfaceContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/performanceBridgeContract.d.ts +3 -1
- package/dist-types/packages/peach-globals/src/secure-item-store.d.ts +2 -1
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +11 -0
- package/dist-types/packages/peach-globals/src/timelineBridgeContract.d.ts +2 -1
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +65 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +24 -1
- package/dist-types/packages/peach-kit/src/internal.d.ts +2 -1
- package/dist-types/packages/peach-kit/src/runtime.d.ts +2 -2
- package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +29 -4
- package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ui/{popover-placement.d.ts → native-popover.d.ts} +13 -8
- package/dist-types/packages/peach-kit/src/ui/native-tab-selection.d.ts +39 -0
- package/dist-types/packages/peach-kit/src/ui/presentationContract.d.ts +21 -0
- package/dist-types/packages/peach-kit/src/ui/swift-layout-contract.d.ts +33 -0
- package/java-platform/licenses/android.txt +4 -0
- package/java-platform/licenses/jzlib.txt +28 -0
- package/java-platform/licenses/openjdk.txt +11 -2
- package/kotlin/README.md +5 -2
- package/kotlin/fork/NOTICE +7 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/kotlin/toolchain.json +9 -9
- package/node-runtime.d.json.ts +4 -0
- package/node-runtime.json +1 -0
- package/package.json +4 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h +109 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABGroup.h +41 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABMultiValue.h +56 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABPerson.h +208 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABRecord.h +60 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/ABSource.h +49 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/AddressBook.h +53 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Headers/AddressBookDefines.h +24 -0
- package/sdk/ios/System/Library/Frameworks/AddressBook.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Modules/module.modulemap +13 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/CoreML.apinotes +95 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/CoreML.h +90 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLAllComputeDevices.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLArrayBatchProvider.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLBatchProvider.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCPUComputeDevice.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputeDeviceProtocol.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlan.h +106 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlanCost.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLComputePlanDeviceUsage.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCustomLayer.h +79 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLCustomModel.h +53 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLDictionaryConstraint.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLDictionaryFeatureProvider.h +39 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLExport.h +13 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureDescription.h +66 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h +27 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureType.h +44 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureValue+MLImageConversion.h +96 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureValue.h +92 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLGPUComputeDevice.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageConstraint.h +40 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSize.h +22 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSizeConstraint.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLImageSizeConstraintType.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLKey.h +35 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMetricKey.h +37 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLComputeDevice.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLModelCompilation.h +62 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel+MLState.h +106 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModel.h +130 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelAsset.h +121 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollection.h +70 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelCollectionEntry.h +72 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelConfiguration.h +97 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelDescription.h +83 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelError.h +114 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelMetadataKeys.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructure.h +70 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetwork.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureNeuralNetworkLayer.h +35 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructurePipeline.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgram.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramArgument.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBinding.h +36 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramBlock.h +36 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramFunction.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramNamedValueType.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramOperation.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValue.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLModelStructureProgramValueType.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArray.h +316 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayConstraint.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayShapeConstraint.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLMultiArrayShapeConstraintType.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLNeuralEngineComputeDevice.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLNumericConstraint.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLOptimizationHints.h +45 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLParameterDescription.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLParameterKey.h +85 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLPredictionOptions.h +94 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLReshapeFrequencyHint.h +18 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSequence.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSequenceConstraint.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLSpecializationStrategy.h +17 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLState.h +64 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLStateConstraint.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLTask.h +56 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateContext.h +41 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateProgressEvent.h +25 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateProgressHandlers.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLUpdateTask.h +62 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Headers/MLWritable.h +22 -0
- package/sdk/ios/System/Library/Frameworks/CoreML.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBuffer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBufferCache.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h +2 -2
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h +4 -4
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKBaseEffect.h +159 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectProperty.h +46 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyFog.h +58 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyLight.h +83 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyMaterial.h +36 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyTexture.h +62 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffectPropertyTransform.h +45 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKEffects.h +21 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMath.h +19 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMathTypes.h +167 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMathUtils.h +48 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrix3.h +535 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrix4.h +1012 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKMatrixStack.h +130 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKModel.h +227 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKNamedEffect.h +14 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKQuaternion.h +340 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKReflectionMapEffect.h +143 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKSkyboxEffect.h +117 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKTextureLoader.h +357 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector2.h +483 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector3.h +307 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKVector4.h +587 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKView.h +129 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKViewController.h +102 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKit.apinotes +5 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKit.h +21 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Headers/GLKitBase.h +30 -0
- package/sdk/ios/System/Library/Frameworks/GLKit.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddCarKeyPassConfiguration.h +35 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h +134 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassButton.h +48 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h +56 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassRequest.h +88 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h +68 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h +55 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassViewController.h +56 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h +134 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h +57 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h +31 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKBarcodeEventMetadataRequest.h +76 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h +124 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKContact.h +43 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDateComponentsRange.h +35 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h +60 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentSummaryItem.h +30 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h +94 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h +22 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKError.h +95 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityAuthorizationController.h +52 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityButton.h +68 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h +33 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h +83 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h +130 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h +54 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityIntentToStore.h +40 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityRequest.h +47 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h +28 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionAuthorizationProviding.h +31 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionHandler.h +41 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPassEntry.h +34 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionPaymentPassEntry.h +37 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKIssuerProvisioningExtensionStatus.h +33 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKLabeledValue.h +28 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKObject.h +23 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h +63 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h +170 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPassRelevantDate.h +30 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPass_Types.h +25 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterValidator.h +44 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterView.h +72 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h +64 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h +208 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h +108 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h +147 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h +55 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentInformationEventExtension.h +41 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMerchantSession.h +29 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentMethod.h +59 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentPass.h +37 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h +255 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h +171 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentSummaryItem.h +50 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentToken.h +49 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentTokenContext.h +59 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h +60 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentSummaryItem.h +39 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKSecureElementPass.h +52 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKShareSecureElementPassViewController.h +81 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKShippingMethod.h +42 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassBalance.h +37 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKStoredValuePassProperties.h +36 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKSuicaPassProperties.h +43 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKTransitPassProperties.h +34 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PKVehicleConnectionSession.h +71 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PassKit.apinotes +68 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h +187 -0
- package/sdk/ios/System/Library/Frameworks/PassKit.framework/Modules/module.modulemap +8 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h +8 -8
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h +48 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +2 -2
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h +25 -12
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/React.framework/Headers/React.h +1 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Modules/module.modulemap +23 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAdaptiveImageGlyph.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +1 -231
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h +1 -375
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +1 -545
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h +1 -82
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSText.h +1 -74
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h +1 -210
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutFragment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutManager.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLineFragment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextList.h +1 -194
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextListElement.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextRange.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelection.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelectionNavigation.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h +1 -196
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextTable.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportLayoutController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportRenderingSurface.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +0 -87
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h +3 -6
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIArrangementViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundExtensionView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBandSelectionInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelection.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionMultiDate.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionSingleDate.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionWeekOfYear.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICanvasFeedbackGenerator.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h +11 -11
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h +15 -15
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewListCell.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewUpdateItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorPickerViewController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorWell.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIConversationContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentProperties.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttribution.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttributionView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h +1 -86
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h +1 -198
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHinge.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHingeInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputSuggestion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKey.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKeyboardLayoutGuide.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h +1 -48
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILetterformAwareAdjusting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMailConversationContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMainMenuSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuDisplayPreferences.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuLeaf.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMessageConversationContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h +3 -6
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControlProgress.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPhotoSearchSuggestion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerAccessory.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerInteraction.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerLockState.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerRegion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerStyle.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationControllerSourceItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintServiceExtension.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessory.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessoryRegistration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneClosureConfirmation.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSizeRestrictions.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSystemProtectionManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneWindowingBehaviors.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScribbleInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollEdgeElementContainerInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchSuggestion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISmartReplySuggestion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStandardTextCursorView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISymbolContentTransition.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarControllerSidebar.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabSidebarItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h +13 -13
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorDropPositionAnimator.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h +12 -12
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSearching.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionDisplayInteraction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionHighlightView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolTipInteraction.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITrackingLayoutGuide.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateActionPhase.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateLink.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h +5 -5
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h +6 -6
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h +4 -4
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewReservedRegion.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneActivationAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneDragInteraction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesIOS.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSAttributedString.h +231 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSLayoutManager.h +375 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSParagraphStyle.h +545 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSStringDrawing.h +82 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSText.h +74 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextContainer.h +210 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextList.h +194 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/NSTextStorage.h +196 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIFont.h +86 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIFontDescriptor.h +198 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitDefines.h +48 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitText.h +11 -11
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Modules/module.modulemap +11 -11
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIAccessibilityTraits.h +91 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.apinotes +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +1 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTBase.h +48 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h +1686 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionSession.h +509 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionProperties.h +548 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTDecompressionSession.h +577 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTErrors.h +144 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor.h +134 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorConfiguration.h +68 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorErrors.h +60 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorFrame.h +82 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessorParameters.h +48 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_FrameRateConversion.h +207 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_LowLatencyFrameInterpolation.h +171 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_LowLatencySuperResolutionScaler.h +143 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_MotionBlur.h +207 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_OpticalFlow.h +172 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_SuperResolutionScaler.h +245 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameProcessor_TemporalNoiseFilter.h +161 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTFrameSilo.h +177 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTHDRPerFrameMetadataGenerationSession.h +116 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMotionEstimationSession.h +176 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMotionEstimationSessionProperties.h +76 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTMultiPassStorage.h +96 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationProperties.h +75 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationSession.h +111 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferProperties.h +231 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferSession.h +123 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTSession.h +151 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h +146 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VTVideoEncoderList.h +74 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.apinotes +197 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.h +41 -0
- package/sdk/ios/System/Library/Frameworks/VideoToolbox.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNCalculateImageAestheticsScoresRequest.h +32 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNClassifyImageRequest.h +69 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNCoreMLRequest.h +93 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDefines.h +24 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectAnimalBodyPoseRequest.h +49 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h +85 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectContoursRequest.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectDocumentSegmentationRequest.h +33 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceCaptureQualityRequest.h +46 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceLandmarksRequest.h +61 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceRectanglesRequest.h +47 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHorizonRequest.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPose3DRequest.h +67 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h +194 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanHandPoseRequest.h +200 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanRectanglesRequest.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectRectanglesRequest.h +66 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectTextRectanglesRequest.h +40 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectTrajectoriesRequest.h +71 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNDetectedPoint.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNError.h +42 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNFaceLandmarks.h +188 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNFaceObservationAccepting.h +32 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateAttentionBasedSaliencyImageRequest.h +42 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateForegroundInstanceMaskRequest.h +34 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateImageFeaturePrintRequest.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateObjectnessBasedSaliencyImageRequest.h +41 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGenerateOpticalFlowRequest.h +89 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonInstanceMaskRequest.h +34 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h +67 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeometry.h +323 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNGeometryUtils.h +95 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNHumanBodyRecognizedPoint3D.h +26 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNImageRegistrationRequest.h +67 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h +994 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeAnimalsRequest.h +61 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h +109 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRecognizedPoint3D.h +34 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h +197 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequestHandler.h +419 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNRequestRevisionProviding.h +26 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNStatefulRequest.h +49 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTargetedImageRequest.h +302 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackHomographicImageRegistrationRequest.h +46 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackObjectRequest.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackOpticalFlowRequest.h +106 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackRectangleRequest.h +56 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackTranslationalImageRegistrationRequest.h +45 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTrackingRequest.h +72 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h +201 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h +198 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/VNVideoProcessor.h +133 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/Vision.apinotes +130 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Headers/Vision.h +67 -0
- package/sdk/ios/System/Library/Frameworks/Vision.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/usr/include/AssertMacros.h +1463 -0
- package/sdk/ios/usr/include/_modules/_os_lock.h +33 -0
- package/sdk/ios/usr/include/libkern/OSCacheControl.h +66 -0
- package/sdk/ios/usr/include/os.modulemap +1 -1
- package/sdk/ios/usr/include/pthread/pthread_spis.h +105 -0
- package/sdk/ios/usr/include/pthread_spis.h +105 -0
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/sdk/ios/wasm/include/pthread/sched.h +3 -0
- package/sdk/ios/wasm/include/pthread.h +7 -0
- package/sdk/ios/wasm/include/sched.h +9 -0
- package/sdk/ios/wasm/include/sys/mman.h +2 -2
- package/sdk/ios/wasm/include/sys/poll.h +3 -0
- package/sdk/ios/wasm/include/tgmath.h +5 -0
- package/sdk/ios/wasm/include/unistd.h +5 -1
- package/skills/contrast/SKILL.md +1 -0
- package/skills/peach-debug/SKILL.md +43 -1
- package/skills/peach-debug/references/events.md +14 -1
- package/src/android-autolinking.ts +5 -18
- package/src/answeredNativePackages.ts +24 -5
- package/src/app-config.ts +12 -1
- package/src/assetCatalogContract.ts +3 -39
- package/src/autolinker-process.ts +82 -0
- package/src/bazel-project.ts +1133 -0
- package/src/bridge-contract.ts +3 -0
- package/src/case-insensitive-header-overlay.ts +99 -0
- package/src/config.ts +5 -0
- package/src/device-catalog.ts +9 -0
- package/src/expo-autolinking.ts +12 -15
- package/src/expo-native-prebuilt.ts +28 -5
- package/src/expo-native-workspace.ts +91 -23
- package/src/expo-swift-host.ts +190 -57
- package/src/expo-swift-ready.ts +8 -0
- package/src/expo-workspace-exclusion.ts +96 -27
- package/src/flow-graph-layout.ts +166 -0
- package/src/git-repo-env.ts +7 -0
- package/src/host/app-package-handler.ts +5 -0
- package/src/host/bridge-host.ts +3 -1
- package/src/host/hostname-resolver.ts +55 -2
- package/src/host/staged-host-files.ts +17 -1
- package/src/host/websocket-proxy.ts +19 -2
- package/src/java-static-imports.ts +68 -0
- package/src/kotlin-jvm-sources.ts +35 -0
- package/src/kotlinSdkContract.ts +3 -1
- package/src/launchMetadataContract.ts +8 -0
- package/src/metro-hot-update.ts +68 -0
- package/src/native-app-identity-project.ts +35 -7
- package/src/native-app-identity.ts +32 -0
- package/src/native-package-slice-build.ts +35 -9
- package/src/native-package-slice.ts +10 -4
- package/src/native-slices.ts +1 -1
- package/src/native-static-libraries.ts +51 -23
- package/src/nitro-adapter.lock.json +265 -265
- package/src/nitro-app-providers.ts +28 -0
- package/src/nitro-bundle.ts +4 -41
- package/src/nitro-compile.ts +450 -76
- package/src/nitro-source.ts +585 -114
- package/src/nitro-superset.lock.json +4 -4
- package/src/node-runtime.ts +27 -0
- package/src/nodeRuntimeContract.ts +5 -0
- package/src/one-sdk-bundle.ts +15 -3
- package/src/one-sdk-preparation.ts +69 -9
- package/src/oneSdkContract.ts +13 -2
- package/src/podspec-sources.ts +376 -1814
- package/src/portable-expo-contract.ts +7 -2
- package/src/portable-expo-workspace.ts +7 -2
- package/src/process-group.ts +13 -0
- package/src/react-bridge-importers.ts +1 -0
- package/src/react-native-autolinking.ts +13 -43
- package/src/react-native-bridge-modules.ts +3 -3
- package/src/react-native-core-build.ts +6 -0
- package/src/react-native-host-modules.ts +37 -3
- package/src/reap-browser.ts +1 -0
- package/src/sfSymbolMetricsContract.ts +0 -53
- package/src/sim-client.ts +8 -2
- package/src/storekit-test-store.ts +49 -0
- package/src/stub-pattern-matcher.ts +4 -26
- package/src/swift-compile-budget.ts +42 -0
- package/src/swift-compile.ts +780 -658
- package/src/swift-compiler-digest.ts +2 -0
- package/src/swift-cxx-reachable.ts +20 -21
- package/src/swift-distribution.lock.json +18 -12
- package/src/swift-guest-compile.ts +38 -21
- package/src/swift-guest-image-ledger.ts +28 -19
- package/src/swift-guest-source-inputs.ts +5 -1
- package/src/swift-host.ts +90 -23
- package/src/swift-objc-compile.ts +117 -29
- package/src/swift-objc-standin.ts +12 -1
- package/src/swift-package-manifest.ts +18 -1
- package/src/swift-package.ts +26 -8
- package/src/swift-packages.ts +66 -27
- package/src/swift-resource-class-names.ts +44 -0
- package/src/swift-root-lock.ts +50 -15
- package/src/swift-shared-sdk.ts +2 -4
- package/src/swift-source-file.ts +6 -0
- package/src/swift-standin-emit.ts +10 -0
- package/src/swift-standins.ts +351 -66
- package/src/swift-submit.ts +6 -1
- package/src/swift-toolchain.ts +19 -0
- package/src/swift-wasm-prune.ts +15 -8
- package/src/swiftContract.ts +4 -5
- package/src/turbo-bundle.ts +1 -1
- package/src/turbo-codegen-intake.ts +8 -5
- package/src/turbo-compile.ts +2 -1
- package/src/turbo-runtime.lock.json +24 -24
- package/src/turbo-source.ts +2162 -280
- package/src/vite-plugin-swift.ts +3 -2
- package/src/wasm-optimize.ts +14 -10
- package/src/worker-system-chunks.ts +31 -3
- package/src/worklet-kernel.ts +56 -9
- package/src/worklets-babel.ts +8 -1
- package/src/xcode-header-search.ts +9 -0
- package/src/xcode-project.ts +82 -6
- package/dist-types/packages/peach-engine/src/engine/ios-fast-scroll.d.ts +0 -16
- package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +0 -12
- package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +0 -15
- /package/dist-types/packages/{peach-engine → peach-compat}/src/react-bridge.d.ts +0 -0
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GLKQuaternion.h
|
|
3
|
+
// GLKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2011-2012, Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#ifndef __GLK_QUATERNION_H
|
|
9
|
+
#define __GLK_QUATERNION_H
|
|
10
|
+
|
|
11
|
+
#include <stddef.h>
|
|
12
|
+
#include <math.h>
|
|
13
|
+
|
|
14
|
+
#include <GLKit/GLKMathTypes.h>
|
|
15
|
+
|
|
16
|
+
#include <GLKit/GLKVector3.h>
|
|
17
|
+
#include <GLKit/GLKVector4.h>
|
|
18
|
+
|
|
19
|
+
#ifdef __cplusplus
|
|
20
|
+
extern "C" {
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
#pragma mark -
|
|
24
|
+
#pragma mark Prototypes
|
|
25
|
+
#pragma mark -
|
|
26
|
+
|
|
27
|
+
extern const GLKQuaternion GLKQuaternionIdentity;
|
|
28
|
+
|
|
29
|
+
/*
|
|
30
|
+
x, y, and z represent the imaginary values.
|
|
31
|
+
*/
|
|
32
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMake(float x, float y, float z, float w);
|
|
33
|
+
|
|
34
|
+
/*
|
|
35
|
+
vector represents the imaginary values.
|
|
36
|
+
*/
|
|
37
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMakeWithVector3(GLKVector3 vector, float scalar);
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
values[0], values[1], and values[2] represent the imaginary values.
|
|
41
|
+
*/
|
|
42
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMakeWithArray(float values[4]);
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
Assumes the axis is already normalized.
|
|
46
|
+
*/
|
|
47
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMakeWithAngleAndAxis(float radians, float x, float y, float z);
|
|
48
|
+
/*
|
|
49
|
+
Assumes the axis is already normalized.
|
|
50
|
+
*/
|
|
51
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMakeWithAngleAndVector3Axis(float radians, GLKVector3 axisVector);
|
|
52
|
+
|
|
53
|
+
GLKQuaternion GLKQuaternionMakeWithMatrix3(GLKMatrix3 matrix);
|
|
54
|
+
GLKQuaternion GLKQuaternionMakeWithMatrix4(GLKMatrix4 matrix);
|
|
55
|
+
|
|
56
|
+
/*
|
|
57
|
+
Calculate and return the angle component of the angle and axis form.
|
|
58
|
+
*/
|
|
59
|
+
float GLKQuaternionAngle(GLKQuaternion quaternion);
|
|
60
|
+
|
|
61
|
+
/*
|
|
62
|
+
Calculate and return the axis component of the angle and axis form.
|
|
63
|
+
*/
|
|
64
|
+
GLKVector3 GLKQuaternionAxis(GLKQuaternion quaternion);
|
|
65
|
+
|
|
66
|
+
GLK_INLINE GLKQuaternion GLKQuaternionAdd(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight);
|
|
67
|
+
GLK_INLINE GLKQuaternion GLKQuaternionSubtract(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight);
|
|
68
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMultiply(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight);
|
|
69
|
+
|
|
70
|
+
GLKQuaternion GLKQuaternionSlerp(GLKQuaternion quaternionStart, GLKQuaternion quaternionEnd, float t);
|
|
71
|
+
|
|
72
|
+
GLK_INLINE float GLKQuaternionLength(GLKQuaternion quaternion);
|
|
73
|
+
|
|
74
|
+
GLK_INLINE GLKQuaternion GLKQuaternionConjugate(GLKQuaternion quaternion);
|
|
75
|
+
GLK_INLINE GLKQuaternion GLKQuaternionInvert(GLKQuaternion quaternion);
|
|
76
|
+
GLK_INLINE GLKQuaternion GLKQuaternionNormalize(GLKQuaternion quaternion);
|
|
77
|
+
|
|
78
|
+
GLK_INLINE GLKVector3 GLKQuaternionRotateVector3(GLKQuaternion quaternion, GLKVector3 vector);
|
|
79
|
+
void GLKQuaternionRotateVector3Array(GLKQuaternion quaternion, GLKVector3 *__nonnull vectors, size_t vectorCount);
|
|
80
|
+
|
|
81
|
+
/*
|
|
82
|
+
The fourth component of the vector is ignored when calculating the rotation.
|
|
83
|
+
*/
|
|
84
|
+
GLK_INLINE GLKVector4 GLKQuaternionRotateVector4(GLKQuaternion quaternion, GLKVector4 vector);
|
|
85
|
+
void GLKQuaternionRotateVector4Array(GLKQuaternion quaternion, GLKVector4 *__nonnull vectors, size_t vectorCount);
|
|
86
|
+
|
|
87
|
+
#pragma mark -
|
|
88
|
+
#pragma mark Implementations
|
|
89
|
+
#pragma mark -
|
|
90
|
+
|
|
91
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMake(float x, float y, float z, float w)
|
|
92
|
+
{
|
|
93
|
+
GLKQuaternion q = {{ x, y, z, w }};
|
|
94
|
+
return q;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMakeWithVector3(GLKVector3 vector, float scalar)
|
|
98
|
+
{
|
|
99
|
+
GLKQuaternion q = {{ vector.v[0], vector.v[1], vector.v[2], scalar }};
|
|
100
|
+
return q;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMakeWithArray(float values[4])
|
|
104
|
+
{
|
|
105
|
+
#if defined(GLK_SSE3_INTRINSICS)
|
|
106
|
+
__m128 v = _mm_load_ps(values);
|
|
107
|
+
return *(GLKQuaternion *)&v;
|
|
108
|
+
#else
|
|
109
|
+
GLKQuaternion q = {{ values[0], values[1], values[2], values[3] }};
|
|
110
|
+
return q;
|
|
111
|
+
#endif
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMakeWithAngleAndAxis(float radians, float x, float y, float z)
|
|
115
|
+
{
|
|
116
|
+
float halfAngle = radians * 0.5f;
|
|
117
|
+
float scale = sinf(halfAngle);
|
|
118
|
+
GLKQuaternion q = {{ scale * x, scale * y, scale * z, cosf(halfAngle) }};
|
|
119
|
+
return q;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMakeWithAngleAndVector3Axis(float radians, GLKVector3 axisVector)
|
|
123
|
+
{
|
|
124
|
+
return GLKQuaternionMakeWithAngleAndAxis(radians, axisVector.v[0], axisVector.v[1], axisVector.v[2]);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
GLK_INLINE GLKQuaternion GLKQuaternionAdd(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight)
|
|
128
|
+
{
|
|
129
|
+
#if defined(__ARM_NEON__)
|
|
130
|
+
float32x4_t v = vaddq_f32(*(float32x4_t *)&quaternionLeft,
|
|
131
|
+
*(float32x4_t *)&quaternionRight);
|
|
132
|
+
return *(GLKQuaternion *)&v;
|
|
133
|
+
#elif defined(GLK_SSE3_INTRINSICS)
|
|
134
|
+
__m128 v = _mm_load_ps(&quaternionLeft.q[0]) + _mm_load_ps(&quaternionRight.q[0]);
|
|
135
|
+
return *(GLKQuaternion *)&v;
|
|
136
|
+
#else
|
|
137
|
+
GLKQuaternion q = {{ quaternionLeft.q[0] + quaternionRight.q[0],
|
|
138
|
+
quaternionLeft.q[1] + quaternionRight.q[1],
|
|
139
|
+
quaternionLeft.q[2] + quaternionRight.q[2],
|
|
140
|
+
quaternionLeft.q[3] + quaternionRight.q[3] }};
|
|
141
|
+
return q;
|
|
142
|
+
#endif
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
GLK_INLINE GLKQuaternion GLKQuaternionSubtract(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight)
|
|
146
|
+
{
|
|
147
|
+
#if defined(__ARM_NEON__)
|
|
148
|
+
float32x4_t v = vsubq_f32(*(float32x4_t *)&quaternionLeft,
|
|
149
|
+
*(float32x4_t *)&quaternionRight);
|
|
150
|
+
return *(GLKQuaternion *)&v;
|
|
151
|
+
#elif defined(GLK_SSE3_INTRINSICS)
|
|
152
|
+
__m128 v = _mm_load_ps(&quaternionLeft.q[0]) - _mm_load_ps(&quaternionRight.q[0]);
|
|
153
|
+
return *(GLKQuaternion *)&v;
|
|
154
|
+
#else
|
|
155
|
+
GLKQuaternion q = {{ quaternionLeft.q[0] - quaternionRight.q[0],
|
|
156
|
+
quaternionLeft.q[1] - quaternionRight.q[1],
|
|
157
|
+
quaternionLeft.q[2] - quaternionRight.q[2],
|
|
158
|
+
quaternionLeft.q[3] - quaternionRight.q[3] }};
|
|
159
|
+
return q;
|
|
160
|
+
#endif
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
GLK_INLINE GLKQuaternion GLKQuaternionMultiply(GLKQuaternion quaternionLeft, GLKQuaternion quaternionRight)
|
|
164
|
+
{
|
|
165
|
+
#if defined(GLK_SSE3_INTRINSICS)
|
|
166
|
+
const __m128 ql = _mm_load_ps(&quaternionLeft.q[0]);
|
|
167
|
+
const __m128 qr = _mm_load_ps(&quaternionRight.q[0]);
|
|
168
|
+
|
|
169
|
+
const __m128 ql3012 = _mm_shuffle_ps(ql, ql, _MM_SHUFFLE(2, 1, 0, 3));
|
|
170
|
+
const __m128 ql3120 = _mm_shuffle_ps(ql, ql, _MM_SHUFFLE(0, 2, 1, 3));
|
|
171
|
+
const __m128 ql3201 = _mm_shuffle_ps(ql, ql, _MM_SHUFFLE(1, 0, 2, 3));
|
|
172
|
+
|
|
173
|
+
const __m128 qr0321 = _mm_shuffle_ps(qr, qr, _MM_SHUFFLE(1, 2, 3, 0));
|
|
174
|
+
const __m128 qr1302 = _mm_shuffle_ps(qr, qr, _MM_SHUFFLE(2, 0, 3, 1));
|
|
175
|
+
const __m128 qr2310 = _mm_shuffle_ps(qr, qr, _MM_SHUFFLE(0, 1, 3, 2));
|
|
176
|
+
const __m128 qr3012 = _mm_shuffle_ps(qr, qr, _MM_SHUFFLE(2, 1, 0, 3));
|
|
177
|
+
|
|
178
|
+
uint32_t signBit = 0x80000000;
|
|
179
|
+
uint32_t zeroBit = 0x0;
|
|
180
|
+
uint32_t __attribute__((aligned(16))) mask0001[4] = {zeroBit, zeroBit, zeroBit, signBit};
|
|
181
|
+
uint32_t __attribute__((aligned(16))) mask0111[4] = {zeroBit, signBit, signBit, signBit};
|
|
182
|
+
const __m128 m0001 = _mm_load_ps((float *)mask0001);
|
|
183
|
+
const __m128 m0111 = _mm_load_ps((float *)mask0111);
|
|
184
|
+
|
|
185
|
+
const __m128 aline = ql3012 * _mm_xor_ps(qr0321, m0001);
|
|
186
|
+
const __m128 bline = ql3120 * _mm_xor_ps(qr1302, m0001);
|
|
187
|
+
const __m128 cline = ql3201 * _mm_xor_ps(qr2310, m0001);
|
|
188
|
+
const __m128 dline = ql3012 * _mm_xor_ps(qr3012, m0111);
|
|
189
|
+
const __m128 r = _mm_hadd_ps(_mm_hadd_ps(aline, bline), _mm_hadd_ps(cline, dline));
|
|
190
|
+
|
|
191
|
+
return *(GLKQuaternion *)&r;
|
|
192
|
+
#else
|
|
193
|
+
|
|
194
|
+
GLKQuaternion q = {{ quaternionLeft.q[3] * quaternionRight.q[0] +
|
|
195
|
+
quaternionLeft.q[0] * quaternionRight.q[3] +
|
|
196
|
+
quaternionLeft.q[1] * quaternionRight.q[2] -
|
|
197
|
+
quaternionLeft.q[2] * quaternionRight.q[1],
|
|
198
|
+
|
|
199
|
+
quaternionLeft.q[3] * quaternionRight.q[1] +
|
|
200
|
+
quaternionLeft.q[1] * quaternionRight.q[3] +
|
|
201
|
+
quaternionLeft.q[2] * quaternionRight.q[0] -
|
|
202
|
+
quaternionLeft.q[0] * quaternionRight.q[2],
|
|
203
|
+
|
|
204
|
+
quaternionLeft.q[3] * quaternionRight.q[2] +
|
|
205
|
+
quaternionLeft.q[2] * quaternionRight.q[3] +
|
|
206
|
+
quaternionLeft.q[0] * quaternionRight.q[1] -
|
|
207
|
+
quaternionLeft.q[1] * quaternionRight.q[0],
|
|
208
|
+
|
|
209
|
+
quaternionLeft.q[3] * quaternionRight.q[3] -
|
|
210
|
+
quaternionLeft.q[0] * quaternionRight.q[0] -
|
|
211
|
+
quaternionLeft.q[1] * quaternionRight.q[1] -
|
|
212
|
+
quaternionLeft.q[2] * quaternionRight.q[2] }};
|
|
213
|
+
return q;
|
|
214
|
+
#endif
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
GLK_INLINE float GLKQuaternionLength(GLKQuaternion quaternion)
|
|
218
|
+
{
|
|
219
|
+
#if defined(__ARM_NEON__)
|
|
220
|
+
float32x4_t v = vmulq_f32(*(float32x4_t *)&quaternion,
|
|
221
|
+
*(float32x4_t *)&quaternion);
|
|
222
|
+
float32x2_t v2 = vpadd_f32(vget_low_f32(v), vget_high_f32(v));
|
|
223
|
+
v2 = vpadd_f32(v2, v2);
|
|
224
|
+
return sqrt(vget_lane_f32(v2, 0));
|
|
225
|
+
#elif defined(GLK_SSE3_INTRINSICS)
|
|
226
|
+
const __m128 q = _mm_load_ps(&quaternion.q[0]);
|
|
227
|
+
const __m128 product = q * q;
|
|
228
|
+
const __m128 halfsum = _mm_hadd_ps(product, product);
|
|
229
|
+
return _mm_cvtss_f32(_mm_sqrt_ss(_mm_hadd_ps(halfsum, halfsum)));
|
|
230
|
+
#else
|
|
231
|
+
return sqrt(quaternion.q[0] * quaternion.q[0] +
|
|
232
|
+
quaternion.q[1] * quaternion.q[1] +
|
|
233
|
+
quaternion.q[2] * quaternion.q[2] +
|
|
234
|
+
quaternion.q[3] * quaternion.q[3]);
|
|
235
|
+
#endif
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
GLK_INLINE GLKQuaternion GLKQuaternionConjugate(GLKQuaternion quaternion)
|
|
239
|
+
{
|
|
240
|
+
#if defined(__ARM_NEON__)
|
|
241
|
+
float32x4_t *q = (float32x4_t *)&quaternion;
|
|
242
|
+
|
|
243
|
+
uint32_t signBit = 0x80000000;
|
|
244
|
+
uint32_t zeroBit = 0x0;
|
|
245
|
+
uint32x4_t mask = vdupq_n_u32(signBit);
|
|
246
|
+
mask = vsetq_lane_u32(zeroBit, mask, 3);
|
|
247
|
+
*q = vreinterpretq_f32_u32(veorq_u32(vreinterpretq_u32_f32(*q), mask));
|
|
248
|
+
|
|
249
|
+
return *(GLKQuaternion *)q;
|
|
250
|
+
#elif defined(GLK_SSE3_INTRINSICS)
|
|
251
|
+
// Multiply first three elements by -1
|
|
252
|
+
const uint32_t signBit = 0x80000000;
|
|
253
|
+
const uint32_t zeroBit = 0x0;
|
|
254
|
+
const uint32_t __attribute__((aligned(16))) mask[4] = {signBit, signBit, signBit, zeroBit};
|
|
255
|
+
__m128 v_mask = _mm_load_ps((float *)mask);
|
|
256
|
+
const __m128 q = _mm_load_ps(&quaternion.q[0]);
|
|
257
|
+
__m128 v = _mm_xor_ps(q, v_mask);
|
|
258
|
+
|
|
259
|
+
return *(GLKQuaternion *)&v;
|
|
260
|
+
#else
|
|
261
|
+
GLKQuaternion q = {{ -quaternion.q[0], -quaternion.q[1], -quaternion.q[2], quaternion.q[3] }};
|
|
262
|
+
return q;
|
|
263
|
+
#endif
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
GLK_INLINE GLKQuaternion GLKQuaternionInvert(GLKQuaternion quaternion)
|
|
267
|
+
{
|
|
268
|
+
#if defined(__ARM_NEON__)
|
|
269
|
+
float32x4_t *q = (float32x4_t *)&quaternion;
|
|
270
|
+
float32x4_t v = vmulq_f32(*q, *q);
|
|
271
|
+
float32x2_t v2 = vpadd_f32(vget_low_f32(v), vget_high_f32(v));
|
|
272
|
+
v2 = vpadd_f32(v2, v2);
|
|
273
|
+
float32_t scale = 1.0f / vget_lane_f32(v2, 0);
|
|
274
|
+
v = vmulq_f32(*q, vdupq_n_f32(scale));
|
|
275
|
+
|
|
276
|
+
uint32_t signBit = 0x80000000;
|
|
277
|
+
uint32_t zeroBit = 0x0;
|
|
278
|
+
uint32x4_t mask = vdupq_n_u32(signBit);
|
|
279
|
+
mask = vsetq_lane_u32(zeroBit, mask, 3);
|
|
280
|
+
v = vreinterpretq_f32_u32(veorq_u32(vreinterpretq_u32_f32(v), mask));
|
|
281
|
+
|
|
282
|
+
return *(GLKQuaternion *)&v;
|
|
283
|
+
#elif defined(GLK_SSE3_INTRINSICS)
|
|
284
|
+
const __m128 q = _mm_load_ps(&quaternion.q[0]);
|
|
285
|
+
const uint32_t signBit = 0x80000000;
|
|
286
|
+
const uint32_t zeroBit = 0x0;
|
|
287
|
+
const uint32_t __attribute__((aligned(16))) mask[4] = {signBit, signBit, signBit, zeroBit};
|
|
288
|
+
const __m128 v_mask = _mm_load_ps((float *)mask);
|
|
289
|
+
const __m128 product = q * q;
|
|
290
|
+
const __m128 halfsum = _mm_hadd_ps(product, product);
|
|
291
|
+
const __m128 v = _mm_xor_ps(q, v_mask) / _mm_hadd_ps(halfsum, halfsum);
|
|
292
|
+
return *(GLKQuaternion *)&v;
|
|
293
|
+
#else
|
|
294
|
+
float scale = 1.0f / (quaternion.q[0] * quaternion.q[0] +
|
|
295
|
+
quaternion.q[1] * quaternion.q[1] +
|
|
296
|
+
quaternion.q[2] * quaternion.q[2] +
|
|
297
|
+
quaternion.q[3] * quaternion.q[3]);
|
|
298
|
+
GLKQuaternion q = {{ -quaternion.q[0] * scale, -quaternion.q[1] * scale, -quaternion.q[2] * scale, quaternion.q[3] * scale }};
|
|
299
|
+
return q;
|
|
300
|
+
#endif
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
GLK_INLINE GLKQuaternion GLKQuaternionNormalize(GLKQuaternion quaternion)
|
|
304
|
+
{
|
|
305
|
+
float scale = 1.0f / GLKQuaternionLength(quaternion);
|
|
306
|
+
#if defined(__ARM_NEON__)
|
|
307
|
+
float32x4_t v = vmulq_f32(*(float32x4_t *)&quaternion,
|
|
308
|
+
vdupq_n_f32((float32_t)scale));
|
|
309
|
+
return *(GLKQuaternion *)&v;
|
|
310
|
+
#elif defined(GLK_SSE3_INTRINSICS)
|
|
311
|
+
const __m128 q = _mm_load_ps(&quaternion.q[0]);
|
|
312
|
+
__m128 v = q * _mm_set1_ps(scale);
|
|
313
|
+
return *(GLKQuaternion *)&v;
|
|
314
|
+
#else
|
|
315
|
+
GLKQuaternion q = {{ quaternion.q[0] * scale, quaternion.q[1] * scale, quaternion.q[2] * scale, quaternion.q[3] * scale }};
|
|
316
|
+
return q;
|
|
317
|
+
#endif
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
GLK_INLINE GLKVector3 GLKQuaternionRotateVector3(GLKQuaternion quaternion, GLKVector3 vector)
|
|
321
|
+
{
|
|
322
|
+
GLKQuaternion rotatedQuaternion = GLKQuaternionMake(vector.v[0], vector.v[1], vector.v[2], 0.0f);
|
|
323
|
+
rotatedQuaternion = GLKQuaternionMultiply(GLKQuaternionMultiply(quaternion, rotatedQuaternion), GLKQuaternionInvert(quaternion));
|
|
324
|
+
|
|
325
|
+
return GLKVector3Make(rotatedQuaternion.q[0], rotatedQuaternion.q[1], rotatedQuaternion.q[2]);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
GLK_INLINE GLKVector4 GLKQuaternionRotateVector4(GLKQuaternion quaternion, GLKVector4 vector)
|
|
329
|
+
{
|
|
330
|
+
GLKQuaternion rotatedQuaternion = GLKQuaternionMake(vector.v[0], vector.v[1], vector.v[2], 0.0f);
|
|
331
|
+
rotatedQuaternion = GLKQuaternionMultiply(GLKQuaternionMultiply(quaternion, rotatedQuaternion), GLKQuaternionInvert(quaternion));
|
|
332
|
+
|
|
333
|
+
return GLKVector4Make(rotatedQuaternion.q[0], rotatedQuaternion.q[1], rotatedQuaternion.q[2], vector.v[3]);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
#ifdef __cplusplus
|
|
337
|
+
}
|
|
338
|
+
#endif
|
|
339
|
+
|
|
340
|
+
#endif /* __GLK_QUATERNION_H */
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GLKReflectionMapEffect.h
|
|
3
|
+
// GLKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2011-2012 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <GLKit/GLKBaseEffect.h>
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
GLKReflectionMapEffect
|
|
12
|
+
|
|
13
|
+
GLKReflectionMapEffect is a subclass of GLKBaseEffect. It is expected that GLKBaseEffect
|
|
14
|
+
functionality will be used in combination with GLKReflectionMapEffect.
|
|
15
|
+
|
|
16
|
+
GLKReflectionMapEffect implements common reflection mapping functionality as is used by many of
|
|
17
|
+
todays games and simulations. A reflection or environment map can be thought of as a texture
|
|
18
|
+
mapped polyhedral or spherical mesh that encloses a 3D model. When the model is rendered
|
|
19
|
+
surface normals from the model are used to calculate reflection vectors which intersect
|
|
20
|
+
the environment map at some location. The environment map texture color at this location
|
|
21
|
+
is used to impart a modulated environment map color on the model giving the appearance that
|
|
22
|
+
the shiny model is reflecting its surroundings to the viewer.
|
|
23
|
+
|
|
24
|
+
The polyhedral shape used for GLKReflectionMapEffect is a cube.
|
|
25
|
+
|
|
26
|
+
Because reflection mapping relies on surface normals to compute the intersection between
|
|
27
|
+
reflected rays and the environment map the GLKVertexAttribNormal array must be enabled
|
|
28
|
+
in order for GLKReflectionMapEffect to work properly. The normals are always normalized.
|
|
29
|
+
|
|
30
|
+
GLKReflectionMapEffect requires at least an OpenGL ES 2.0 context on iOS and an OpenGL Core
|
|
31
|
+
Profile context on OS X. This context must be initialized and made current prior to creating
|
|
32
|
+
or initializing GLKReflectionMapEffect instances. No OpenGL context state settings are
|
|
33
|
+
modified when a GLKReflectionMapEffect instance is created or its properties set. When
|
|
34
|
+
-[GLKReflectionMapEffect prepareToDraw] is called it modifies the following state:
|
|
35
|
+
|
|
36
|
+
GL_CURRENT_PROGRAM
|
|
37
|
+
GL_TEXTURE_BINDING_CUBE_MAP
|
|
38
|
+
|
|
39
|
+
For performance reasons GLKReflectionMapEffect does not restore any of these state settings.
|
|
40
|
+
It is up to the client application to save/restore/set these state elements as they choose.
|
|
41
|
+
|
|
42
|
+
A cube mapped texture name must be provided to GLKReflectionMapEffect to provide it texture
|
|
43
|
+
data for the 6 faces of the environment map.
|
|
44
|
+
|
|
45
|
+
GLKReflectionMapEffect reflection vectors are computed in eye space per section 2.11.4 of the
|
|
46
|
+
OpenGL 2.1 desktop specification for the GL_REFLECTION_MAP texgen mode. Typical reflection
|
|
47
|
+
mapping uses an environment map with a fixed position (e.g. the sky in a real world rendering)
|
|
48
|
+
and will accurately map the reflection map on the model regardless of the modelview transformation.
|
|
49
|
+
To achieve this effect decompose the modelview matrix into its model and view components
|
|
50
|
+
(i.e. the transforms on the object are the model and the transforms on the view are the camera).
|
|
51
|
+
Then undo the viewing transform by inverting the viewing matrix - call this Vinv. Now, starting
|
|
52
|
+
with Vinv, treat it as the canonical normal matrix by applying an inverse transpose to it and
|
|
53
|
+
choosing the upper 3x3 elements of the result. inverseTranspose(Vinv) simplifies to Vtranspose.
|
|
54
|
+
To apply this result to GLKReflectionMapEffect set its matrix property as follows:
|
|
55
|
+
|
|
56
|
+
reflectionMapEffect.matrix = GLKMatrix4GetMatrix3(Vtranspose);
|
|
57
|
+
|
|
58
|
+
to get correct, view-angle independent reflection mapping.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
The following (5) steps are required to use GLKReflectionMapEffect:
|
|
62
|
+
|
|
63
|
+
(1) Allocate and initialize an instance of GLKReflectionMapEffect
|
|
64
|
+
|
|
65
|
+
reflectionMapEffect = [[GLKReflectionMapEffect alloc] init];
|
|
66
|
+
|
|
67
|
+
(2) Initialize vertex attribute / vertex array state preferrably with a vertex array object
|
|
68
|
+
for the model or scene to be drawn.
|
|
69
|
+
|
|
70
|
+
glGenVertexArraysOES(1, &vaoName);
|
|
71
|
+
glBindVertexArrayOES(vaoName);
|
|
72
|
+
|
|
73
|
+
// Create and initialize VBO for each vertex attribute
|
|
74
|
+
// The example below shows an example of setup up the position and normal vertex attributes.
|
|
75
|
+
// Specifying and binding a GLKVertexAttribNormal array attribute is required for GLKReflectionMapEffect
|
|
76
|
+
// to work properly. The normals are always normalized.
|
|
77
|
+
|
|
78
|
+
glGenBuffers(1, &positionVBO);
|
|
79
|
+
glBindBuffer(positionVBO);
|
|
80
|
+
glBufferData(GL_ARRAY_BUFFER, vboSize, dataBufPtr, GL_STATIC_DRAW);
|
|
81
|
+
glVertexAttribPointer(GLKVertexAttribPosition, size, type, normalize, stride, NULL);
|
|
82
|
+
|
|
83
|
+
glGenBuffers(1, &normalVBO);
|
|
84
|
+
glBindBuffer(normalVBO);
|
|
85
|
+
glBufferData(GL_ARRAY_BUFFER, vboSize, dataBufPtr, GL_STATIC_DRAW);
|
|
86
|
+
glVertexAttribPointer(GLKVertexAttribNormal, size, type, normalize, stride, NULL);
|
|
87
|
+
|
|
88
|
+
... repeat the steps above for other desired vertex attributes
|
|
89
|
+
|
|
90
|
+
glBindVertexArrayOES(0); // unbind the VAO we created above
|
|
91
|
+
|
|
92
|
+
(3) Create a cube map texture for the reflection map
|
|
93
|
+
|
|
94
|
+
glGenTextures(1, &textureCubeMap);
|
|
95
|
+
glBindTexture(GL_TEXTURE_CUBE_MAP, textureCubeMap);
|
|
96
|
+
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
|
97
|
+
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
|
98
|
+
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
|
99
|
+
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
|
|
100
|
+
|
|
101
|
+
GLenum cubeMapBase = GL_TEXTURE_CUBE_MAP_POSITIVE_X;
|
|
102
|
+
|
|
103
|
+
for(face = 0; face < 6; face++)
|
|
104
|
+
glTexImage2D(cubeMapBase + face, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, faceData[face]);
|
|
105
|
+
|
|
106
|
+
(4) Set the textureCubeMap property to our new GL cube map and turn on reflection mapping
|
|
107
|
+
|
|
108
|
+
reflectionMapEffect.enable = GL_TRUE;
|
|
109
|
+
reflectionMapEffect.textureCubeMap = textureCubeMap; // created in step (2) above
|
|
110
|
+
|
|
111
|
+
(5) For each frame drawn: Update properties that change per frame. Synchronize the changed effect state
|
|
112
|
+
by calling -[GLKReflectionMapEffect prepareToDraw]. Draw the model with the effect
|
|
113
|
+
|
|
114
|
+
reflectionMapEffect.transform.modelviewMatrix = modelviewMatrix;
|
|
115
|
+
[reflectionMapEffect prepareToDraw];
|
|
116
|
+
glBindVertexArrayOES(vaoName);
|
|
117
|
+
glDrawArrays(GL_TRIANGLE_STRIP, 0, vertCt);
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
121
|
+
|
|
122
|
+
OPENGL_DEPRECATED(10.8,10.14) OPENGLES_DEPRECATED(ios(5.0,12.0), tvos(9.0,12.0))
|
|
123
|
+
@interface GLKReflectionMapEffect : GLKBaseEffect <GLKNamedEffect>
|
|
124
|
+
{
|
|
125
|
+
@private
|
|
126
|
+
|
|
127
|
+
// Cube map GL texture name
|
|
128
|
+
GLKEffectPropertyTexture *_textureCubeMap;
|
|
129
|
+
|
|
130
|
+
// Reflection map matrix
|
|
131
|
+
GLKMatrix3 _matrix;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
// Sync all effect changes for consistent state when drawing
|
|
136
|
+
- (void) prepareToDraw;
|
|
137
|
+
|
|
138
|
+
// Properties // Default Value
|
|
139
|
+
@property (nonatomic, readonly) GLKEffectPropertyTexture *textureCubeMap; // GL Texture Name == 0
|
|
140
|
+
@property (nonatomic, assign) GLKMatrix3 matrix; // Identity
|
|
141
|
+
|
|
142
|
+
@end
|
|
143
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
//
|
|
2
|
+
// GLKSkyboxEffect.h
|
|
3
|
+
// GLKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright 2011-2012 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <GLKit/GLKBaseEffect.h>
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
GLKSkyboxEffect
|
|
13
|
+
|
|
14
|
+
GLKSkyboxEffect implements common skybox functionality as is used by many of todays games
|
|
15
|
+
and simulations. A skybox is a textured cube that encloses the boundaries of the object
|
|
16
|
+
space of a 3D graphics application or game. It provides a visual horizon in all camera
|
|
17
|
+
directions within 3D object space.
|
|
18
|
+
|
|
19
|
+
GLKSkyboxEffect requires at least an OpenGL ES 2.0 context on iOS and an OpenGL Core
|
|
20
|
+
Profile context on OS X. This context must be initialized and made current prior to creating
|
|
21
|
+
or initializing GLKSkyboxEffect instances. No OpenGL context state settings are
|
|
22
|
+
modified when a GLKSkyboxEffect instance is created or its properties set. When
|
|
23
|
+
-[GLKSkyboxEffect prepareToDraw] is called it modifies the following state:
|
|
24
|
+
|
|
25
|
+
GL_CURRENT_PROGRAM
|
|
26
|
+
GL_TEXTURE_BINDING_CUBE_MAP
|
|
27
|
+
GL_VERTEX_ARRAY_BINDING_OES
|
|
28
|
+
GL_ARRAY_BUFFER_BINDING
|
|
29
|
+
GL_VERTEX_ATTRIB_ARRAY_ENABLED (GLKVertexAttribPosition)
|
|
30
|
+
|
|
31
|
+
For performance reasons GLKSkyboxEffect does not restore any of these state settings.
|
|
32
|
+
It is up to the client application to save/restore/set these state elements as they choose.
|
|
33
|
+
|
|
34
|
+
A cube mapped texture name must be provided to GLKSkyboxEffect to provide it texture
|
|
35
|
+
data for the 6 faces of the skybox cube. Care must be taken when preparing the
|
|
36
|
+
cubemap texture to prevent seams from appearing at the interfaces between adjacent
|
|
37
|
+
faces.
|
|
38
|
+
|
|
39
|
+
Unlike other named effects, GLKSkyboxEffect provides a -draw method and requires no ancillary
|
|
40
|
+
vertex attribute setup because the class maintains the simple, unambiguous geometry data
|
|
41
|
+
required to draw the skybox internally.
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
The following (4) steps are required to use GLKSkyboxEffect:
|
|
45
|
+
|
|
46
|
+
(1) Allocate and initialize an instance of GLKSkyboxEffect
|
|
47
|
+
|
|
48
|
+
skybox = [[GLKSkyboxEffect alloc] init];
|
|
49
|
+
|
|
50
|
+
(2) Create a cube map texture for the skybox
|
|
51
|
+
|
|
52
|
+
glGenTextures(1, &cubeMapName);
|
|
53
|
+
glBindTexture(GL_TEXTURE_CUBE_MAP, cubeMapName);
|
|
54
|
+
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
|
55
|
+
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
|
56
|
+
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
|
57
|
+
glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
|
|
58
|
+
|
|
59
|
+
GLenum cubeMapBase = GL_TEXTURE_CUBE_MAP_POSITIVE_X;
|
|
60
|
+
|
|
61
|
+
for(face = 0; face < 6; face++)
|
|
62
|
+
glTexImage2D(cubeMapBase + face, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, faceData[face]);
|
|
63
|
+
|
|
64
|
+
(3) Configure the skybox effect transform, location, size, and texture properties
|
|
65
|
+
|
|
66
|
+
skybox.center = center;
|
|
67
|
+
skybox.xSize = xSize;
|
|
68
|
+
skybox.ySize = ySize;
|
|
69
|
+
skybox.zSize = zSize;
|
|
70
|
+
skybox.textureCubeMap = cubeMapName; // created in step (2) above
|
|
71
|
+
|
|
72
|
+
(4) For each frame drawn: Update properties that change per frame. Synchronize the changed effect state
|
|
73
|
+
by calling -[GLKSkyboxEffect prepareToDraw]. Draw the the skybox.
|
|
74
|
+
|
|
75
|
+
skybox.transform.modelviewMatrix = modelviewMatrix;
|
|
76
|
+
[skybox prepareToDraw];
|
|
77
|
+
[skybox draw];
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
81
|
+
|
|
82
|
+
OPENGL_DEPRECATED(10.8,10.14) OPENGLES_DEPRECATED(ios(5.0,12.0), tvos(9.0,12.0))
|
|
83
|
+
@interface GLKSkyboxEffect : NSObject <GLKNamedEffect>
|
|
84
|
+
{
|
|
85
|
+
@private
|
|
86
|
+
|
|
87
|
+
// Center of the skybox in object/world coordinates
|
|
88
|
+
GLKVector3 _center; // 3 element vector of GLfloats
|
|
89
|
+
|
|
90
|
+
// Dimensions of our skybox. X extents, for example, are (center[0] - xSize / 2.0) & (center[0] + xSize / 2.0)
|
|
91
|
+
GLfloat _xSize, _ySize, _zSize;
|
|
92
|
+
|
|
93
|
+
// Cube map GL texture name
|
|
94
|
+
GLKEffectPropertyTexture *_textureCubeMap;
|
|
95
|
+
|
|
96
|
+
// Skybox Transform
|
|
97
|
+
GLKEffectPropertyTransform *_transform;
|
|
98
|
+
|
|
99
|
+
// Label for effect
|
|
100
|
+
NSString *_label;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
// Sync all effect changes for consistent state when drawing
|
|
105
|
+
- (void) prepareToDraw;
|
|
106
|
+
|
|
107
|
+
// Draw skybox
|
|
108
|
+
- (void) draw;
|
|
109
|
+
|
|
110
|
+
// Properties // Default Value
|
|
111
|
+
@property (nonatomic, assign) GLKVector3 center; // { 0.0, 0.0, 0.0 }
|
|
112
|
+
@property (nonatomic, assign) GLfloat xSize, ySize, zSize; // 1.0, 1.0, 1.0
|
|
113
|
+
@property (nonatomic, readonly) GLKEffectPropertyTexture *textureCubeMap; // name == 0, target == GL_TEXTURE_CUBE_MAP
|
|
114
|
+
@property (nonatomic, readonly) GLKEffectPropertyTransform *transform; // Identity for all matrices
|
|
115
|
+
@property (nullable, nonatomic, copy) NSString *label; // nil
|
|
116
|
+
@end
|
|
117
|
+
NS_ASSUME_NONNULL_END
|