objcjs-types 0.6.4 → 0.7.1
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/dist/AVFAudio/AVAudio3DMixing.d.ts +16 -16
- package/dist/AVFAudio/AVAudioMixing.d.ts +3 -3
- package/dist/AVFAudio/AVAudioSequencerInfoDictionaryKey.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionCategory.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionLocation.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionMode.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionOrientation.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionPolarPattern.d.ts +2 -1
- package/dist/AVFAudio/AVAudioSessionPort.d.ts +2 -1
- package/dist/AVFAudio/AVAudioStereoMixing.d.ts +2 -2
- package/dist/AVFoundation/AVAssetDownloadedAssetEvictionPriority.d.ts +2 -1
- package/dist/AVFoundation/AVAssetImageGeneratorApertureMode.d.ts +2 -1
- package/dist/AVFoundation/AVAssetImageGeneratorDynamicRangePolicy.d.ts +2 -1
- package/dist/AVFoundation/AVAssetPlaybackConfigurationOption.d.ts +2 -1
- package/dist/AVFoundation/AVAssetWriterInputMediaDataLocation.d.ts +2 -1
- package/dist/AVFoundation/AVAsynchronousKeyValueLoading.d.ts +2 -2
- package/dist/AVFoundation/AVAudioTimePitchAlgorithm.d.ts +2 -1
- package/dist/AVFoundation/AVCaptionConversionAdjustmentType.d.ts +2 -1
- package/dist/AVFoundation/AVCaptionConversionWarningType.d.ts +2 -1
- package/dist/AVFoundation/AVCaptionRegion.d.ts +3 -1
- package/dist/AVFoundation/AVCaptionSettingsKey.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureAspectRatio.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureDataOutputSynchronizerDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVCaptureDeviceType.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureFileOutputDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVCaptureFileOutputRecordingDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVCaptureReactionType.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureSceneMonitoringStatus.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureSessionControlsDelegate.d.ts +4 -4
- package/dist/AVFoundation/AVCaptureSessionDeferredStartDelegate.d.ts +2 -2
- package/dist/AVFoundation/AVCaptureSessionPreset.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureSystemPressureLevel.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureTimecodeGeneratorDelegate.d.ts +3 -3
- package/dist/AVFoundation/AVContentKeyRecipient.d.ts +1 -1
- package/dist/AVFoundation/AVContentKeyRequestRetryReason.d.ts +2 -1
- package/dist/AVFoundation/AVContentKeySessionDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVContentKeySessionServerPlaybackContextOption.d.ts +2 -1
- package/dist/AVFoundation/AVContentKeySystem.d.ts +2 -1
- package/dist/AVFoundation/AVCoordinatedPlaybackSuspensionReason.d.ts +2 -1
- package/dist/AVFoundation/AVFileTypeProfile.d.ts +2 -1
- package/dist/AVFoundation/AVFragmentMinding.d.ts +1 -1
- package/dist/AVFoundation/AVLayerVideoGravity.d.ts +2 -1
- package/dist/AVFoundation/AVMetadataFormat.d.ts +2 -1
- package/dist/AVFoundation/AVMetadataItem.d.ts +2 -1
- package/dist/AVFoundation/AVMetadataObjectType.d.ts +2 -1
- package/dist/AVFoundation/AVMetricEventStreamSubscriber.d.ts +1 -1
- package/dist/AVFoundation/AVOutputSettingsPreset.d.ts +2 -1
- package/dist/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.d.ts +4 -4
- package/dist/AVFoundation/AVPlayerIntegratedTimelineSnapshotsOutOfSyncReason.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerInterstitialEventCue.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerItem.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerItemLegibleOutputTextStylingResolution.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerItemMetadataCollectorPushDelegate.d.ts +1 -1
- package/dist/AVFoundation/AVPlayerRateDidChangeReason.d.ts +2 -1
- package/dist/AVFoundation/AVPlayerWaitingReason.d.ts +2 -1
- package/dist/AVFoundation/AVQueuedSampleBufferRendering.d.ts +7 -7
- package/dist/AVFoundation/AVSampleBufferDisplayLayer.d.ts +3 -0
- package/dist/AVFoundation/AVSemanticSegmentationMatteType.d.ts +2 -1
- package/dist/AVFoundation/AVSpatialCaptureDiscomfortReason.d.ts +2 -1
- package/dist/AVFoundation/AVTrackAssociationType.d.ts +2 -1
- package/dist/AVFoundation/AVURLAsset.d.ts +2 -1
- package/dist/AVFoundation/AVVideoApertureMode.d.ts +2 -1
- package/dist/AVFoundation/AVVideoCodecType.d.ts +2 -1
- package/dist/AVFoundation/AVVideoCompositing.d.ts +4 -4
- package/dist/AVFoundation/AVVideoCompositionPerFrameHDRDisplayMetadataPolicy.d.ts +2 -1
- package/dist/AVFoundation/AVVideoRange.d.ts +2 -1
- package/dist/AVKit/AVCaptureViewDelegate.d.ts +1 -1
- package/dist/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.d.ts +5 -5
- package/dist/AVRouting/AVCustomRoutingControllerDelegate.d.ts +1 -1
- package/dist/Accessibility/AXChart.d.ts +2 -2
- package/dist/Accessibility/AXCustomContentProvider.d.ts +2 -2
- package/dist/Accessibility/AXDataAxisDescriptor.d.ts +4 -4
- package/dist/Accessibility/AXMathExpressionProvider.d.ts +1 -1
- package/dist/AddressBook/ABImageClient.d.ts +1 -1
- package/dist/AddressBook/ABPersonPickerDelegate.d.ts +1 -1
- package/dist/AppKit/NSAboutPanelOptionKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibility.d.ts +274 -274
- package/dist/AppKit/NSAccessibilityActionName.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityAnnotationAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityAttributeName.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityButton.d.ts +2 -2
- package/dist/AppKit/NSAccessibilityCheckBox.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityColor.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityContainsTransientUI.d.ts +3 -3
- package/dist/AppKit/NSAccessibilityCustomRotorItemSearchDelegate.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityElementLoading.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityFontAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityImage.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityLayoutArea.d.ts +4 -4
- package/dist/AppKit/NSAccessibilityNavigableStaticText.d.ts +4 -4
- package/dist/AppKit/NSAccessibilityNotificationName.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityNotificationUserInfoKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityOrientationValue.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityParameterizedAttributeName.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityProgressIndicator.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityRadioButton.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityRole.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityRow.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityRulerMarkerTypeValue.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityRulerUnitValue.d.ts +2 -1
- package/dist/AppKit/NSAccessibilitySearchKey.d.ts +2 -1
- package/dist/AppKit/NSAccessibilitySlider.d.ts +4 -4
- package/dist/AppKit/NSAccessibilitySortDirectionValue.d.ts +2 -1
- package/dist/AppKit/NSAccessibilityStaticText.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityStepper.d.ts +3 -3
- package/dist/AppKit/NSAccessibilitySubrole.d.ts +2 -1
- package/dist/AppKit/NSAccessibilitySwitch.d.ts +1 -1
- package/dist/AppKit/NSAccessibilityTable.d.ts +2 -2
- package/dist/AppKit/NSAnimatablePropertyContainer.d.ts +4 -4
- package/dist/AppKit/NSAnimation.d.ts +2 -1
- package/dist/AppKit/NSAppearance.d.ts +3 -0
- package/dist/AppKit/NSAppearanceCustomization.d.ts +3 -3
- package/dist/AppKit/NSAppearanceName.d.ts +2 -1
- package/dist/AppKit/NSApplication.d.ts +2 -1
- package/dist/AppKit/NSAttributedStringDocumentAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSAttributedStringDocumentReadingOptionKey.d.ts +2 -1
- package/dist/AppKit/NSAttributedStringDocumentType.d.ts +2 -1
- package/dist/AppKit/NSBindingInfoKey.d.ts +2 -1
- package/dist/AppKit/NSBindingName.d.ts +2 -1
- package/dist/AppKit/NSBindingOption.d.ts +2 -1
- package/dist/AppKit/NSBitmapImageRepPropertyKey.d.ts +2 -1
- package/dist/AppKit/NSButton.d.ts +2 -1
- package/dist/AppKit/NSChangeSpelling.d.ts +1 -1
- package/dist/AppKit/NSCloudSharingValidation.d.ts +1 -1
- package/dist/AppKit/NSCollectionLayoutContainer.d.ts +4 -4
- package/dist/AppKit/NSCollectionLayoutEnvironment.d.ts +1 -1
- package/dist/AppKit/NSCollectionLayoutVisibleItem.d.ts +14 -14
- package/dist/AppKit/NSCollectionViewDataSource.d.ts +2 -2
- package/dist/AppKit/NSCollectionViewPrefetching.d.ts +1 -1
- package/dist/AppKit/NSColor.d.ts +2 -1
- package/dist/AppKit/NSColorChanging.d.ts +1 -1
- package/dist/AppKit/NSColorPicker.d.ts +3 -0
- package/dist/AppKit/NSColorPickingCustom.d.ts +4 -4
- package/dist/AppKit/NSColorPickingDefault.d.ts +10 -10
- package/dist/AppKit/NSColorSpaceName.d.ts +2 -1
- package/dist/AppKit/NSController.d.ts +3 -0
- package/dist/AppKit/NSDefinitionOptionKey.d.ts +2 -1
- package/dist/AppKit/NSDefinitionPresentationType.d.ts +2 -1
- package/dist/AppKit/NSDeviceDescriptionKey.d.ts +2 -1
- package/dist/AppKit/NSDockTilePlugIn.d.ts +1 -1
- package/dist/AppKit/NSDocument.d.ts +2 -1
- package/dist/AppKit/NSDocumentController.d.ts +3 -1
- package/dist/AppKit/NSDraggingImageComponentKey.d.ts +2 -1
- package/dist/AppKit/NSDraggingInfo.d.ts +19 -19
- package/dist/AppKit/NSDraggingSource.d.ts +1 -1
- package/dist/AppKit/NSEditor.d.ts +4 -4
- package/dist/AppKit/NSFilePromiseProviderDelegate.d.ts +2 -2
- package/dist/AppKit/NSFontAssetRequest.d.ts +3 -0
- package/dist/AppKit/NSFontCollectionActionTypeKey.d.ts +2 -1
- package/dist/AppKit/NSFontCollectionMatchingOptionKey.d.ts +2 -1
- package/dist/AppKit/NSFontCollectionName.d.ts +2 -1
- package/dist/AppKit/NSFontCollectionUserInfoKey.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorAttributeName.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorFeatureKey.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorSystemDesign.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorTraitKey.d.ts +2 -1
- package/dist/AppKit/NSFontDescriptorVariationKey.d.ts +2 -1
- package/dist/AppKit/NSFontTextStyle.d.ts +2 -1
- package/dist/AppKit/NSFontTextStyleOptionKey.d.ts +2 -1
- package/dist/AppKit/NSGestureRecognizer.d.ts +3 -0
- package/dist/AppKit/NSGlyphStorage.d.ts +4 -4
- package/dist/AppKit/NSGradient.d.ts +2 -1
- package/dist/AppKit/NSGraphicsContextAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSGraphicsContextRepresentationFormatName.d.ts +2 -1
- package/dist/AppKit/NSHapticFeedbackPerformer.d.ts +1 -1
- package/dist/AppKit/NSIgnoreMisspelledWords.d.ts +1 -1
- package/dist/AppKit/NSImageHintKey.d.ts +2 -1
- package/dist/AppKit/NSImageRep.d.ts +2 -1
- package/dist/AppKit/NSInputServerMouseTracker.d.ts +3 -3
- package/dist/AppKit/NSInputServiceProvider.d.ts +15 -15
- package/dist/AppKit/NSLayoutManager.d.ts +4 -0
- package/dist/AppKit/NSMenuItemValidation.d.ts +1 -1
- package/dist/AppKit/NSMovie.d.ts +3 -0
- package/dist/AppKit/NSPasteboardItemDataProvider.d.ts +1 -1
- package/dist/AppKit/NSPasteboardName.d.ts +2 -1
- package/dist/AppKit/NSPasteboardReadingOptionKey.d.ts +2 -1
- package/dist/AppKit/NSPasteboardType.d.ts +2 -1
- package/dist/AppKit/NSPasteboardTypeFindPanelSearchOptionKey.d.ts +2 -1
- package/dist/AppKit/NSPasteboardTypeOwner.d.ts +1 -1
- package/dist/AppKit/NSPasteboardTypeTextFinderOptionKey.d.ts +2 -1
- package/dist/AppKit/NSPasteboardWriting.d.ts +2 -2
- package/dist/AppKit/NSPopover.d.ts +2 -1
- package/dist/AppKit/NSPopoverCloseReasonValue.d.ts +2 -1
- package/dist/AppKit/NSPreviewRepresentableActivityItem.d.ts +1 -1
- package/dist/AppKit/NSPrintInfoAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSPrintJobDispositionValue.d.ts +2 -1
- package/dist/AppKit/NSPrintPanelAccessorizing.d.ts +1 -1
- package/dist/AppKit/NSPrintPanelAccessorySummaryKey.d.ts +2 -1
- package/dist/AppKit/NSPrintPanelJobStyleHint.d.ts +2 -1
- package/dist/AppKit/NSPrinterPaperName.d.ts +2 -1
- package/dist/AppKit/NSPrinterTypeName.d.ts +2 -1
- package/dist/AppKit/NSResponder.d.ts +3 -1
- package/dist/AppKit/NSRuleEditorDelegate.d.ts +3 -3
- package/dist/AppKit/NSRuleEditorPredicatePartKey.d.ts +2 -1
- package/dist/AppKit/NSRulerViewUnitName.d.ts +2 -1
- package/dist/AppKit/NSScrubberDataSource.d.ts +2 -2
- package/dist/AppKit/NSSegmentedControl.d.ts +3 -0
- package/dist/AppKit/NSSharingServiceName.d.ts +2 -1
- package/dist/AppKit/NSSharingServicePickerToolbarItemDelegate.d.ts +1 -1
- package/dist/AppKit/NSSharingServicePickerTouchBarItemDelegate.d.ts +1 -1
- package/dist/AppKit/NSSpeechCommandDelimiterKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechDictionaryKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechErrorKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechMode.d.ts +2 -1
- package/dist/AppKit/NSSpeechPhonemeInfoKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechPropertyKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechStatusKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechSynthesizerInfoKey.d.ts +2 -1
- package/dist/AppKit/NSSpeechSynthesizerVoiceName.d.ts +2 -1
- package/dist/AppKit/NSSplitViewController.d.ts +3 -0
- package/dist/AppKit/NSSpringLoadingDestination.d.ts +2 -2
- package/dist/AppKit/NSTableRowView.d.ts +0 -3
- package/dist/AppKit/NSTextAttachmentContainer.d.ts +2 -2
- package/dist/AppKit/NSTextAttachmentLayout.d.ts +3 -3
- package/dist/AppKit/NSTextCheckingClient.d.ts +8 -8
- package/dist/AppKit/NSTextCheckingOptionKey.d.ts +2 -1
- package/dist/AppKit/NSTextContent.d.ts +2 -2
- package/dist/AppKit/NSTextContentManager.d.ts +2 -1
- package/dist/AppKit/NSTextContentType.d.ts +2 -1
- package/dist/AppKit/NSTextEffectStyle.d.ts +2 -1
- package/dist/AppKit/NSTextElementProvider.d.ts +4 -4
- package/dist/AppKit/NSTextFinderBarContainer.d.ts +5 -5
- package/dist/AppKit/NSTextHighlightColorScheme.d.ts +2 -1
- package/dist/AppKit/NSTextHighlightStyle.d.ts +2 -1
- package/dist/AppKit/NSTextInput.d.ts +12 -12
- package/dist/AppKit/NSTextInputClient.d.ts +11 -11
- package/dist/AppKit/NSTextLayoutFragment.d.ts +3 -0
- package/dist/AppKit/NSTextLayoutManager.d.ts +2 -1
- package/dist/AppKit/NSTextLayoutOrientationProvider.d.ts +1 -1
- package/dist/AppKit/NSTextLayoutSectionKey.d.ts +2 -1
- package/dist/AppKit/NSTextLineFragment.d.ts +3 -0
- package/dist/AppKit/NSTextList.d.ts +2 -1
- package/dist/AppKit/NSTextListMarkerFormat.d.ts +2 -1
- package/dist/AppKit/NSTextLocation.d.ts +1 -1
- package/dist/AppKit/NSTextSelection.d.ts +3 -0
- package/dist/AppKit/NSTextSelectionDataSource.d.ts +8 -8
- package/dist/AppKit/NSTextStorageObserving.d.ts +4 -4
- package/dist/AppKit/NSTextTabOptionKey.d.ts +2 -1
- package/dist/AppKit/NSTextViewportLayoutControllerDelegate.d.ts +2 -2
- package/dist/AppKit/NSToolbarItemIdentifier.d.ts +2 -1
- package/dist/AppKit/NSToolbarItemValidation.d.ts +1 -1
- package/dist/AppKit/NSToolbarUserInfoKey.d.ts +2 -1
- package/dist/AppKit/NSTouchBar.d.ts +3 -0
- package/dist/AppKit/NSTouchBarItem.d.ts +3 -0
- package/dist/AppKit/NSTouchBarItemIdentifier.d.ts +2 -1
- package/dist/AppKit/NSTouchBarProvider.d.ts +1 -1
- package/dist/AppKit/NSUserActivityRestoring.d.ts +1 -1
- package/dist/AppKit/NSUserInterfaceCompression.d.ts +3 -3
- package/dist/AppKit/NSUserInterfaceItemIdentification.d.ts +2 -2
- package/dist/AppKit/NSUserInterfaceItemIdentifier.d.ts +2 -1
- package/dist/AppKit/NSUserInterfaceItemSearching.d.ts +2 -2
- package/dist/AppKit/NSUserInterfaceValidations.d.ts +1 -1
- package/dist/AppKit/NSValidatedUserInterfaceItem.d.ts +2 -2
- package/dist/AppKit/NSViewAnimationEffectName.d.ts +2 -1
- package/dist/AppKit/NSViewAnimationKey.d.ts +2 -1
- package/dist/AppKit/NSViewController.d.ts +2 -1
- package/dist/AppKit/NSViewControllerPresentationAnimator.d.ts +2 -2
- package/dist/AppKit/NSViewFullScreenModeOptionKey.d.ts +2 -1
- package/dist/AppKit/NSViewToolTipOwner.d.ts +1 -1
- package/dist/AppKit/NSVoiceAttributeKey.d.ts +2 -1
- package/dist/AppKit/NSVoiceGenderName.d.ts +2 -1
- package/dist/AppKit/NSWorkspaceDesktopImageOptionKey.d.ts +2 -1
- package/dist/AppKit/NSWritingToolsCoordinatorDelegate.d.ts +9 -9
- package/dist/AudioToolbox/AUAudioUnitFactory.d.ts +1 -1
- package/dist/AudioToolbox/AUCocoaUIBase.d.ts +2 -2
- package/dist/AudioVideoBridging/AVB17221ACMPClient.d.ts +2 -2
- package/dist/AudioVideoBridging/AVB17221AECPClient.d.ts +2 -2
- package/dist/AudioVideoBridging/AVB17221EntityDiscoveryDelegate.d.ts +8 -8
- package/dist/AuthenticationServices/ASAccountAuthenticationModificationControllerPresentationContextProviding.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationControllerPresentationContextProviding.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationCustomMethod.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequestHandler.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionRegistrationHandler.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertion.d.ts +3 -3
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialAssertionRequest.d.ts +8 -8
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialAttestationKind.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialDescriptor.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistration.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialRegistrationRequest.d.ts +13 -13
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialResidentKeyPreference.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialUserVerificationPreference.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationSecurityKeyPublicKeyCredentialDescriptorTransport.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserExternallyAuthenticatableRequest.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialAssertionRequest.d.ts +3 -3
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialProvider.d.ts +3 -3
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserPlatformPublicKeyCredentialRegistrationRequest.d.ts +5 -5
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialAssertionRequest.d.ts +1 -1
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialProvider.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserSecurityKeyPublicKeyCredentialRegistrationRequest.d.ts +1 -1
- package/dist/AuthenticationServices/ASCredentialIdentity.d.ts +5 -5
- package/dist/AuthenticationServices/ASCredentialRequest.d.ts +2 -2
- package/dist/AuthenticationServices/ASGeneratedPasswordKind.d.ts +2 -1
- package/dist/AuthenticationServices/ASPasskeyCredentialIdentity.d.ts +2 -1
- package/dist/AuthenticationServices/ASPasswordCredentialIdentity.d.ts +2 -1
- package/dist/AuthenticationServices/ASPublicKeyCredential.d.ts +2 -2
- package/dist/AuthenticationServices/ASWebAuthenticationPresentationContextProviding.d.ts +1 -1
- package/dist/AuthenticationServices/ASWebAuthenticationSessionWebBrowserSessionHandling.d.ts +2 -2
- package/dist/BrowserEngineKit/BEAccessibilityTextMarkerSupport.d.ts +12 -12
- package/dist/BrowserEngineKit/BEExtensionProcess.d.ts +2 -2
- package/dist/BrowserEngineKit/BENetworkingProcess.d.ts +3 -0
- package/dist/BrowserEngineKit/BEProcessCapabilityGrant.d.ts +2 -2
- package/dist/BrowserEngineKit/BERenderingProcess.d.ts +3 -0
- package/dist/BrowserEngineKit/BETextInputDelegate.d.ts +6 -6
- package/dist/BrowserEngineKit/BETextInteractionDelegate.d.ts +2 -2
- package/dist/BrowserEngineKit/BEWebContentProcess.d.ts +3 -0
- package/dist/CallKit/CXAction.d.ts +2 -1
- package/dist/CallKit/CXCallDirectoryExtensionContextDelegate.d.ts +1 -1
- package/dist/CallKit/CXCallObserverDelegate.d.ts +1 -1
- package/dist/CallKit/CXProviderDelegate.d.ts +1 -1
- package/dist/ClassKit/CLSContextProvider.d.ts +1 -1
- package/dist/ClassKit/CLSContextTopic.d.ts +2 -1
- package/dist/ClassKit/CLSDataStoreDelegate.d.ts +1 -1
- package/dist/CloudKit/CKRecord.d.ts +2 -1
- package/dist/CloudKit/CKRecordKeyValueSetting.d.ts +6 -6
- package/dist/CloudKit/CKSyncEngineDelegate.d.ts +2 -2
- package/dist/Contacts/CNChangeHistoryEventVisitor.d.ts +4 -4
- package/dist/CoreAudioKit/AUCustomViewPersistentData.d.ts +2 -2
- package/dist/CoreBluetooth/CBCentralManagerDelegate.d.ts +1 -1
- package/dist/CoreBluetooth/CBConnectionEventMatchingOption.d.ts +2 -1
- package/dist/CoreBluetooth/CBPeripheralManagerDelegate.d.ts +1 -1
- package/dist/CoreData/NSFetchedResultsSectionInfo.d.ts +4 -4
- package/dist/CoreData/NSManagedObjectContext.d.ts +2 -1
- package/dist/CoreData/NSPersistentStoreCoordinator.d.ts +3 -0
- package/dist/CoreHaptics/CHHapticAdvancedPatternPlayer.d.ts +13 -13
- package/dist/CoreHaptics/CHHapticDeviceCapability.d.ts +4 -4
- package/dist/CoreHaptics/CHHapticDynamicParameterID.d.ts +2 -1
- package/dist/CoreHaptics/CHHapticEventParameterID.d.ts +2 -1
- package/dist/CoreHaptics/CHHapticEventType.d.ts +2 -1
- package/dist/CoreHaptics/CHHapticParameterAttributes.d.ts +3 -3
- package/dist/CoreHaptics/CHHapticPatternKey.d.ts +2 -1
- package/dist/CoreHaptics/CHHapticPatternPlayer.d.ts +7 -7
- package/dist/CoreImage/CIAccordionFoldTransition.d.ts +6 -6
- package/dist/CoreImage/CIAffineClamp.d.ts +4 -4
- package/dist/CoreImage/CIAffineTile.d.ts +4 -4
- package/dist/CoreImage/CIAreaHistogram.d.ts +4 -4
- package/dist/CoreImage/CIAreaLogarithmicHistogram.d.ts +8 -8
- package/dist/CoreImage/CIAreaReductionFilter.d.ts +4 -4
- package/dist/CoreImage/CIAttributedTextImageGenerator.d.ts +6 -6
- package/dist/CoreImage/CIAztecCodeGenerator.d.ts +8 -8
- package/dist/CoreImage/CIBarcodeGenerator.d.ts +2 -2
- package/dist/CoreImage/CIBarsSwipeTransition.d.ts +6 -6
- package/dist/CoreImage/CIBicubicScaleTransform.d.ts +10 -10
- package/dist/CoreImage/CIBlendWithMask.d.ts +6 -6
- package/dist/CoreImage/CIBloom.d.ts +6 -6
- package/dist/CoreImage/CIBlurredRectangleGenerator.d.ts +6 -6
- package/dist/CoreImage/CIBlurredRoundedRectangleGenerator.d.ts +10 -10
- package/dist/CoreImage/CIBokehBlur.d.ts +10 -10
- package/dist/CoreImage/CIBoxBlur.d.ts +4 -4
- package/dist/CoreImage/CIBumpDistortion.d.ts +8 -8
- package/dist/CoreImage/CIBumpDistortionLinear.d.ts +10 -10
- package/dist/CoreImage/CICMYKHalftone.d.ts +14 -14
- package/dist/CoreImage/CICannyEdgeDetector.d.ts +12 -12
- package/dist/CoreImage/CICheckerboardGenerator.d.ts +10 -10
- package/dist/CoreImage/CICircleSplashDistortion.d.ts +6 -6
- package/dist/CoreImage/CICircularScreen.d.ts +8 -8
- package/dist/CoreImage/CICircularWrap.d.ts +8 -8
- package/dist/CoreImage/CICode128BarcodeGenerator.d.ts +6 -6
- package/dist/CoreImage/CIColorAbsoluteDifference.d.ts +4 -4
- package/dist/CoreImage/CIColorClamp.d.ts +6 -6
- package/dist/CoreImage/CIColorControls.d.ts +8 -8
- package/dist/CoreImage/CIColorCrossPolynomial.d.ts +8 -8
- package/dist/CoreImage/CIColorCube.d.ts +8 -8
- package/dist/CoreImage/CIColorCubeWithColorSpace.d.ts +10 -10
- package/dist/CoreImage/CIColorCubesMixedWithMask.d.ts +14 -14
- package/dist/CoreImage/CIColorCurves.d.ts +8 -8
- package/dist/CoreImage/CIColorInvert.d.ts +2 -2
- package/dist/CoreImage/CIColorMap.d.ts +4 -4
- package/dist/CoreImage/CIColorMatrix.d.ts +12 -12
- package/dist/CoreImage/CIColorMonochrome.d.ts +6 -6
- package/dist/CoreImage/CIColorPolynomial.d.ts +10 -10
- package/dist/CoreImage/CIColorPosterize.d.ts +4 -4
- package/dist/CoreImage/CIColorThreshold.d.ts +4 -4
- package/dist/CoreImage/CIColorThresholdOtsu.d.ts +2 -2
- package/dist/CoreImage/CIComicEffect.d.ts +2 -2
- package/dist/CoreImage/CICompositeOperation.d.ts +4 -4
- package/dist/CoreImage/CIContextOption.d.ts +2 -1
- package/dist/CoreImage/CIConvertLab.d.ts +4 -4
- package/dist/CoreImage/CIConvolution.d.ts +6 -6
- package/dist/CoreImage/CICopyMachineTransition.d.ts +10 -10
- package/dist/CoreImage/CICoreMLModel.d.ts +8 -8
- package/dist/CoreImage/CICrystallize.d.ts +6 -6
- package/dist/CoreImage/CIDepthOfField.d.ts +14 -14
- package/dist/CoreImage/CIDepthToDisparity.d.ts +2 -2
- package/dist/CoreImage/CIDiscBlur.d.ts +4 -4
- package/dist/CoreImage/CIDisintegrateWithMaskTransition.d.ts +8 -8
- package/dist/CoreImage/CIDisparityToDepth.d.ts +2 -2
- package/dist/CoreImage/CIDisplacementDistortion.d.ts +6 -6
- package/dist/CoreImage/CIDistanceGradientFromRedMask.d.ts +4 -4
- package/dist/CoreImage/CIDither.d.ts +4 -4
- package/dist/CoreImage/CIDocumentEnhancer.d.ts +4 -4
- package/dist/CoreImage/CIDotScreen.d.ts +10 -10
- package/dist/CoreImage/CIDroste.d.ts +14 -14
- package/dist/CoreImage/CIDynamicRangeOption.d.ts +2 -1
- package/dist/CoreImage/CIEdgePreserveUpsample.d.ts +8 -8
- package/dist/CoreImage/CIEdgeWork.d.ts +4 -4
- package/dist/CoreImage/CIEdges.d.ts +4 -4
- package/dist/CoreImage/CIEightfoldReflectedTile.d.ts +8 -8
- package/dist/CoreImage/CIExposureAdjust.d.ts +4 -4
- package/dist/CoreImage/CIFalseColor.d.ts +6 -6
- package/dist/CoreImage/CIFilterConstructor.d.ts +1 -1
- package/dist/CoreImage/CIFlashTransition.d.ts +14 -14
- package/dist/CoreImage/CIFourCoordinateGeometryFilter.d.ts +10 -10
- package/dist/CoreImage/CIFourfoldReflectedTile.d.ts +10 -10
- package/dist/CoreImage/CIFourfoldRotatedTile.d.ts +8 -8
- package/dist/CoreImage/CIFourfoldTranslatedTile.d.ts +10 -10
- package/dist/CoreImage/CIGaborGradients.d.ts +2 -2
- package/dist/CoreImage/CIGammaAdjust.d.ts +4 -4
- package/dist/CoreImage/CIGaussianBlur.d.ts +4 -4
- package/dist/CoreImage/CIGaussianGradient.d.ts +8 -8
- package/dist/CoreImage/CIGlassDistortion.d.ts +8 -8
- package/dist/CoreImage/CIGlassLozenge.d.ts +10 -10
- package/dist/CoreImage/CIGlideReflectedTile.d.ts +8 -8
- package/dist/CoreImage/CIGloom.d.ts +6 -6
- package/dist/CoreImage/CIHatchedScreen.d.ts +10 -10
- package/dist/CoreImage/CIHeightFieldFromMask.d.ts +4 -4
- package/dist/CoreImage/CIHexagonalPixellate.d.ts +6 -6
- package/dist/CoreImage/CIHighlightShadowAdjust.d.ts +8 -8
- package/dist/CoreImage/CIHistogramDisplay.d.ts +8 -8
- package/dist/CoreImage/CIHoleDistortion.d.ts +6 -6
- package/dist/CoreImage/CIHueAdjust.d.ts +4 -4
- package/dist/CoreImage/CIHueSaturationValueGradient.d.ts +10 -10
- package/dist/CoreImage/CIImageAutoAdjustmentOption.d.ts +2 -1
- package/dist/CoreImage/CIImageOption.d.ts +2 -1
- package/dist/CoreImage/CIImageProcessorInput.d.ts +10 -10
- package/dist/CoreImage/CIImageProcessorOutput.d.ts +9 -9
- package/dist/CoreImage/CIImageRepresentationOption.d.ts +2 -1
- package/dist/CoreImage/CIKMeans.d.ts +8 -8
- package/dist/CoreImage/CIKaleidoscope.d.ts +8 -8
- package/dist/CoreImage/CIKeystoneCorrectionCombined.d.ts +2 -2
- package/dist/CoreImage/CIKeystoneCorrectionHorizontal.d.ts +2 -2
- package/dist/CoreImage/CIKeystoneCorrectionVertical.d.ts +2 -2
- package/dist/CoreImage/CILabDeltaE.d.ts +4 -4
- package/dist/CoreImage/CILanczosScaleTransform.d.ts +6 -6
- package/dist/CoreImage/CILenticularHaloGenerator.d.ts +16 -16
- package/dist/CoreImage/CILightTunnel.d.ts +8 -8
- package/dist/CoreImage/CILineOverlay.d.ts +12 -12
- package/dist/CoreImage/CILineScreen.d.ts +10 -10
- package/dist/CoreImage/CILinearGradient.d.ts +8 -8
- package/dist/CoreImage/CILinearToSRGBToneCurve.d.ts +2 -2
- package/dist/CoreImage/CIMaskToAlpha.d.ts +2 -2
- package/dist/CoreImage/CIMaskedVariableBlur.d.ts +6 -6
- package/dist/CoreImage/CIMaximumComponent.d.ts +2 -2
- package/dist/CoreImage/CIMaximumScaleTransform.d.ts +6 -6
- package/dist/CoreImage/CIMedian.d.ts +2 -2
- package/dist/CoreImage/CIMeshGenerator.d.ts +6 -6
- package/dist/CoreImage/CIMinimumComponent.d.ts +2 -2
- package/dist/CoreImage/CIMix.d.ts +6 -6
- package/dist/CoreImage/CIModTransition.d.ts +8 -8
- package/dist/CoreImage/CIMorphologyGradient.d.ts +4 -4
- package/dist/CoreImage/CIMorphologyMaximum.d.ts +4 -4
- package/dist/CoreImage/CIMorphologyMinimum.d.ts +4 -4
- package/dist/CoreImage/CIMorphologyRectangleMaximum.d.ts +6 -6
- package/dist/CoreImage/CIMorphologyRectangleMinimum.d.ts +6 -6
- package/dist/CoreImage/CIMotionBlur.d.ts +6 -6
- package/dist/CoreImage/CINinePartStretched.d.ts +8 -8
- package/dist/CoreImage/CINinePartTiled.d.ts +10 -10
- package/dist/CoreImage/CINoiseReduction.d.ts +6 -6
- package/dist/CoreImage/CIOpTile.d.ts +10 -10
- package/dist/CoreImage/CIPDF417BarcodeGenerator.d.ts +24 -24
- package/dist/CoreImage/CIPageCurlTransition.d.ts +10 -10
- package/dist/CoreImage/CIPageCurlWithShadowTransition.d.ts +14 -14
- package/dist/CoreImage/CIPaletteCentroid.d.ts +6 -6
- package/dist/CoreImage/CIPalettize.d.ts +6 -6
- package/dist/CoreImage/CIParallelogramTile.d.ts +10 -10
- package/dist/CoreImage/CIPersonSegmentation.d.ts +4 -4
- package/dist/CoreImage/CIPerspectiveCorrection.d.ts +2 -2
- package/dist/CoreImage/CIPerspectiveRotate.d.ts +10 -10
- package/dist/CoreImage/CIPerspectiveTile.d.ts +10 -10
- package/dist/CoreImage/CIPerspectiveTransformWithExtent.d.ts +2 -2
- package/dist/CoreImage/CIPhotoEffect.d.ts +4 -4
- package/dist/CoreImage/CIPinchDistortion.d.ts +8 -8
- package/dist/CoreImage/CIPixellate.d.ts +6 -6
- package/dist/CoreImage/CIPlugInRegistration.d.ts +1 -1
- package/dist/CoreImage/CIPointillize.d.ts +6 -6
- package/dist/CoreImage/CIQRCodeGenerator.d.ts +4 -4
- package/dist/CoreImage/CIRAWDecoderVersion.d.ts +2 -1
- package/dist/CoreImage/CIRAWFilterOption.d.ts +2 -1
- package/dist/CoreImage/CIRadialGradient.d.ts +10 -10
- package/dist/CoreImage/CIRippleTransition.d.ts +10 -10
- package/dist/CoreImage/CIRoundedQRCodeGenerator.d.ts +16 -16
- package/dist/CoreImage/CIRoundedRectangleGenerator.d.ts +8 -8
- package/dist/CoreImage/CIRoundedRectangleStrokeGenerator.d.ts +10 -10
- package/dist/CoreImage/CISRGBToneCurveToLinear.d.ts +2 -2
- package/dist/CoreImage/CISaliencyMap.d.ts +2 -2
- package/dist/CoreImage/CISepiaTone.d.ts +4 -4
- package/dist/CoreImage/CIShadedMaterial.d.ts +6 -6
- package/dist/CoreImage/CISharpenLuminance.d.ts +6 -6
- package/dist/CoreImage/CISignedDistanceGradientFromRedMask.d.ts +4 -4
- package/dist/CoreImage/CISixfoldReflectedTile.d.ts +8 -8
- package/dist/CoreImage/CISixfoldRotatedTile.d.ts +8 -8
- package/dist/CoreImage/CISmoothLinearGradient.d.ts +8 -8
- package/dist/CoreImage/CISobelGradients.d.ts +2 -2
- package/dist/CoreImage/CISpotColor.d.ts +26 -26
- package/dist/CoreImage/CISpotLight.d.ts +12 -12
- package/dist/CoreImage/CIStarShineGenerator.d.ts +16 -16
- package/dist/CoreImage/CIStraighten.d.ts +4 -4
- package/dist/CoreImage/CIStretchCrop.d.ts +8 -8
- package/dist/CoreImage/CIStripesGenerator.d.ts +10 -10
- package/dist/CoreImage/CISunbeamsGenerator.d.ts +14 -14
- package/dist/CoreImage/CISwipeTransition.d.ts +10 -10
- package/dist/CoreImage/CISystemToneMap.d.ts +6 -6
- package/dist/CoreImage/CITemperatureAndTint.d.ts +6 -6
- package/dist/CoreImage/CITextImageGenerator.d.ts +10 -10
- package/dist/CoreImage/CIThermal.d.ts +2 -2
- package/dist/CoreImage/CIToneCurve.d.ts +14 -14
- package/dist/CoreImage/CIToneMapHeadroom.d.ts +6 -6
- package/dist/CoreImage/CITorusLensDistortion.d.ts +10 -10
- package/dist/CoreImage/CITransitionFilter.d.ts +6 -6
- package/dist/CoreImage/CITriangleKaleidoscope.d.ts +10 -10
- package/dist/CoreImage/CITriangleTile.d.ts +8 -8
- package/dist/CoreImage/CITwelvefoldReflectedTile.d.ts +8 -8
- package/dist/CoreImage/CITwirlDistortion.d.ts +8 -8
- package/dist/CoreImage/CIUnsharpMask.d.ts +6 -6
- package/dist/CoreImage/CIVibrance.d.ts +4 -4
- package/dist/CoreImage/CIVignette.d.ts +6 -6
- package/dist/CoreImage/CIVignetteEffect.d.ts +10 -10
- package/dist/CoreImage/CIVortexDistortion.d.ts +8 -8
- package/dist/CoreImage/CIWhitePointAdjust.d.ts +4 -4
- package/dist/CoreImage/CIXRay.d.ts +2 -2
- package/dist/CoreImage/CIZoomBlur.d.ts +6 -6
- package/dist/CoreLocation/CLLocationPushServiceExtension.d.ts +1 -1
- package/dist/CoreMIDI/MIDICIProfileResponderDelegate.d.ts +2 -2
- package/dist/CoreML/MLBatchProvider.d.ts +2 -2
- package/dist/CoreML/MLCustomLayer.d.ts +4 -4
- package/dist/CoreML/MLCustomModel.d.ts +2 -2
- package/dist/CoreML/MLFeatureProvider.d.ts +2 -2
- package/dist/CoreML/MLModelMetadataKey.d.ts +2 -1
- package/dist/CoreML/MLWritable.d.ts +1 -1
- package/dist/CoreMediaIO/CMIOExtensionDeviceSource.d.ts +3 -3
- package/dist/CoreMediaIO/CMIOExtensionProperty.d.ts +2 -1
- package/dist/CoreMediaIO/CMIOExtensionProviderSource.d.ts +5 -5
- package/dist/CoreMediaIO/CMIOExtensionStreamSource.d.ts +7 -7
- package/dist/CoreMotion/CMWaterSubmersionManagerDelegate.d.ts +4 -4
- package/dist/CoreSpotlight/CSSearchableIndexDelegate.d.ts +2 -2
- package/dist/CoreTelephony/CTSubscriberDelegate.d.ts +1 -1
- package/dist/CoreText/CTAdaptiveImageProviding.d.ts +1 -1
- package/dist/CryptoTokenKit/TKSmartCardTokenDriverDelegate.d.ts +1 -1
- package/dist/CryptoTokenKit/TKTokenDelegate.d.ts +1 -1
- package/dist/DeviceDiscoveryExtension/DDDeviceProtocolString.d.ts +2 -1
- package/dist/DiscRecording/DRFileDataProduction.d.ts +5 -5
- package/dist/DiscRecording/DRTrackDataProduction.d.ts +9 -9
- package/dist/ExternalAccessory/EAWiFiUnconfiguredAccessoryBrowserDelegate.d.ts +4 -4
- package/dist/FSKit/FSFileSystemBase.d.ts +3 -3
- package/dist/FSKit/FSManageableResourceMaintenanceOperations.d.ts +2 -2
- package/dist/FSKit/FSUnaryFileSystemOperations.d.ts +3 -3
- package/dist/FSKit/FSVolumeAccessCheckOperations.d.ts +1 -1
- package/dist/FSKit/FSVolumeItemDeactivation.d.ts +2 -2
- package/dist/FSKit/FSVolumeKernelOffloadedIOOperations.d.ts +4 -4
- package/dist/FSKit/FSVolumeOpenCloseOperations.d.ts +2 -2
- package/dist/FSKit/FSVolumeOperations.d.ts +18 -18
- package/dist/FSKit/FSVolumePathConfOperations.d.ts +4 -4
- package/dist/FSKit/FSVolumePreallocateOperations.d.ts +1 -1
- package/dist/FSKit/FSVolumeReadWriteOperations.d.ts +2 -2
- package/dist/FSKit/FSVolumeRenameOperations.d.ts +1 -1
- package/dist/FSKit/FSVolumeXattrOperations.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderChangeObserver.d.ts +4 -4
- package/dist/FileProvider/NSFileProviderCustomAction.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderDomainIdentifier.d.ts +2 -1
- package/dist/FileProvider/NSFileProviderDomainState.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderEnumerating.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderEnumerationObserver.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderEnumerator.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderExternalVolumeHandling.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderIncrementalContentFetching.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderItem.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderItemDecorating.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderItemDecorationIdentifier.d.ts +2 -1
- package/dist/FileProvider/NSFileProviderKnownFolderSupporting.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderPartialContentFetching.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderPendingSetEnumerator.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderReplicatedExtension.d.ts +7 -7
- package/dist/FileProvider/NSFileProviderSearchEnumerationObserver.d.ts +4 -4
- package/dist/FileProvider/NSFileProviderSearchEnumerator.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderSearchResult.d.ts +7 -7
- package/dist/FileProvider/NSFileProviderSearching.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderServiceSource.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderServicing.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderTestingChildrenEnumeration.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderTestingCollisionResolution.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderTestingContentFetch.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderTestingCreation.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderTestingDeletion.d.ts +5 -5
- package/dist/FileProvider/NSFileProviderTestingIngestion.d.ts +3 -3
- package/dist/FileProvider/NSFileProviderTestingLookup.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderTestingModification.d.ts +6 -6
- package/dist/FileProvider/NSFileProviderTestingOperation.d.ts +9 -9
- package/dist/FileProvider/NSFileProviderThumbnailing.d.ts +1 -1
- package/dist/FileProvider/NSFileProviderUserInfoKey.d.ts +2 -1
- package/dist/FileProvider/NSFileProviderUserInteractionSuppressing.d.ts +2 -2
- package/dist/Foundation/NSArray.d.ts +2 -1
- package/dist/Foundation/NSAttributedStringFormattingContextKey.d.ts +2 -1
- package/dist/Foundation/NSAttributedStringKey.d.ts +2 -1
- package/dist/Foundation/NSBundleResourceRequest.d.ts +3 -0
- package/dist/Foundation/NSCalendarIdentifier.d.ts +2 -1
- package/dist/Foundation/NSCoding.d.ts +2 -2
- package/dist/Foundation/NSCopying.d.ts +1 -1
- package/dist/Foundation/NSDate.d.ts +2 -1
- package/dist/Foundation/NSDecimalNumberBehaviors.d.ts +3 -3
- package/dist/Foundation/NSDictionary.d.ts +3 -1
- package/dist/Foundation/NSDiscardableContent.d.ts +4 -4
- package/dist/Foundation/NSDistantObject.d.ts +3 -0
- package/dist/Foundation/NSDistributedNotificationCenterType.d.ts +2 -1
- package/dist/Foundation/NSExceptionName.d.ts +2 -1
- package/dist/Foundation/NSExpression.d.ts +2 -1
- package/dist/Foundation/NSExtensionRequestHandling.d.ts +1 -1
- package/dist/Foundation/NSFastEnumeration.d.ts +1 -1
- package/dist/Foundation/NSFileAttributeKey.d.ts +2 -1
- package/dist/Foundation/NSFileAttributeType.d.ts +2 -1
- package/dist/Foundation/NSFileHandle.d.ts +3 -0
- package/dist/Foundation/NSFilePresenter.d.ts +2 -2
- package/dist/Foundation/NSFileProtectionType.d.ts +2 -1
- package/dist/Foundation/NSFileProviderServiceName.d.ts +2 -1
- package/dist/Foundation/NSFileSecurity.d.ts +2 -1
- package/dist/Foundation/NSFileWrapper.d.ts +3 -0
- package/dist/Foundation/NSHTTPCookiePropertyKey.d.ts +2 -1
- package/dist/Foundation/NSHTTPCookieStringPolicy.d.ts +2 -1
- package/dist/Foundation/NSItemProviderWriting.d.ts +1 -1
- package/dist/Foundation/NSKeyValueChangeKey.d.ts +2 -1
- package/dist/Foundation/NSKeyValueOperator.d.ts +2 -1
- package/dist/Foundation/NSLinguisticTag.d.ts +2 -1
- package/dist/Foundation/NSLinguisticTagScheme.d.ts +2 -1
- package/dist/Foundation/NSLocale.d.ts +2 -1
- package/dist/Foundation/NSLocaleKey.d.ts +2 -1
- package/dist/Foundation/NSLocking.d.ts +2 -2
- package/dist/Foundation/NSMutableCopying.d.ts +1 -1
- package/dist/Foundation/NSNotification.d.ts +2 -1
- package/dist/Foundation/NSNotificationName.d.ts +2 -1
- package/dist/Foundation/NSOperationQueue.d.ts +3 -0
- package/dist/Foundation/NSOrderedSet.d.ts +2 -1
- package/dist/Foundation/NSOrthography.d.ts +2 -1
- package/dist/Foundation/NSProgressFileOperationKind.d.ts +2 -1
- package/dist/Foundation/NSProgressKind.d.ts +2 -1
- package/dist/Foundation/NSProgressReporting.d.ts +1 -1
- package/dist/Foundation/NSProgressUserInfoKey.d.ts +2 -1
- package/dist/Foundation/NSRunLoopMode.d.ts +2 -1
- package/dist/Foundation/NSScriptCommand.d.ts +3 -0
- package/dist/Foundation/NSScriptCommandDescription.d.ts +3 -0
- package/dist/Foundation/NSScriptObjectSpecifier.d.ts +3 -0
- package/dist/Foundation/NSScriptWhoseTest.d.ts +3 -0
- package/dist/Foundation/NSSet.d.ts +2 -1
- package/dist/Foundation/NSSortDescriptor.d.ts +2 -1
- package/dist/Foundation/NSStreamNetworkServiceTypeValue.d.ts +2 -1
- package/dist/Foundation/NSStreamPropertyKey.d.ts +2 -1
- package/dist/Foundation/NSStreamSOCKSProxyConfiguration.d.ts +2 -1
- package/dist/Foundation/NSStreamSOCKSProxyVersion.d.ts +2 -1
- package/dist/Foundation/NSStreamSocketSecurityLevel.d.ts +2 -1
- package/dist/Foundation/NSString.d.ts +2 -1
- package/dist/Foundation/NSStringEncodingDetectionOptionsKey.d.ts +2 -1
- package/dist/Foundation/NSStringTransform.d.ts +2 -1
- package/dist/Foundation/NSTextCheckingKey.d.ts +2 -1
- package/dist/Foundation/NSURLAuthenticationChallengeSender.d.ts +3 -3
- package/dist/Foundation/NSURLConnectionDownloadDelegate.d.ts +1 -1
- package/dist/Foundation/NSURLFileProtectionType.d.ts +2 -1
- package/dist/Foundation/NSURLFileResourceType.d.ts +2 -1
- package/dist/Foundation/NSURLHandleClient.d.ts +5 -5
- package/dist/Foundation/NSURLProtocolClient.d.ts +8 -8
- package/dist/Foundation/NSURLResourceKey.d.ts +2 -1
- package/dist/Foundation/NSURLSessionDownloadDelegate.d.ts +1 -1
- package/dist/Foundation/NSURLSessionTask.d.ts +2 -1
- package/dist/Foundation/NSURLThumbnailDictionaryItem.d.ts +2 -1
- package/dist/Foundation/NSURLUbiquitousItemDownloadingStatus.d.ts +2 -1
- package/dist/Foundation/NSURLUbiquitousSharedItemPermissions.d.ts +2 -1
- package/dist/Foundation/NSURLUbiquitousSharedItemRole.d.ts +2 -1
- package/dist/Foundation/NSUndoManagerUserInfoKey.d.ts +2 -1
- package/dist/Foundation/NSValue.d.ts +2 -1
- package/dist/Foundation/NSValueTransformerName.d.ts +2 -1
- package/dist/Foundation/NSXPCProxyCreating.d.ts +2 -2
- package/dist/GLKit/GLKBaseEffect.d.ts +3 -0
- package/dist/GLKit/GLKNamedEffect.d.ts +1 -1
- package/dist/GLKit/GLKReflectionMapEffect.d.ts +3 -0
- package/dist/GLKit/GLKSkyboxEffect.d.ts +3 -0
- package/dist/GameController/GCAxis2DInput.d.ts +8 -8
- package/dist/GameController/GCAxisElement.d.ts +2 -2
- package/dist/GameController/GCAxisInput.d.ts +8 -8
- package/dist/GameController/GCButtonElement.d.ts +3 -3
- package/dist/GameController/GCController.d.ts +3 -0
- package/dist/GameController/GCDevice.d.ts +5 -5
- package/dist/GameController/GCDevicePhysicalInput.d.ts +11 -11
- package/dist/GameController/GCDevicePhysicalInputState.d.ts +9 -9
- package/dist/GameController/GCDevicePhysicalInputStateDiff.d.ts +2 -2
- package/dist/GameController/GCDirectionPadElement.d.ts +7 -7
- package/dist/GameController/GCHapticsLocality.d.ts +2 -1
- package/dist/GameController/GCLinearInput.d.ts +9 -9
- package/dist/GameController/GCPhysicalInputElement.d.ts +3 -3
- package/dist/GameController/GCPhysicalInputExtents.d.ts +3 -3
- package/dist/GameController/GCPhysicalInputSource.d.ts +4 -4
- package/dist/GameController/GCPressedStateInput.d.ts +6 -6
- package/dist/GameController/GCRelativeInput.d.ts +7 -7
- package/dist/GameController/GCSwitchElement.d.ts +1 -1
- package/dist/GameController/GCSwitchPositionInput.d.ts +9 -9
- package/dist/GameController/GCTouchedStateInput.d.ts +6 -6
- package/dist/GameKit/GKAchievementViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKChallengesViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKFriendRequestComposeViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKGameCenterControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKLeaderboardViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKMatchmakerViewControllerDelegate.d.ts +2 -2
- package/dist/GameKit/GKTurnBasedEventHandlerDelegate.d.ts +2 -2
- package/dist/GameKit/GKTurnBasedMatchmakerViewControllerDelegate.d.ts +2 -2
- package/dist/GameKit/GKVoiceChatClient.d.ts +2 -2
- package/dist/GameplayKit/GKGameModel.d.ts +5 -5
- package/dist/GameplayKit/GKGameModelPlayer.d.ts +1 -1
- package/dist/GameplayKit/GKGameModelUpdate.d.ts +2 -2
- package/dist/GameplayKit/GKRandom.d.ts +4 -4
- package/dist/GameplayKit/GKRandomDistribution.d.ts +2 -0
- package/dist/GameplayKit/GKStrategist.d.ts +5 -5
- package/dist/HealthKit/HKCategoryTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKCharacteristicTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKClinicalTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKCorrelationTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKDocumentTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKFHIRRelease.d.ts +2 -1
- package/dist/HealthKit/HKFHIRResourceType.d.ts +2 -1
- package/dist/HealthKit/HKHealthConceptDomain.d.ts +2 -1
- package/dist/HealthKit/HKLiveWorkoutBuilderDelegate.d.ts +2 -2
- package/dist/HealthKit/HKQuantityTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKScoredAssessmentTypeIdentifier.d.ts +2 -1
- package/dist/HealthKit/HKVerifiableClinicalRecordCredentialType.d.ts +2 -1
- package/dist/HealthKit/HKVerifiableClinicalRecordSourceType.d.ts +2 -1
- package/dist/HealthKit/HKWorkoutSessionDelegate.d.ts +2 -2
- package/dist/IOSurface/IOSurfacePropertyKey.d.ts +2 -1
- package/dist/IOUSBHost/IOUSBHostDevicePropertyKey.d.ts +2 -1
- package/dist/IOUSBHost/IOUSBHostInterfacePropertyKey.d.ts +2 -1
- package/dist/IOUSBHost/IOUSBHostMatchingPropertyKey.d.ts +2 -1
- package/dist/IdentityLookup/ILMessageFilterCapabilitiesQueryHandling.d.ts +1 -1
- package/dist/IdentityLookup/ILMessageFilterQueryHandling.d.ts +1 -1
- package/dist/ImageCaptureCore/ICAuthorizationStatus.d.ts +2 -1
- package/dist/ImageCaptureCore/ICCameraDeviceDelegate.d.ts +10 -10
- package/dist/ImageCaptureCore/ICCameraItemMetadataOption.d.ts +2 -1
- package/dist/ImageCaptureCore/ICCameraItemThumbnailOption.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeleteError.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeleteResult.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeviceBrowserDelegate.d.ts +2 -2
- package/dist/ImageCaptureCore/ICDeviceCapability.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeviceDelegate.d.ts +3 -3
- package/dist/ImageCaptureCore/ICDeviceLocationOptions.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeviceStatus.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDeviceTransport.d.ts +2 -1
- package/dist/ImageCaptureCore/ICDownloadOption.d.ts +2 -1
- package/dist/ImageCaptureCore/ICSessionOptions.d.ts +2 -1
- package/dist/ImageCaptureCore/ICUploadOption.d.ts +2 -1
- package/dist/InputMethodKit/IMKMouseHandling.d.ts +3 -3
- package/dist/InputMethodKit/IMKStateSetting.d.ts +7 -7
- package/dist/Intents/INActivateCarSignalIntentHandling.d.ts +1 -1
- package/dist/Intents/INAddMediaIntentHandling.d.ts +1 -1
- package/dist/Intents/INAddTasksIntentHandling.d.ts +1 -1
- package/dist/Intents/INAnswerCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INAppendToNoteIntentHandling.d.ts +1 -1
- package/dist/Intents/INBookRestaurantReservationIntentHandling.d.ts +1 -1
- package/dist/Intents/INCancelRideIntentHandling.d.ts +1 -1
- package/dist/Intents/INCancelWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INCarChargingConnectorType.d.ts +2 -1
- package/dist/Intents/INCreateNoteIntentHandling.d.ts +1 -1
- package/dist/Intents/INCreateTaskListIntentHandling.d.ts +1 -1
- package/dist/Intents/INDeleteTasksIntentHandling.d.ts +1 -1
- package/dist/Intents/INEditMessageIntentHandling.d.ts +1 -1
- package/dist/Intents/INEndWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetAvailableRestaurantReservationBookingDefaultsIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetAvailableRestaurantReservationBookingsIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetCarLockStatusIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetCarPowerLevelStatusIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetCarPowerLevelStatusIntentResponseObserver.d.ts +1 -1
- package/dist/Intents/INGetRestaurantGuestIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetRideStatusIntentHandling.d.ts +3 -3
- package/dist/Intents/INGetRideStatusIntentResponseObserver.d.ts +1 -1
- package/dist/Intents/INGetUserCurrentRestaurantReservationBookingsIntentHandling.d.ts +1 -1
- package/dist/Intents/INGetVisualCodeIntentHandling.d.ts +1 -1
- package/dist/Intents/INHangUpCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INIntentHandlerProviding.d.ts +1 -1
- package/dist/Intents/INListCarsIntentHandling.d.ts +1 -1
- package/dist/Intents/INListRideOptionsIntentHandling.d.ts +1 -1
- package/dist/Intents/INPauseWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INPayBillIntentHandling.d.ts +1 -1
- package/dist/Intents/INPersonHandleLabel.d.ts +2 -1
- package/dist/Intents/INPersonRelationship.d.ts +2 -1
- package/dist/Intents/INPlayMediaIntentHandling.d.ts +1 -1
- package/dist/Intents/INRequestPaymentIntentHandling.d.ts +1 -1
- package/dist/Intents/INRequestRideIntentHandling.d.ts +1 -1
- package/dist/Intents/INResumeWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INRideOption.d.ts +2 -1
- package/dist/Intents/INSaveProfileInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchCallHistoryIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForAccountsIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForBillsIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForMediaIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForMessagesIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForNotebookItemsIntentHandling.d.ts +1 -1
- package/dist/Intents/INSearchForPhotosIntentHandling.d.ts +1 -1
- package/dist/Intents/INSendMessageIntentHandling.d.ts +1 -1
- package/dist/Intents/INSendPaymentIntentHandling.d.ts +1 -1
- package/dist/Intents/INSendRideFeedbackIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetAudioSourceInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetCarLockStatusIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetClimateSettingsInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetDefrosterSettingsInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetMessageAttributeIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetProfileInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetRadioStationIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetSeatSettingsInCarIntentHandling.d.ts +1 -1
- package/dist/Intents/INSetTaskAttributeIntentHandling.d.ts +1 -1
- package/dist/Intents/INShareFocusStatusIntentHandling.d.ts +1 -1
- package/dist/Intents/INSnoozeTasksIntentHandling.d.ts +1 -1
- package/dist/Intents/INSpeakable.d.ts +4 -4
- package/dist/Intents/INStartAudioCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INStartCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INStartPhotoPlaybackIntentHandling.d.ts +1 -1
- package/dist/Intents/INStartVideoCallIntentHandling.d.ts +1 -1
- package/dist/Intents/INStartWorkoutIntentHandling.d.ts +1 -1
- package/dist/Intents/INTransferMoneyIntentHandling.d.ts +1 -1
- package/dist/Intents/INUnsendMessagesIntentHandling.d.ts +1 -1
- package/dist/Intents/INUpdateMediaAffinityIntentHandling.d.ts +1 -1
- package/dist/Intents/INWorkoutNameIdentifier.d.ts +2 -1
- package/dist/IntentsUI/INUIAddVoiceShortcutButtonDelegate.d.ts +2 -2
- package/dist/IntentsUI/INUIAddVoiceShortcutViewControllerDelegate.d.ts +2 -2
- package/dist/IntentsUI/INUIEditVoiceShortcutViewControllerDelegate.d.ts +3 -3
- package/dist/JavaRuntimeSupport/JRSRemoteLayer.d.ts +1 -1
- package/dist/MailKit/MEComposeSessionHandler.d.ts +3 -3
- package/dist/MailKit/MEContentBlocker.d.ts +1 -1
- package/dist/MailKit/MEMessageActionHandler.d.ts +1 -1
- package/dist/MailKit/MEMessageDecoder.d.ts +1 -1
- package/dist/MailKit/MEMessageEncoder.d.ts +2 -2
- package/dist/MailKit/MEMessageSecurityHandler.d.ts +3 -3
- package/dist/MapKit/MKAnnotation.d.ts +1 -1
- package/dist/MapKit/MKMapCameraBoundary.d.ts +2 -1
- package/dist/MapKit/MKMapItemDetailViewControllerDelegate.d.ts +1 -1
- package/dist/MapKit/MKOverlay.d.ts +2 -2
- package/dist/MapKit/MKPointOfInterestCategory.d.ts +2 -1
- package/dist/Matter/MTRCommissionableBrowserDelegate.d.ts +2 -2
- package/dist/Matter/MTRCommissioningDelegate.d.ts +1 -1
- package/dist/Matter/MTRDeviceControllerClientProtocol.d.ts +1 -1
- package/dist/Matter/MTRDeviceControllerServerProtocol.d.ts +8 -8
- package/dist/Matter/MTRDeviceControllerStorageDelegate.d.ts +3 -3
- package/dist/Matter/MTRDeviceDelegate.d.ts +3 -3
- package/dist/Matter/MTRNOCChainIssuer.d.ts +1 -1
- package/dist/Matter/MTROperationalCertificateIssuer.d.ts +2 -2
- package/dist/Matter/MTRStorage.d.ts +3 -3
- package/dist/Matter/MTRXPCClientProtocol_MTRDevice.d.ts +7 -7
- package/dist/Matter/MTRXPCServerProtocol_MTRDevice.d.ts +10 -10
- package/dist/MediaExtension/MEFormatReader.d.ts +3 -3
- package/dist/MediaExtension/MEFormatReaderExtension.d.ts +2 -2
- package/dist/MediaExtension/MERAWProcessor.d.ts +3 -3
- package/dist/MediaExtension/MERAWProcessorExtension.d.ts +2 -2
- package/dist/MediaExtension/MESampleCursor.d.ts +8 -8
- package/dist/MediaExtension/METrackReader.d.ts +4 -4
- package/dist/MediaExtension/MEVideoDecoder.d.ts +2 -2
- package/dist/MediaExtension/MEVideoDecoderExtension.d.ts +2 -2
- package/dist/MediaPlayer/MPMediaPlayback.d.ts +12 -12
- package/dist/MediaPlayer/MPPlayableContentDataSource.d.ts +2 -2
- package/dist/MediaPlayer/MPSystemMusicPlayerController.d.ts +1 -1
- package/dist/Metal/MTL4Archive.d.ts +7 -7
- package/dist/Metal/MTL4ArgumentTable.d.ts +7 -7
- package/dist/Metal/MTL4BinaryFunction.d.ts +2 -2
- package/dist/Metal/MTL4CommandAllocator.d.ts +4 -4
- package/dist/Metal/MTL4CommandBuffer.d.ts +16 -16
- package/dist/Metal/MTL4CommandEncoder.d.ts +12 -12
- package/dist/Metal/MTL4CommandQueue.d.ts +16 -16
- package/dist/Metal/MTL4CommitFeedback.d.ts +3 -3
- package/dist/Metal/MTL4Compiler.d.ts +23 -23
- package/dist/Metal/MTL4CompilerTask.d.ts +3 -3
- package/dist/Metal/MTL4ComputeCommandEncoder.d.ts +36 -36
- package/dist/Metal/MTL4CounterHeap.d.ts +6 -6
- package/dist/Metal/MTL4MachineLearningCommandEncoder.d.ts +3 -3
- package/dist/Metal/MTL4MachineLearningPipelineState.d.ts +4 -4
- package/dist/Metal/MTL4PipelineDataSetSerializer.d.ts +2 -2
- package/dist/Metal/MTL4RenderCommandEncoder.d.ts +41 -41
- package/dist/Metal/MTLAccelerationStructure.d.ts +2 -2
- package/dist/Metal/MTLAccelerationStructureCommandEncoder.d.ts +14 -14
- package/dist/Metal/MTLAllocation.d.ts +1 -1
- package/dist/Metal/MTLArgumentEncoder.d.ts +28 -28
- package/dist/Metal/MTLBinaryArchive.d.ts +10 -10
- package/dist/Metal/MTLBinding.d.ts +6 -6
- package/dist/Metal/MTLBlitCommandEncoder.d.ts +24 -24
- package/dist/Metal/MTLBuffer.d.ts +11 -11
- package/dist/Metal/MTLBufferBinding.d.ts +5 -5
- package/dist/Metal/MTLCaptureScope.d.ts +7 -7
- package/dist/Metal/MTLCommandBuffer.d.ts +39 -39
- package/dist/Metal/MTLCommandBufferEncoderInfo.d.ts +3 -3
- package/dist/Metal/MTLCommandEncoder.d.ts +8 -8
- package/dist/Metal/MTLCommandQueue.d.ts +11 -11
- package/dist/Metal/MTLComputeCommandEncoder.d.ts +39 -39
- package/dist/Metal/MTLComputePipelineState.d.ts +18 -18
- package/dist/Metal/MTLCounter.d.ts +1 -1
- package/dist/Metal/MTLCounterSampleBuffer.d.ts +4 -4
- package/dist/Metal/MTLCounterSet.d.ts +2 -2
- package/dist/Metal/MTLDepthStencilState.d.ts +3 -3
- package/dist/Metal/MTLDevice.d.ts +136 -136
- package/dist/Metal/MTLDeviceNotificationName.d.ts +2 -1
- package/dist/Metal/MTLDrawable.d.ts +6 -6
- package/dist/Metal/MTLDynamicLibrary.d.ts +5 -5
- package/dist/Metal/MTLEvent.d.ts +3 -3
- package/dist/Metal/MTLFence.d.ts +3 -3
- package/dist/Metal/MTLFunction.d.ts +13 -13
- package/dist/Metal/MTLFunctionHandle.d.ts +4 -4
- package/dist/Metal/MTLFunctionLog.d.ts +4 -4
- package/dist/Metal/MTLFunctionLogDebugLocation.d.ts +4 -4
- package/dist/Metal/MTLHeap.d.ts +21 -21
- package/dist/Metal/MTLIOCommandBuffer.d.ts +18 -18
- package/dist/Metal/MTLIOCommandQueue.d.ts +5 -5
- package/dist/Metal/MTLIOFileHandle.d.ts +2 -2
- package/dist/Metal/MTLIOScratchBuffer.d.ts +1 -1
- package/dist/Metal/MTLIOScratchBufferAllocator.d.ts +1 -1
- package/dist/Metal/MTLIndirectCommandBuffer.d.ts +5 -5
- package/dist/Metal/MTLIndirectComputeCommand.d.ts +11 -11
- package/dist/Metal/MTLIndirectRenderCommand.d.ts +22 -22
- package/dist/Metal/MTLIntersectionFunctionTable.d.ts +11 -11
- package/dist/Metal/MTLLibrary.d.ts +14 -14
- package/dist/Metal/MTLLogState.d.ts +1 -1
- package/dist/Metal/MTLObjectPayloadBinding.d.ts +2 -2
- package/dist/Metal/MTLParallelRenderCommandEncoder.d.ts +7 -7
- package/dist/Metal/MTLRasterizationRateMap.d.ts +10 -10
- package/dist/Metal/MTLRenderCommandEncoder.d.ts +131 -131
- package/dist/Metal/MTLRenderPipelineState.d.ts +26 -26
- package/dist/Metal/MTLResidencySet.d.ts +14 -14
- package/dist/Metal/MTLResource.d.ts +14 -14
- package/dist/Metal/MTLResourceViewPool.d.ts +5 -5
- package/dist/Metal/MTLSamplerState.d.ts +3 -3
- package/dist/Metal/MTLSharedEvent.d.ts +5 -5
- package/dist/Metal/MTLTensor.d.ts +9 -9
- package/dist/Metal/MTLTensorBinding.d.ts +3 -3
- package/dist/Metal/MTLTexture.d.ts +36 -36
- package/dist/Metal/MTLTextureBinding.d.ts +4 -4
- package/dist/Metal/MTLTextureViewPool.d.ts +3 -3
- package/dist/Metal/MTLThreadgroupBinding.d.ts +2 -2
- package/dist/Metal/MTLVisibleFunctionTable.d.ts +3 -3
- package/dist/MetalFX/MTL4FXFrameInterpolator.d.ts +1 -1
- package/dist/MetalFX/MTL4FXSpatialScaler.d.ts +1 -1
- package/dist/MetalFX/MTL4FXTemporalDenoisedScaler.d.ts +1 -1
- package/dist/MetalFX/MTL4FXTemporalScaler.d.ts +1 -1
- package/dist/MetalFX/MTLFXFrameInterpolator.d.ts +1 -1
- package/dist/MetalFX/MTLFXFrameInterpolatorBase.d.ts +52 -52
- package/dist/MetalFX/MTLFXSpatialScaler.d.ts +1 -1
- package/dist/MetalFX/MTLFXSpatialScalerBase.d.ts +19 -19
- package/dist/MetalFX/MTLFXTemporalDenoisedScaler.d.ts +1 -1
- package/dist/MetalFX/MTLFXTemporalDenoisedScalerBase.d.ts +76 -76
- package/dist/MetalFX/MTLFXTemporalScaler.d.ts +1 -1
- package/dist/MetalFX/MTLFXTemporalScalerBase.d.ts +48 -48
- package/dist/MetalKit/MTKModelError.d.ts +2 -1
- package/dist/MetalKit/MTKTextureLoaderCubeLayout.d.ts +2 -1
- package/dist/MetalKit/MTKTextureLoaderError.d.ts +2 -1
- package/dist/MetalKit/MTKTextureLoaderOption.d.ts +2 -1
- package/dist/MetalKit/MTKTextureLoaderOrigin.d.ts +2 -1
- package/dist/MetalKit/MTKViewDelegate.d.ts +2 -2
- package/dist/ModelIO/MDLAssetResolver.d.ts +2 -2
- package/dist/ModelIO/MDLLightProbeIrradianceDataSource.d.ts +2 -2
- package/dist/ModelIO/MDLMaterial.d.ts +2 -1
- package/dist/ModelIO/MDLMaterialProperty.d.ts +2 -1
- package/dist/ModelIO/MDLMeshBuffer.d.ts +6 -6
- package/dist/ModelIO/MDLMeshBufferAllocator.d.ts +6 -6
- package/dist/ModelIO/MDLMeshBufferZone.d.ts +2 -2
- package/dist/ModelIO/MDLMeshBufferZoneDefault.d.ts +3 -0
- package/dist/ModelIO/MDLNamed.d.ts +2 -2
- package/dist/ModelIO/MDLObjectContainerComponent.d.ts +5 -5
- package/dist/ModelIO/MDLScatteringFunction.d.ts +3 -0
- package/dist/ModelIO/MDLSubmesh.d.ts +3 -0
- package/dist/ModelIO/MDLTransformComponent.d.ts +7 -7
- package/dist/ModelIO/MDLTransformMatrixOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformOp.d.ts +4 -4
- package/dist/ModelIO/MDLTransformOrientOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformRotateOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformRotateXOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformRotateYOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformRotateZOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformScaleOp.d.ts +3 -0
- package/dist/ModelIO/MDLTransformStack.d.ts +2 -1
- package/dist/ModelIO/MDLTransformTranslateOp.d.ts +3 -0
- package/dist/MultipeerConnectivity/MCBrowserViewControllerDelegate.d.ts +2 -2
- package/dist/MultipeerConnectivity/MCNearbyServiceAdvertiserDelegate.d.ts +1 -1
- package/dist/MultipeerConnectivity/MCNearbyServiceBrowserDelegate.d.ts +2 -2
- package/dist/MultipeerConnectivity/MCSessionDelegate.d.ts +5 -5
- package/dist/NaturalLanguage/NLContextualEmbeddingKey.d.ts +2 -1
- package/dist/NaturalLanguage/NLLanguage.d.ts +2 -1
- package/dist/NaturalLanguage/NLScript.d.ts +2 -1
- package/dist/NaturalLanguage/NLTag.d.ts +2 -1
- package/dist/NaturalLanguage/NLTagScheme.d.ts +2 -1
- package/dist/NearbyInteraction/NIAlgorithmConvergenceStatusReason.d.ts +2 -1
- package/dist/NearbyInteraction/NIDeviceCapability.d.ts +5 -5
- package/dist/NetworkExtension/NEAppPushDelegate.d.ts +1 -1
- package/dist/NotificationCenter/NCWidgetListViewDelegate.d.ts +1 -1
- package/dist/NotificationCenter/NCWidgetSearchViewDelegate.d.ts +3 -3
- package/dist/OSLog/OSLogEntryFromProcess.d.ts +5 -5
- package/dist/OSLog/OSLogEntryWithPayload.d.ts +4 -4
- package/dist/OpenDirectory/ODQueryDelegate.d.ts +1 -1
- package/dist/PDFKit/PDFDocumentAttribute.d.ts +2 -1
- package/dist/PDFKit/PDFDocumentWriteOption.d.ts +2 -1
- package/dist/PDFKit/PDFPageOverlayViewProvider.d.ts +1 -1
- package/dist/PHASE/PHASESpatialCategory.d.ts +2 -1
- package/dist/ParavirtualizedGraphics/PGDevice.d.ts +11 -11
- package/dist/ParavirtualizedGraphics/PGDisplay.d.ts +17 -17
- package/dist/PassKit/PKContactField.d.ts +2 -1
- package/dist/PassKit/PKDisbursementErrorKey.d.ts +2 -1
- package/dist/PassKit/PKEncryptionScheme.d.ts +2 -1
- package/dist/PassKit/PKIdentityDocumentDescriptor.d.ts +3 -3
- package/dist/PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.d.ts +2 -2
- package/dist/PassKit/PKPassLibraryNotificationKey.d.ts +2 -1
- package/dist/PassKit/PKPaymentAuthorizationControllerDelegate.d.ts +2 -2
- package/dist/PassKit/PKPaymentAuthorizationViewControllerDelegate.d.ts +1 -1
- package/dist/PassKit/PKPaymentErrorKey.d.ts +2 -1
- package/dist/PassKit/PKPaymentInformationRequestHandling.d.ts +3 -3
- package/dist/PassKit/PKStoredValuePassBalanceType.d.ts +2 -1
- package/dist/PassKit/PKVehicleConnectionDelegate.d.ts +2 -2
- package/dist/PencilKit/PKInkType.d.ts +2 -1
- package/dist/Photos/PHLivePhotoFrame.d.ts +4 -4
- package/dist/Photos/PHPhotoLibraryAvailabilityObserver.d.ts +1 -1
- package/dist/Photos/PHPhotoLibraryChangeObserver.d.ts +1 -1
- package/dist/PhotosUI/PHContentEditingController.d.ts +5 -5
- package/dist/PhotosUI/PHPickerViewControllerDelegate.d.ts +1 -1
- package/dist/PhotosUI/PHProjectCategory.d.ts +2 -1
- package/dist/PhotosUI/PHProjectExtensionController.d.ts +3 -3
- package/dist/PhotosUI/PHProjectTypeDescriptionDataSource.d.ts +3 -3
- package/dist/PhotosUI/PHProjectTypeDescriptionInvalidator.d.ts +2 -2
- package/dist/PushKit/PKPushRegistryDelegate.d.ts +1 -1
- package/dist/PushKit/PKPushType.d.ts +2 -1
- package/dist/QuartzCore/CAAction.d.ts +1 -1
- package/dist/QuartzCore/CAAnimationCalculationMode.d.ts +2 -1
- package/dist/QuartzCore/CAAnimationRotationMode.d.ts +2 -1
- package/dist/QuartzCore/CADynamicRange.d.ts +2 -1
- package/dist/QuartzCore/CAEmitterLayerEmitterMode.d.ts +2 -1
- package/dist/QuartzCore/CAEmitterLayerEmitterShape.d.ts +2 -1
- package/dist/QuartzCore/CAEmitterLayerRenderMode.d.ts +2 -1
- package/dist/QuartzCore/CAGradientLayerType.d.ts +2 -1
- package/dist/QuartzCore/CALayerContentsFilter.d.ts +2 -1
- package/dist/QuartzCore/CALayerContentsFormat.d.ts +2 -1
- package/dist/QuartzCore/CALayerContentsGravity.d.ts +2 -1
- package/dist/QuartzCore/CALayerCornerCurve.d.ts +2 -1
- package/dist/QuartzCore/CAMediaTiming.d.ts +16 -16
- package/dist/QuartzCore/CAMediaTimingFillMode.d.ts +2 -1
- package/dist/QuartzCore/CAMediaTimingFunctionName.d.ts +2 -1
- package/dist/QuartzCore/CAMetalDisplayLinkDelegate.d.ts +1 -1
- package/dist/QuartzCore/CAMetalDrawable.d.ts +2 -2
- package/dist/QuartzCore/CAScrollLayerScrollMode.d.ts +2 -1
- package/dist/QuartzCore/CAShapeLayerFillRule.d.ts +2 -1
- package/dist/QuartzCore/CAShapeLayerLineCap.d.ts +2 -1
- package/dist/QuartzCore/CAShapeLayerLineJoin.d.ts +2 -1
- package/dist/QuartzCore/CATextLayerAlignmentMode.d.ts +2 -1
- package/dist/QuartzCore/CATextLayerTruncationMode.d.ts +2 -1
- package/dist/QuartzCore/CAToneMapMode.d.ts +2 -1
- package/dist/QuartzCore/CATransitionSubtype.d.ts +2 -1
- package/dist/QuartzCore/CATransitionType.d.ts +2 -1
- package/dist/QuartzCore/CAValueFunctionName.d.ts +2 -1
- package/dist/QuickLookUI/QLPreviewItem.d.ts +1 -1
- package/dist/QuickLookUI/QLPreviewPanelDataSource.d.ts +2 -2
- package/dist/ReplayKit/RPBroadcastActivityControllerDelegate.d.ts +1 -1
- package/dist/SceneKit/SCNActionable.d.ts +9 -9
- package/dist/SceneKit/SCNAnimatable.d.ts +14 -14
- package/dist/SceneKit/SCNBoundingVolume.d.ts +3 -3
- package/dist/SceneKit/SCNBufferStream.d.ts +1 -1
- package/dist/SceneKit/SCNCameraControlConfiguration.d.ts +12 -12
- package/dist/SceneKit/SCNHitTestOption.d.ts +2 -1
- package/dist/SceneKit/SCNLightType.d.ts +2 -1
- package/dist/SceneKit/SCNLightingModel.d.ts +2 -1
- package/dist/SceneKit/SCNParticleProperty.d.ts +2 -1
- package/dist/SceneKit/SCNPhysicsShapeOption.d.ts +2 -1
- package/dist/SceneKit/SCNPhysicsShapeType.d.ts +2 -1
- package/dist/SceneKit/SCNPhysicsTestOption.d.ts +2 -1
- package/dist/SceneKit/SCNPhysicsTestSearchMode.d.ts +2 -1
- package/dist/SceneKit/SCNRenderer.d.ts +2 -1
- package/dist/SceneKit/SCNSceneAttribute.d.ts +2 -1
- package/dist/SceneKit/SCNSceneRenderer.d.ts +51 -51
- package/dist/SceneKit/SCNSceneSourceAnimationImportPolicy.d.ts +2 -1
- package/dist/SceneKit/SCNSceneSourceLoadingOption.d.ts +2 -1
- package/dist/SceneKit/SCNShaderModifierEntryPoint.d.ts +2 -1
- package/dist/SceneKit/SCNTechniqueSupport.d.ts +2 -2
- package/dist/SceneKit/SCNView.d.ts +2 -1
- package/dist/SceneKit/SCNViewOption.d.ts +2 -1
- package/dist/ScreenCaptureKit/SCContentSharingPickerObserver.d.ts +3 -3
- package/dist/ScreenCaptureKit/SCStreamFrameInfo.d.ts +2 -1
- package/dist/ScreenTime/STWebHistoryProfileIdentifier.d.ts +2 -1
- package/dist/ScriptingBridge/SBApplicationDelegate.d.ts +1 -1
- package/dist/SensorKit/SRDeviceUsageCategoryKey.d.ts +2 -1
- package/dist/SensorKit/SRPhotoplethysmogramOpticalSampleCondition.d.ts +2 -1
- package/dist/SensorKit/SRPhotoplethysmogramSampleUsage.d.ts +2 -1
- package/dist/SensorKit/SRSensor.d.ts +2 -1
- package/dist/SharedWithYou/SWHighlightCenterDelegate.d.ts +1 -1
- package/dist/SharedWithYou/SWHighlightChangeEvent.d.ts +3 -0
- package/dist/SharedWithYou/SWHighlightEvent.d.ts +1 -1
- package/dist/SharedWithYouCore/SWCollaborationActionHandler.d.ts +2 -2
- package/dist/SharedWithYouCore/SWCollaborationIdentifier.d.ts +2 -1
- package/dist/SharedWithYouCore/SWLocalCollaborationIdentifier.d.ts +2 -1
- package/dist/ShazamKit/SHMediaItemProperty.d.ts +2 -1
- package/dist/SoundAnalysis/SNClassifierIdentifier.d.ts +2 -1
- package/dist/SoundAnalysis/SNResultsObserving.d.ts +1 -1
- package/dist/SpriteKit/SKKeyframeSequence.d.ts +2 -1
- package/dist/SpriteKit/SKWarpable.d.ts +4 -4
- package/dist/StoreKit/SKAdNetworkCoarseConversionValue.d.ts +2 -1
- package/dist/StoreKit/SKCloudServiceSetupAction.d.ts +2 -1
- package/dist/StoreKit/SKCloudServiceSetupMessageIdentifier.d.ts +2 -1
- package/dist/StoreKit/SKCloudServiceSetupOptionsKey.d.ts +2 -1
- package/dist/StoreKit/SKPaymentTransactionObserver.d.ts +1 -1
- package/dist/StoreKit/SKProductsRequestDelegate.d.ts +1 -1
- package/dist/SyncServices/ISyncConflictPropertyType.d.ts +7 -7
- package/dist/SyncServices/ISyncFiltering.d.ts +3 -3
- package/dist/SyncServices/ISyncSessionDriverDataSource.d.ts +7 -7
- package/dist/SystemExtensions/OSSystemExtensionRequestDelegate.d.ts +4 -4
- package/dist/UserNotificationsUI/UNNotificationContentExtension.d.ts +1 -1
- package/dist/VideoSubscriberAccount/VSAccountManagerDelegate.d.ts +2 -2
- package/dist/VideoSubscriberAccount/VSCheckAccessOption.d.ts +2 -1
- package/dist/VideoToolbox/VTFrameProcessorConfiguration.d.ts +3 -3
- package/dist/VideoToolbox/VTFrameProcessorParameters.d.ts +1 -1
- package/dist/VideoToolbox/VTFrameRateConversionConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTLowLatencyFrameInterpolationConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTLowLatencySuperResolutionScalerConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTMotionBlurConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTOpticalFlowConfiguration.d.ts +3 -0
- package/dist/VideoToolbox/VTOpticalFlowParameters.d.ts +3 -0
- package/dist/VideoToolbox/VTSuperResolutionScalerConfiguration.d.ts +3 -0
- package/dist/Virtualization/VZUSBDevice.d.ts +2 -2
- package/dist/Virtualization/VZUSBDeviceConfiguration.d.ts +2 -2
- package/dist/Vision/VNAnimalIdentifier.d.ts +2 -1
- package/dist/Vision/VNBarcodeSymbology.d.ts +2 -1
- package/dist/Vision/VNComputeStage.d.ts +2 -1
- package/dist/Vision/VNFaceObservationAccepting.d.ts +2 -2
- package/dist/Vision/VNImageOption.d.ts +2 -1
- package/dist/Vision/VNRecognizedPointGroupKey.d.ts +2 -1
- package/dist/Vision/VNRecognizedPointKey.d.ts +2 -1
- package/dist/Vision/VNRequestProgressProviding.d.ts +3 -3
- package/dist/Vision/VNRequestRevisionProviding.d.ts +1 -1
- package/dist/Vision/VNVideoProcessingOption.d.ts +2 -1
- package/dist/WebKit/DOMEventListener.d.ts +1 -1
- package/dist/WebKit/DOMEventTarget.d.ts +5 -5
- package/dist/WebKit/DOMNodeFilter.d.ts +1 -1
- package/dist/WebKit/DOMXPathNSResolver.d.ts +1 -1
- package/dist/WebKit/WKDownloadDelegate.d.ts +1 -1
- package/dist/WebKit/WKScriptMessageHandler.d.ts +1 -1
- package/dist/WebKit/WKScriptMessageHandlerWithReply.d.ts +1 -1
- package/dist/WebKit/WKURLSchemeHandler.d.ts +2 -2
- package/dist/WebKit/WKURLSchemeTask.d.ts +5 -5
- package/dist/WebKit/WKWebExtensionContextNotificationUserInfoKey.d.ts +2 -1
- package/dist/WebKit/WKWebExtensionDataType.d.ts +2 -1
- package/dist/WebKit/WKWebExtensionPermission.d.ts +2 -1
- package/dist/WebKit/WebDocumentRepresentation.d.ts +7 -7
- package/dist/WebKit/WebDocumentSearching.d.ts +1 -1
- package/dist/WebKit/WebDocumentText.d.ts +7 -7
- package/dist/WebKit/WebDocumentView.d.ts +6 -6
- package/dist/WebKit/WebOpenPanelResultListener.d.ts +3 -3
- package/dist/WebKit/WebPolicyDecisionListener.d.ts +3 -3
- package/dist/helpers.d.ts +10 -1
- package/dist/subclass.d.ts +27 -11
- package/dist/subclass.js +11 -4
- package/generator/ast-parser.ts +80 -4
- package/generator/custom.ts +12 -7
- package/generator/emitter.ts +20 -17
- package/generator/templates/helpers.ts +12 -2
- package/generator/templates/subclass.ts +35 -11
- package/generator/type-mapper.ts +29 -0
- package/package.json +1 -1
|
@@ -21,145 +21,145 @@ export interface _MTL4ComputeCommandEncoder extends _MTL4CommandEncoder {
|
|
|
21
21
|
/**
|
|
22
22
|
* Queries a bitmask representing the shader stages on which commands currently present in this command encoder operate. Metal dynamically updates this property based on the commands you encode into the command encoder, for example, it sets the bit ``MTLStages/MTLStageDispatch`` if this encoder contains any commands that dispatch a compute kernel. Similarly, it sets the bit ``MTLStages/MTLStageBlit`` if this encoder contains any commands to copy or modify buffers, textures, or indirect command buffers. Finally, Metal sets the bit ``MTLStages/MTLStageAccelerationStructure`` if this encoder contains any commands that build, copy, or refit acceleration structures. - Returns: a bitmask representing shader stages that commands currently present in this command encoder operate on.
|
|
23
23
|
*/
|
|
24
|
-
stages
|
|
24
|
+
stages(): MTLStages;
|
|
25
25
|
/**
|
|
26
26
|
* Configures this encoder with a compute pipeline state that applies to your subsequent dispatch commands. - Parameter state: a non-`nil` ``MTLComputePipelineState``.
|
|
27
27
|
*/
|
|
28
|
-
setComputePipelineState
|
|
28
|
+
setComputePipelineState$(state: _MTLComputePipelineState): void;
|
|
29
29
|
/**
|
|
30
30
|
* Configures the size of a threadgroup memory buffer for a threadgroup argument in the compute shader function. - Parameters: - length: The size of the threadgroup memory, in bytes. Use a multiple of `16` bytes. - index: An integer that corresponds to the index of the argument you annotate with attribute `[[threadgroup(index)]]` in the shader function.
|
|
31
31
|
*/
|
|
32
|
-
setThreadgroupMemoryLength$atIndex
|
|
32
|
+
setThreadgroupMemoryLength$atIndex$(length: number, index: number): void;
|
|
33
33
|
/**
|
|
34
34
|
* Specifies the size, in pixels, of imageblock data in tile memory. - Parameters: - width: The width of the imageblock, in pixels. - height: The height of the imageblock, in pixels.
|
|
35
35
|
*/
|
|
36
|
-
setImageblockWidth$height
|
|
36
|
+
setImageblockWidth$height$(width: number, height: number): void;
|
|
37
37
|
/**
|
|
38
38
|
* Encodes a compute dispatch command using an arbitrarily-sized grid. - Parameters: - threadsPerGrid: An ``MTLSize`` instance that represents the number of threads in the grid, in each dimension. - threadsPerThreadgroup: An ``MTLSize`` instance that represents the number of threads in one threadgroup, in each dimension.
|
|
39
39
|
*/
|
|
40
|
-
dispatchThreads$threadsPerThreadgroup
|
|
40
|
+
dispatchThreads$threadsPerThreadgroup$(threadsPerGrid: MTLSize, threadsPerThreadgroup: MTLSize): void;
|
|
41
41
|
/**
|
|
42
42
|
* Encodes a compute dispatch command with a grid that aligns to threadgroup boundaries. - Parameters: - threadgroupsPerGrid: An ``MTLSize`` instance that represents the number of threadgroups in the grid, in each dimension. - threadsPerThreadgroup: An ``MTLSize`` instance that represents the number of threads in one threadgroup, in each dimension.
|
|
43
43
|
*/
|
|
44
|
-
dispatchThreadgroups$threadsPerThreadgroup
|
|
44
|
+
dispatchThreadgroups$threadsPerThreadgroup$(threadgroupsPerGrid: MTLSize, threadsPerThreadgroup: MTLSize): void;
|
|
45
45
|
/**
|
|
46
46
|
* Encodes a compute dispatch command with a grid that aligns to threadgroup boundaries, using an indirect buffer for arguments. This method allows you to supply the threadgroups-per-grid counts indirectly via an ``MTLBuffer`` index. This enables you to calculate this value in the GPU timeline from a shader function, enabling GPU-driven workflows. Metal assumes that the buffer contents correspond to the layout of struct ``MTLDispatchThreadgroupsIndirectArguments``. You are responsible for ensuring this address aligns to 4-bytes. Use an instance of ``MTLResidencySet`` to mark residency of the indirect buffer that the `indirectBuffer` parameter references. - Parameters: - indirectBuffer: GPUAddress of a ``MTLBuffer`` instance providing compute parameters. Lay out the data in this buffer as described in the ``MTLDispatchThreadgroupsIndirectArguments`` structure. This address requires 4-byte alignment. - threadsPerThreadgroup: A ``MTLSize`` instance that represents the number of threads in one threadgroup, in each dimension.
|
|
47
47
|
*/
|
|
48
|
-
dispatchThreadgroupsWithIndirectBuffer$threadsPerThreadgroup
|
|
48
|
+
dispatchThreadgroupsWithIndirectBuffer$threadsPerThreadgroup$(indirectBuffer: number, threadsPerThreadgroup: MTLSize): void;
|
|
49
49
|
/**
|
|
50
50
|
* Encodes a compute dispatch command with an arbitrarily sized grid, using an indirect buffer for arguments. - Parameters: - indirectBuffer: GPUAddress of a ``MTLBuffer`` instance providing arguments. Lay out the data in this buffer as described in the ``MTLDispatchThreadsIndirectArguments`` structure. This address requires 4-byte alignment.
|
|
51
51
|
*/
|
|
52
|
-
dispatchThreadsWithIndirectBuffer
|
|
52
|
+
dispatchThreadsWithIndirectBuffer$(indirectBuffer: number): void;
|
|
53
53
|
/**
|
|
54
54
|
* Encodes a command to execute a series of commands from an indirect command buffer. - Parameters: - indirectCommandBuffer: ``MTLIndirectCommandBuffer`` instance containing the commands to execute. - executionRange: The range of commands to execute.
|
|
55
55
|
*/
|
|
56
|
-
executeCommandsInBuffer$withRange
|
|
56
|
+
executeCommandsInBuffer$withRange$(indirectCommandBuffer: _MTLIndirectCommandBuffer, executionRange: NSRange): void;
|
|
57
57
|
/**
|
|
58
58
|
* Encodes an instruction to execute commands from an indirect command buffer, using an indirect buffer for arguments. Use an instance of ``MTLResidencySet`` to mark residency of the indirect buffer that the `indirectRangeBuffer` parameter references. - Parameters: - indirectCommandbuffer: ``MTLIndirectCommandBuffer`` instance containing the commands to execute. - indirectRangeBuffer: GPUAddress of a ``MTLBuffer`` containing the execution range. Lay out the data in this buffer as described in the ``MTLIndirectCommandBufferExecutionRange`` structure. This address requires 4-byte alignment.
|
|
59
59
|
*/
|
|
60
|
-
executeCommandsInBuffer$indirectBuffer
|
|
60
|
+
executeCommandsInBuffer$indirectBuffer$(indirectCommandbuffer: _MTLIndirectCommandBuffer, indirectRangeBuffer: number): void;
|
|
61
61
|
/**
|
|
62
62
|
* Encodes a command that copies data from a texture to another. - Parameters: - sourceTexture: An ``MTLTexture`` instance the command copies data from. - destinationTexture: Another ``MTLTexture`` instance the command copies the data into that has the same ``MTLTexture/pixelFormat`` and ``MTLTexture/sampleCount`` as `sourceTexture`.
|
|
63
63
|
*/
|
|
64
|
-
copyFromTexture$toTexture
|
|
64
|
+
copyFromTexture$toTexture$(sourceTexture: _MTLTexture, destinationTexture: _MTLTexture): void;
|
|
65
65
|
/**
|
|
66
66
|
* Encodes a command that copies slices of a texture to slices of another texture. - Parameters: - sourceTexture: A ``MTLTexture`` texture that the command copies data from. To read the source texture contents, you need to set its ``MTLTexture/framebufferOnly`` property to <doc ://com.apple.documentation/documentation/swift/false> prior to drawing into it. - sourceSlice: A slice within `sourceTexture` the command uses as a starting point to copy data from. Set this to `0` if `sourceTexture` isn’t a texture array or a cube texture. - sourceLevel: A mipmap level within `sourceTexture`. - destinationTexture: Another ``MTLTexture`` the command copies the data to that has the same ``MTLTexture/pixelFormat`` and ``MTLTexture/sampleCount`` as `sourceTexture`. To write the contents into this texture, you need to set its ``MTLTexture/framebufferOnly`` property to <doc ://com.apple.documentation/documentation/swift/false>. - destinationSlice: A slice within `destinationTexture` the command uses as its starting point for copying data to. Set this to `0` if `destinationTexture` isn’t a texture array or a cube texture. - destinationLevel: A mipmap level within `destinationTexture`. The mipmap level you reference needs to have the same size as the `sourceTexture` slice's mipmap at `sourceLevel`. - sliceCount: The number of slices the command copies so that it satisfies the conditions that the sum of `sourceSlice` and `sliceCount` doesn’t exceed the number of slices in `sourceTexture` and the sum of `destinationSlice` and `sliceCount` doesn’t exceed the number of slices in `destinationTexture`. - levelCount: The number of mipmap levels the command copies so that it satisfies the conditions that the sum of `sourceLevel` and `levelCount` doesn’t exceed the number of mipmap levels in `sourceTexture` and the sum of `destinationLevel` and `levelCount` doesn’t exceed the number of mipmap levels in `destinationTexture`.
|
|
67
67
|
*/
|
|
68
|
-
copyFromTexture$sourceSlice$sourceLevel$toTexture$destinationSlice$destinationLevel$sliceCount$levelCount
|
|
68
|
+
copyFromTexture$sourceSlice$sourceLevel$toTexture$destinationSlice$destinationLevel$sliceCount$levelCount$(sourceTexture: _MTLTexture, sourceSlice: number, sourceLevel: number, destinationTexture: _MTLTexture, destinationSlice: number, destinationLevel: number, sliceCount: number, levelCount: number): void;
|
|
69
69
|
/**
|
|
70
70
|
* Encodes a command that copies image data from a slice of a texture into a slice of another texture. - Parameters: - sourceTexture: An ``MTLTexture`` texture that the command copies data from. To read the source texture contents, you need to set its ``MTLTexture/framebufferOnly`` property to <doc ://com.apple.documentation/documentation/swift/false> prior to drawing into it. - sourceSlice: A slice within `sourceTexture` the command uses as a starting point to copy data from. Set this to `0` if `sourceTexture` isn’t a texture array or a cube texture. - sourceLevel: A mipmap level within `sourceTexture`. - sourceOrigin: An ``MTLOrigin`` instance that represents a location within `sourceTexture` that the command begins copying data from. Assign `0` to each dimension that’s not relevant to `sourceTexture`. - sourceSize: An ``MTLSize`` instance that represents the size of the region, in pixels, that the command copies from `sourceTexture`, starting at `sourceOrigin`. Assign `1` to each dimension that’s not relevant to `sourceTexture`. If sourceTexture uses a compressed pixel format, set `sourceSize` to a multiple of the pixel format’s block size. If the block extends outside the bounds of the texture, clamp `sourceSize` to the edge of the texture. - destinationTexture: Another ``MTLTexture`` the command copies the data to that has the same ``MTLTexture/pixelFormat`` and ``MTLTexture/sampleCount`` as `sourceTexture`. To write the contents into this texture, you need to set its ``MTLTexture/framebufferOnly`` property to <doc ://com.apple.documentation/documentation/swift/false>. - destinationSlice: A slice within `destinationTexture` the command uses as its starting point for copying data to. Set this to `0` if `destinationTexture` isn’t a texture array or a cube texture. - destinationLevel: A mipmap level within `destinationTexture`. The mipmap level you reference needs to have the same size as the `sourceTexture` slice's mipmap at `sourceLevel`. - destinationOrigin: An ``MTLOrigin`` instance that represents a location within `destinationTexture` that the command begins copying data to. Assign `0` to each dimension that’s not relevant to `destinationTexture`.
|
|
71
71
|
*/
|
|
72
|
-
copyFromTexture$sourceSlice$sourceLevel$sourceOrigin$sourceSize$toTexture$destinationSlice$destinationLevel$destinationOrigin
|
|
72
|
+
copyFromTexture$sourceSlice$sourceLevel$sourceOrigin$sourceSize$toTexture$destinationSlice$destinationLevel$destinationOrigin$(sourceTexture: _MTLTexture, sourceSlice: number, sourceLevel: number, sourceOrigin: MTLOrigin, sourceSize: MTLSize, destinationTexture: _MTLTexture, destinationSlice: number, destinationLevel: number, destinationOrigin: MTLOrigin): void;
|
|
73
73
|
/**
|
|
74
74
|
* Encodes a command that copies image data from a slice of an ``MTLTexture`` instance to an ``MTLBuffer`` instance. - Parameters: - sourceTexture: An ``MTLTexture`` texture that the command copies data from. To read the source texture contents, you need to set its ``MTLTexture/framebufferOnly`` property to <doc ://com.apple.documentation/documentation/swift/false> prior to drawing into it. - sourceSlice: A slice within `sourceTexture` the command uses as a starting point to copy data from. Set this to `0` if `sourceTexture` isn’t a texture array or a cube texture. - sourceLevel: A mipmap level within `sourceTexture`. - sourceOrigin: An ``MTLOrigin`` instance that represents a location within `sourceTexture` that the command begins copying data from. Assign `0` to each dimension that’s not relevant to `sourceTexture`. - sourceSize: An ``MTLSize`` instance that represents the size of the region, in pixels, that the command copies from `sourceTexture`, starting at `sourceOrigin`. Assign `1` to each dimension that’s not relevant to `sourceTexture`. If `sourceTexture` uses a compressed pixel format, set `sourceSize` to a multiple of the `sourceTexture's` ``MTLTexture/pixelFormat`` block size. If the block extends outside the bounds of the texture, clamp `sourceSize` to the edge of the texture. - destinationBuffer: An ``MTLBuffer`` instance the command copies data to. - destinationOffset: A byte offset within `destinationBuffer` the command copies to. The value you provide as this argument needs to be a multiple of `sourceTexture's` pixel size, in bytes. - destinationBytesPerRow: The number of bytes between adjacent rows of pixels in `destinationBuffer`. This value must be a multiple of `sourceTexture's` pixel size, in bytes, and less than or equal to the product of `sourceTexture's` pixel size, in bytes, and the largest pixel width `sourceTexture’s` type allows. If `sourceTexture` uses a compressed pixel format, set `destinationBytesPerRow` to the number of bytes between the starts of two row blocks. - destinationBytesPerImage: The number of bytes between each 2D image of a 3D texture. This value must be a multiple of `sourceTexture's` pixel size, in bytes. Set this value to `0` if `sourceSize's` ``MTLSize/depth`` value is `1`.
|
|
75
75
|
*/
|
|
76
|
-
copyFromTexture$sourceSlice$sourceLevel$sourceOrigin$sourceSize$toBuffer$destinationOffset$destinationBytesPerRow$destinationBytesPerImage
|
|
76
|
+
copyFromTexture$sourceSlice$sourceLevel$sourceOrigin$sourceSize$toBuffer$destinationOffset$destinationBytesPerRow$destinationBytesPerImage$(sourceTexture: _MTLTexture, sourceSlice: number, sourceLevel: number, sourceOrigin: MTLOrigin, sourceSize: MTLSize, destinationBuffer: _MTLBuffer, destinationOffset: number, destinationBytesPerRow: number, destinationBytesPerImage: number): void;
|
|
77
77
|
/**
|
|
78
78
|
* Encodes a command that copies image data from a slice of a texture instance to a buffer, with options for special texture formats. - Parameters: - sourceTexture: An ``MTLTexture`` texture that the command copies data from. To read the source texture contents, you need to set its ``MTLTexture/framebufferOnly`` property to <doc ://com.apple.documentation/documentation/swift/false> prior to drawing into it. - sourceSlice: A slice within `sourceTexture` the command uses as a starting point to copy data from. Set this to `0` if `sourceTexture` isn’t a texture array or a cube texture. - sourceLevel: A mipmap level within `sourceTexture`. - sourceOrigin: An ``MTLOrigin`` instance that represents a location within `sourceTexture` that the command begins copying data from. Assign `0` to each dimension that’s not relevant to `sourceTexture`. - sourceSize: An ``MTLSize`` instance that represents the size of the region, in pixels, that the command copies from `sourceTexture`, starting at `sourceOrigin`. Assign `1` to each dimension that’s not relevant to `sourceTexture`. If `sourceTexture` uses a compressed pixel format, set `sourceSize` to a multiple of the `sourceTexture's` ``MTLTexture/pixelFormat`` block size. If the block extends outside the bounds of the texture, clamp `sourceSize` to the edge of the texture. - destinationBuffer: An ``MTLBuffer`` instance the command copies data to. - destinationOffset: A byte offset within `destinationBuffer` the command copies to. The value you provide as this argument needs to be a multiple of `sourceTexture's` pixel size, in bytes. - destinationBytesPerRow: The number of bytes between adjacent rows of pixels in `destinationBuffer`. This value must be a multiple of `sourceTexture's` pixel size, in bytes, and less than or equal to the product of `sourceTexture's` pixel size, in bytes, and the largest pixel width `sourceTexture’s` type allows. If `sourceTexture` uses a compressed pixel format, set `destinationBytesPerRow` to the number of bytes between the starts of two row blocks. - destinationBytesPerImage: The number of bytes between each 2D image of a 3D texture. This value must be a multiple of `sourceTexture's` pixel size, in bytes. Set this value to `0` if `sourceSize's` ``MTLSize/depth`` value is `1`. - options: A ``MTLBlitOption`` value that applies to textures with applicable pixel formats, such as combined depth/stencil or PVRTC formats. If `sourceTexture's` ``MTLTexture/pixelFormat`` is a combined depth/stencil format, set `options` to either ``MTLBlitOption/MTLBlitOptionDepthFromDepthStencil`` or ``MTLBlitOption/MTLBlitOptionStencilFromDepthStencil``, but not both. If `sourceTexture's` ``MTLTexture/pixelFormat`` is a PVRTC format, set `options` to ``MTLBlitOption/MTLBlitOptionRowLinearPVRTC``.
|
|
79
79
|
*/
|
|
80
|
-
copyFromTexture$sourceSlice$sourceLevel$sourceOrigin$sourceSize$toBuffer$destinationOffset$destinationBytesPerRow$destinationBytesPerImage$options
|
|
80
|
+
copyFromTexture$sourceSlice$sourceLevel$sourceOrigin$sourceSize$toBuffer$destinationOffset$destinationBytesPerRow$destinationBytesPerImage$options$(sourceTexture: _MTLTexture, sourceSlice: number, sourceLevel: number, sourceOrigin: MTLOrigin, sourceSize: MTLSize, destinationBuffer: _MTLBuffer, destinationOffset: number, destinationBytesPerRow: number, destinationBytesPerImage: number, options: MTLBlitOption): void;
|
|
81
81
|
/**
|
|
82
82
|
* Encodes a command that copies data from a buffer instance into another. - Parameters: - sourceBuffer: An ``MTLBuffer`` instance the command copies data from. - sourceOffset: A byte offset within `sourceBuffer` the command copies from. - destinationBuffer: An ``MTLBuffer`` instance the command copies data to. - destinationOffset: A byte offset within `destinationBuffer` the command copies to. - size: The number of bytes the command copies from `sourceBuffer` to `destinationBuffer`.
|
|
83
83
|
*/
|
|
84
|
-
copyFromBuffer$sourceOffset$toBuffer$destinationOffset$size
|
|
84
|
+
copyFromBuffer$sourceOffset$toBuffer$destinationOffset$size$(sourceBuffer: _MTLBuffer, sourceOffset: number, destinationBuffer: _MTLBuffer, destinationOffset: number, size: number): void;
|
|
85
85
|
/**
|
|
86
86
|
* Encodes a command to copy image data from a buffer instance into a texture. - Parameters: - sourceBuffer: A ``MTLBuffer`` instance the command copies data from. - sourceOffset: A byte offset within `sourceBuffer` the command copies from. Set this value to a multiple of `destinationTexture's` pixel size, in bytes. - sourceBytesPerRow: The number of bytes between adjacent rows of pixels in `sourceBuffer`. Set this value to a multiple of `destinationTexture's` pixel size, in bytes, and less than or equal to the product of `destinationTexture's` pixel size, in bytes, and the largest pixel width `destinationTexture's` type allows. If `destinationTexture` uses a compressed pixel format, set `sourceBytesPerRow` to the number of bytes between the starts of two row blocks. - sourceBytesPerImage: The number of bytes between each 2D image of a 3D texture. Set this value to a multiple of `destinationTexture's` pixel size, in bytes, or `0` if `sourceSize's` ``MTLSize/depth`` value is `1`. - sourceSize: A ``MTLSize`` instance that represents the size of the region in `destinationTexture`, in pixels, that the command copies data to, starting at `destinationOrigin`. Assign `1` to each dimension that’s not relevant to `destinationTexture`. If `destinationTexture` uses a compressed pixel format, set `sourceSize` to a multiple of `destinationTexture's` ``MTLTexture/pixelFormat`` block size. If the block extends outside the bounds of the texture, clamp `sourceSize` to the edge of the texture. - destinationTexture: An ``MTLTexture`` instance the command copies data to. In order to copy the contents into the destination texture, set its ``MTLTexture/framebufferOnly`` property to <doc ://com.apple.documentation/documentation/swift/false> and don't use a combined depth/stencil ``MTLTexture/pixelFormat``. - destinationSlice: A slice within `destinationTexture` the command uses as its starting point for copying data to. Set this to `0` if `destinationTexture` isn’t a texture array or a cube texture. - destinationLevel: A mipmap level within `destinationTexture` the command copies data to. - destinationOrigin: An ``MTLOrigin`` instance that represents a location within `destinationTexture` that the command begins copying data to. Assign `0` to each dimension that’s not relevant to `destinationTexture`.
|
|
87
87
|
*/
|
|
88
|
-
copyFromBuffer$sourceOffset$sourceBytesPerRow$sourceBytesPerImage$sourceSize$toTexture$destinationSlice$destinationLevel$destinationOrigin
|
|
88
|
+
copyFromBuffer$sourceOffset$sourceBytesPerRow$sourceBytesPerImage$sourceSize$toTexture$destinationSlice$destinationLevel$destinationOrigin$(sourceBuffer: _MTLBuffer, sourceOffset: number, sourceBytesPerRow: number, sourceBytesPerImage: number, sourceSize: MTLSize, destinationTexture: _MTLTexture, destinationSlice: number, destinationLevel: number, destinationOrigin: MTLOrigin): void;
|
|
89
89
|
/**
|
|
90
90
|
* Encodes a command to copy image data from a buffer into a texture with options for special texture formats. - Parameters: - sourceBuffer: An ``MTLBuffer`` instance the command copies data from. - sourceOffset: A byte offset within `sourceBuffer` the command copies from. Set this value to a multiple of `destinationTexture's` pixel size, in bytes. - sourceBytesPerRow: The number of bytes between adjacent rows of pixels in `sourceBuffer`. Set this value to a multiple of `destinationTexture's` pixel size, in bytes, and less than or equal to the product of `destinationTexture's` pixel size, in bytes, and the largest pixel width `destinationTexture's` type allows. If `destinationTexture` uses a compressed pixel format, set `sourceBytesPerRow` to the number of bytes between the starts of two row blocks. - sourceBytesPerImage: The number of bytes between each 2D image of a 3D texture. Set this value to a multiple of `destinationTexture's` pixel size, in bytes, or `0` if `sourceSize's` ``MTLSize/depth`` value is `1`. - sourceSize: An ``MTLSize`` instance that represents the size of the region in `destinationTexture`, in pixels, that the command copies data to, starting at `destinationOrigin`. Assign `1` to each dimension that’s not relevant to `destinationTexture`. If `destinationTexture` uses a compressed pixel format, set `sourceSize` to a multiple of `destinationTexture's` ``MTLTexture/pixelFormat`` block size. If the block extends outside the bounds of the texture, clamp `sourceSize` to the edge of the texture. - destinationTexture: An ``MTLTexture`` instance the command copies data to. In order to copy the contents into the destination texture, set its ``MTLTexture/framebufferOnly`` property to <doc ://com.apple.documentation/documentation/swift/false> and don't use a combined depth/stencil ``MTLTexture/pixelFormat``. - destinationSlice: A slice within `destinationTexture` the command uses as its starting point for copying data to. Set this to `0` if `destinationTexture` isn’t a texture array or a cube texture. - destinationLevel: A mipmap level within `destinationTexture` the command copies data to. - destinationOrigin: An ``MTLOrigin`` instance that represents a location within `destinationTexture` that the command begins copying data to. Assign `0` to each dimension that’s not relevant to `destinationTexture`. - options: An ``MTLBlitOption`` value that applies to textures with applicable pixel formats, such as combined depth/stencil or PVRTC formats. If `destinationTexture's` ``MTLTexture/pixelFormat`` is a combined depth/stencil format, set `options` to either ``MTLBlitOption/MTLBlitOptionDepthFromDepthStencil`` or ``MTLBlitOption/MTLBlitOptionStencilFromDepthStencil``, but not both. If `destinationTexture's` ``MTLTexture/pixelFormat`` is a PVRTC format, set `options` to ``MTLBlitOption/MTLBlitOptionRowLinearPVRTC``.
|
|
91
91
|
*/
|
|
92
|
-
copyFromBuffer$sourceOffset$sourceBytesPerRow$sourceBytesPerImage$sourceSize$toTexture$destinationSlice$destinationLevel$destinationOrigin$options
|
|
92
|
+
copyFromBuffer$sourceOffset$sourceBytesPerRow$sourceBytesPerImage$sourceSize$toTexture$destinationSlice$destinationLevel$destinationOrigin$options$(sourceBuffer: _MTLBuffer, sourceOffset: number, sourceBytesPerRow: number, sourceBytesPerImage: number, sourceSize: MTLSize, destinationTexture: _MTLTexture, destinationSlice: number, destinationLevel: number, destinationOrigin: MTLOrigin, options: MTLBlitOption): void;
|
|
93
93
|
/**
|
|
94
94
|
* Encodes a command to copy data from a tensor instance into another. If the `sourceTensor` and `destinationTensor` instances are not aliasable, this command applies the correct reshapes to enable this operation. - Parameters: - sourceTensor: An ``MTLTensor`` instance the command copies data from. - sourceSlice: The slice of `sourceTensor` from which Metal copies data. - destinationTensor: An ``MTLTensor`` instance the command copies data to. - destinationSlice: The slice of `destinationTensor` to which Metal copies data.
|
|
95
95
|
*/
|
|
96
|
-
copyFromTensor$sourceOrigin$sourceDimensions$toTensor$destinationOrigin$destinationDimensions
|
|
96
|
+
copyFromTensor$sourceOrigin$sourceDimensions$toTensor$destinationOrigin$destinationDimensions$(sourceTensor: _MTLTensor, sourceOrigin: _MTLTensorExtents, sourceDimensions: _MTLTensorExtents, destinationTensor: _MTLTensor, destinationOrigin: _MTLTensorExtents, destinationDimensions: _MTLTensorExtents): void;
|
|
97
97
|
/**
|
|
98
98
|
* Encodes a command that generates mipmaps for a texture instance from the base mipmap level up to the highest mipmap level. This method generates mipmaps for a mipmapped texture. The texture you provide needs to have a ``MTLTexture/mipmapLevelCount`` greater than `1`, and a color-renderable or color-filterable ``MTLTexture/pixelFormat``. - Parameter texture: A mipmapped, color-renderable or color-filterable ``MTLTexture`` instance the command generates mipmaps for.
|
|
99
99
|
*/
|
|
100
|
-
generateMipmapsForTexture
|
|
100
|
+
generateMipmapsForTexture$(texture: _MTLTexture): void;
|
|
101
101
|
/**
|
|
102
102
|
* Encodes a command that fills a buffer with a constant value for each byte. - Parameters: - buffer: A ``MTLBuffer`` instance for which this command assigns each byte in a range to a value. - range: A range of bytes within `buffer` the command assigns value to. When calling this method, pass in a range with a length greater than `0`. - value: The value to write to each byte.
|
|
103
103
|
*/
|
|
104
|
-
fillBuffer$range$value
|
|
104
|
+
fillBuffer$range$value$(buffer: _MTLBuffer, range: NSRange, value: number): void;
|
|
105
105
|
/**
|
|
106
106
|
* Encodes a command that modifies the contents of a texture to improve the performance of GPU accesses to its contents. Optimizing a texture for GPU access may affect the performance of CPU accesses, however, the data the CPU retrieves from the texture remains consistent. You typically run this command for: * Textures the GPU accesses for an extended period of time. * Textures with a ``MTLTextureDescriptor/storageMode`` property that's ``MTLStorageMode/MTLStorageModeShared`` or ``MTLStorageMode/MTLStorageModeManaged``. - Parameter texture: A ``MTLTexture`` instance the command optimizes for GPU access.
|
|
107
107
|
*/
|
|
108
|
-
optimizeContentsForGPUAccess
|
|
108
|
+
optimizeContentsForGPUAccess$(texture: _MTLTexture): void;
|
|
109
109
|
/**
|
|
110
110
|
* Encodes a command that modifies the contents of a texture instance to improve the performance of GPU accesses to its contents in a specific region. Optimizing a texture for GPU access may affect the performance of CPU accesses, however, the data the CPU retrieves from the texture remains consistent. You typically run this command for: * Textures the GPU accesses for an extended period of time. * Textures with a ``MTLTextureDescriptor/storageMode`` property that's ``MTLStorageMode/MTLStorageModeShared`` or ``MTLStorageMode/MTLStorageModeManaged``. - Parameters: - texture: A ``MTLTexture`` the command optimizes for GPU access. - slice: A slice within `texture`. - level: A mipmap level within `texture`.
|
|
111
111
|
*/
|
|
112
|
-
optimizeContentsForGPUAccess$slice$level
|
|
112
|
+
optimizeContentsForGPUAccess$slice$level$(texture: _MTLTexture, slice: number, level: number): void;
|
|
113
113
|
/**
|
|
114
114
|
* Encodes a command that modifies the contents of a texture to improve the performance of CPU accesses to its contents. Optimizing a texture for CPU access may affect the performance of GPU accesses, however, the data the GPU retrieves from the texture remains consistent. You typically use this command for: * Textures the CPU accesses for an extended period of time. * Textures with a ``MTLTextureDescriptor/storageMode`` property that's ``MTLStorageMode/MTLStorageModeShared`` or ``MTLStorageMode/MTLStorageModeManaged``. - Parameter texture: A ``MTLTexture`` instance the command optimizes for CPU access.
|
|
115
115
|
*/
|
|
116
|
-
optimizeContentsForCPUAccess
|
|
116
|
+
optimizeContentsForCPUAccess$(texture: _MTLTexture): void;
|
|
117
117
|
/**
|
|
118
118
|
* Encodes a command that modifies the contents of a texture to improve the performance of CPU accesses to its contents in a specific region. Optimizing a texture for CPU access may affect the performance of GPU accesses, however, the data the GPU retrieves from the texture remains consistent. You typically use this command for: * Textures the CPU accesses for an extended period of time. * Textures with a ``MTLTextureDescriptor/storageMode`` property that's ``MTLStorageMode/MTLStorageModeShared`` or ``MTLStorageMode/MTLStorageModeManaged``. - Parameters: - texture: A ``MTLTexture`` the command optimizes for CPU access. - slice: A slice within `texture`. - level: A mipmap level within `texture`.
|
|
119
119
|
*/
|
|
120
|
-
optimizeContentsForCPUAccess$slice$level
|
|
120
|
+
optimizeContentsForCPUAccess$slice$level$(texture: _MTLTexture, slice: number, level: number): void;
|
|
121
121
|
/**
|
|
122
122
|
* Encodes a command that resets a range of commands in an indirect command buffer. - Parameters: - buffer: An ``MTLIndirectCommandBuffer`` the command resets. - range: A range of commands within `buffer`.
|
|
123
123
|
*/
|
|
124
|
-
resetCommandsInBuffer$withRange
|
|
124
|
+
resetCommandsInBuffer$withRange$(buffer: _MTLIndirectCommandBuffer, range: NSRange): void;
|
|
125
125
|
/**
|
|
126
126
|
* Encodes a command that copies commands from an indirect command buffer into another. - Parameters: - source: An ``MTLIndirectCommandBuffer`` instance from where the command copies. - sourceRange: The range of commands in `source` to copy. The copy operation requires that the source range starts at a valid execution point. - destination: Another ``MTLIndirectCommandBuffer`` instance into which the command copies. - destinationIndex: An index in `destination` into where the command copies content to. The copy operation requires that the destination index is a valid execution point with enough space left in `destination` to accommodate `sourceRange.count` commands.
|
|
127
127
|
*/
|
|
128
|
-
copyIndirectCommandBuffer$sourceRange$destination$destinationIndex
|
|
128
|
+
copyIndirectCommandBuffer$sourceRange$destination$destinationIndex$(source: _MTLIndirectCommandBuffer, sourceRange: NSRange, destination: _MTLIndirectCommandBuffer, destinationIndex: number): void;
|
|
129
129
|
/**
|
|
130
130
|
* Encode a command to attempt to improve the performance of a range of commands within an indirect command buffer. - Parameters: - indirectCommandBuffer: An ``MTLIndirectCommandBuffer`` instance that this command optimizes. - range: A range of commands within `indirectCommandBuffer`.
|
|
131
131
|
*/
|
|
132
|
-
optimizeIndirectCommandBuffer$withRange
|
|
132
|
+
optimizeIndirectCommandBuffer$withRange$(indirectCommandBuffer: _MTLIndirectCommandBuffer, range: NSRange): void;
|
|
133
133
|
/**
|
|
134
134
|
* Sets an argument table for the compute shader stage of this pipeline. Metal takes a snapshot of the resources in the argument table when you make dispatch or execute calls on this encoder instance. Metal makes the snapshot contents available to the compute shader function of the current pipeline state. - Parameters: - argumentTable: A ``MTL4ArgumentTable`` to set on the command encoder.
|
|
135
135
|
*/
|
|
136
|
-
setArgumentTable
|
|
136
|
+
setArgumentTable$(argumentTable: _MTL4ArgumentTable | null): void;
|
|
137
137
|
/**
|
|
138
138
|
* Encodes an acceleration structure build into the command buffer. Before you build an instance acceleration structure, you are responsible for ensuring the build operations for all primitive acceleration structures is complete. The built acceleration structure doesn't retain any references to the input buffers of the descriptor, such as the vertex buffer or instance buffer, among others. The acceleration structure build process may continue as long as the command buffer is not completed. However, you can safely encode ray tracing work against the acceleration structure if you schedule and synchronize the command buffers that contain this ray tracing work such that the command buffer with the build command is complete by the time ray tracing starts. You are responsible for ensuring that the acceleration structure and scratch buffer are at least the size that the query ``MTLDevice/accelerationStructureSizesWithDescriptor:`` returns. Use an instance of ``MTLResidencySet`` to mark residency of the scratch buffer the `scratchBuffer` parameter references, as well as for all the primitive acceleration structures you directly and indirectly reference. - Parameters: - accelerationStructure: Acceleration structure storage to build into. - descriptor: A descriptor for the acceleration structure Metal builds. - scratchBuffer: Scratch buffer Metal can use while building the acceleration structure. Metal may overwrite the contents of this buffer, and you should consider them "undefined" after the refit operation starts and completes.
|
|
139
139
|
*/
|
|
140
|
-
buildAccelerationStructure$descriptor$scratchBuffer
|
|
140
|
+
buildAccelerationStructure$descriptor$scratchBuffer$(accelerationStructure: _MTLAccelerationStructure, descriptor: _MTL4AccelerationStructureDescriptor, scratchBuffer: MTL4BufferRange): void;
|
|
141
141
|
/**
|
|
142
142
|
* Encodes an acceleration structure refit into the command buffer. You refit an acceleration structure to update it when the geometry it references changes. This operation is typically much faster than rebuilding the acceleration structure from scratch. The trade off is that after you refit the acceleration structure, its quality, as well as the performance of any subsequent ray tracing operation degrades, depending on how much the geometry changes. After certain operations, refitting an acceleration structure may not be possible, for example, after adding or removing geometry. When you refit an acceleration structure, you can do so in place, by specifying the same source and destination acceleration structures, or by providing a `nil` destination acceleration structure. If the source and destination acceleration structures aren't the same, then you are responsible for ensuring they don't overlap in memory. Typically, the destination acceleration structure is at least as large as the source acceleration structure, except in cases where you compact the source acceleration structure. In this case, you need to allocate the destination acceleration to be at least as large as the compacted size of the source acceleration structure. The scratch buffer you provide for the refit operation needs to be at least as large as the size that the query ``MTLDevice/accelerationStructureSizesWithDescriptor:`` returns. If the size this query returns is zero, you can omit providing a scratch buffer by passing `0` as the address to the `scratchBuffer` parameter. Use an instance of ``MTLResidencySet`` to mark residency of the scratch buffer the `scratchBuffer` parameter references, as well as for all the instance and primitive acceleration structures you directly and indirectly reference. - Parameters: - sourceAccelerationStructure: Acceleration structure to refit. - descriptor: A descriptor for the acceleration structure to refit. - destinationAccelerationStructure: Acceleration structure to store the refit result into. If `destinationAccelerationStructure` is `nil`, Metal performs an in-place refit operation of the `sourceAccelerationStructure`. - scratchBuffer: Scratch buffer Metal can use while refitting the acceleration structure. Metal may overwrite the contents of this buffer, and you should consider them "undefined" after the refit operation starts and completes.
|
|
143
143
|
*/
|
|
144
|
-
refitAccelerationStructure$descriptor$destination$scratchBuffer
|
|
144
|
+
refitAccelerationStructure$descriptor$destination$scratchBuffer$(sourceAccelerationStructure: _MTLAccelerationStructure, descriptor: _MTL4AccelerationStructureDescriptor, destinationAccelerationStructure: _MTLAccelerationStructure | null, scratchBuffer: MTL4BufferRange): void;
|
|
145
145
|
/**
|
|
146
146
|
* Encodes an acceleration structure refit operation into the command buffer, providing additional options. You refit an acceleration structure to update it when the geometry it references changes. This operation is typically much faster than rebuilding the acceleration structure from scratch. The trade off is that after you refit the acceleration structure, its quality, as well as the performance of any subsequent ray tracing operation degrades, depending on how much the geometry changes. After certain operations, refitting an acceleration structure may not be possible, for example, after adding or removing geometry. When you refit an acceleration structure, you can do so in place, by specifying the same source and destination acceleration structures, or by providing a `nil` destination acceleration structure. If the source and destination acceleration structures aren't the same, then you are responsible for ensuring they don't overlap in memory. Typically, the destination acceleration structure is at least as large as the source acceleration structure, except in cases where you compact the source acceleration structure. In this case, you need to allocate the destination acceleration to be at least as large as the compacted size of the source acceleration structure. The scratch buffer you provide for the refit operation needs to be at least as large as the size that the query ``MTLDevice/accelerationStructureSizesWithDescriptor:`` returns. If the size this query returns is zero, you can omit providing a scratch buffer by passing `0` as the address to the `scratchBuffer` parameter. Use an instance of ``MTLResidencySet`` to mark residency of the scratch buffer the `scratchBuffer` parameter references, as well as for all the instance and primitive acceleration structures you directly and indirectly reference. - Parameters: - sourceAccelerationStructure: Acceleration structure to refit. - descriptor: A descriptor for the acceleration structure to refit. - destinationAccelerationStructure: Acceleration structure to store the refit result into. If `destinationAccelerationStructure` is `nil`, Metal performs an in-place refit operation of the `sourceAccelerationStructure`. - scratchBuffer: Scratch buffer Metal can use while refitting the acceleration structure. Metal may overwrite the contents of this buffer, and you should consider them "undefined" after the refit operation starts and completes. - options: Options specifying the elements of the acceleration structure to refit.
|
|
147
147
|
*/
|
|
148
|
-
refitAccelerationStructure$descriptor$destination$scratchBuffer$options
|
|
148
|
+
refitAccelerationStructure$descriptor$destination$scratchBuffer$options$(sourceAccelerationStructure: _MTLAccelerationStructure, descriptor: _MTL4AccelerationStructureDescriptor, destinationAccelerationStructure: _MTLAccelerationStructure | null, scratchBuffer: MTL4BufferRange, options: MTLAccelerationStructureRefitOptions): void;
|
|
149
149
|
/**
|
|
150
150
|
* Encodes an acceleration structure copy operation into the command buffer. You are responsible for ensuring the source and destination acceleration structures don't overlap in memory. If this is an instance acceleration structure, Metal preserves references to the primitive acceleration structures it references. Typically, the destination acceleration structure is at least as large as the source acceleration structure, except in cases where you compact the source acceleration structure. In this case, you need to allocate the destination acceleration to be at least as large as the compacted size of the source acceleration structure. - Parameters: - sourceAccelerationStructure: Acceleration structure to copy from. - destinationAccelerationStructure: Acceleration structure to copy to.
|
|
151
151
|
*/
|
|
152
|
-
copyAccelerationStructure$toAccelerationStructure
|
|
152
|
+
copyAccelerationStructure$toAccelerationStructure$(sourceAccelerationStructure: _MTLAccelerationStructure, destinationAccelerationStructure: _MTLAccelerationStructure): void;
|
|
153
153
|
/**
|
|
154
154
|
* Encodes a command to compute the size an acceleration structure can compact into, writing the result into a buffer. This size is potentially smaller than the acceleration structure. To perform compaction, you typically read this size from the buffer once the command buffer completes. You then use it to allocate a new, potentially smaller acceleration structure. Finally, you call the ``copyAndCompactAccelerationStructure:toAccelerationStructure:`` method to perform the copy. - Parameters: - accelerationStructure: Source acceleration structure. - buffer: Destination size buffer. Metal writes the compacted size as a 64-bit unsigned integer value, representing the compacted size in bytes.
|
|
155
155
|
*/
|
|
156
|
-
writeCompactedAccelerationStructureSize$toBuffer
|
|
156
|
+
writeCompactedAccelerationStructureSize$toBuffer$(accelerationStructure: _MTLAccelerationStructure, buffer: MTL4BufferRange): void;
|
|
157
157
|
/**
|
|
158
158
|
* Encodes a command to copy and compact an acceleration structure. You are responsible for ensuring that the source and destination acceleration structures don't overlap in memory. If this is an instance acceleration structure, Metal preserves references to primitive acceleration structures it references. This operation requires that the destination acceleration structure is at least as large as the compacted size of the source acceleration structure. You can compute this size by calling the ``writeCompactedAccelerationStructureSize:toBuffer:`` method. - Parameters: - sourceAccelerationStructure: Acceleration structure to copy and compact. - destinationAccelerationStructure: Acceleration structure to copy to.
|
|
159
159
|
*/
|
|
160
|
-
copyAndCompactAccelerationStructure$toAccelerationStructure
|
|
160
|
+
copyAndCompactAccelerationStructure$toAccelerationStructure$(sourceAccelerationStructure: _MTLAccelerationStructure, destinationAccelerationStructure: _MTLAccelerationStructure): void;
|
|
161
161
|
/**
|
|
162
162
|
* Writes a GPU timestamp into a heap. The method ensures that any prior work finishes, but doesn't delay any subsequent work. You can alter this command's behavior through the `granularity` parameter. - Pass ``MTL4TimestampGranularity/MTL4TimestampGranularityRelaxed`` to allow Metal to provide timestamps with minimal impact to runtime performance, but with less detail. For example, the command may group all timestamps for a pass together. - Pass ``MTL4TimestampGranularity/MTL4TimestampGranularityPrecise`` to request that Metal provides timestamps with the most detail. This can affect runtime performance. - Parameters: - granularity: ``MTL4TimestampGranularity`` hint to Metal about acceptable the level of precision. - counterHeap: ``MTL4CounterHeap`` to write timestamps into. - index: The index value into which Metal writes the timestamp.
|
|
163
163
|
*/
|
|
164
|
-
writeTimestampWithGranularity$intoHeap$atIndex
|
|
164
|
+
writeTimestampWithGranularity$intoHeap$atIndex$(granularity: MTL4TimestampGranularity, counterHeap: _MTL4CounterHeap, index: number): void;
|
|
165
165
|
}
|
|
@@ -6,16 +6,16 @@ export interface _MTL4CounterHeap {
|
|
|
6
6
|
/**
|
|
7
7
|
* Resolves heap data on the CPU timeline. This method resolves heap data in the CPU timeline. Your app needs to ensure the GPU work has completed in order to retrieve the data correctly. You can alternatively resolve the heap data in the GPU timeline by calling ``MTL4CommandBuffer/resolveCounterHeap:withRange:intoBuffer:waitFence:updateFence:``. - Note: When resolving counters in the CPU timeline, signaling an instance of ``MTLSharedEvent`` after any workloads write counters (and waiting on that signal on the CPU) is sufficient to ensure synchronization. - Parameter range: The range in the heap to resolve. - Returns a newly allocated autoreleased NSData containing tightly packed resolved heap counter values.
|
|
8
8
|
*/
|
|
9
|
-
resolveCounterRange
|
|
9
|
+
resolveCounterRange$(range: NSRange): _NSData | null;
|
|
10
10
|
/**
|
|
11
11
|
* Invalidates a range of entries in this counter heap. The effect of this call is immediate on the CPU timeline. You are responsible for ensuring that this counter heap is not currently in use on the GPU. - Note: Invalidated entries produce 0 when resolved. - Parameters: - range: A heap index range to invalidate.
|
|
12
12
|
*/
|
|
13
|
-
invalidateCounterRange
|
|
13
|
+
invalidateCounterRange$(range: NSRange): void;
|
|
14
14
|
/** Assigns a label for later inspection or visualization. */
|
|
15
|
-
label
|
|
16
|
-
setLabel
|
|
15
|
+
label(): _NSString | null;
|
|
16
|
+
setLabel$(value: _NSString | null): void;
|
|
17
17
|
/** Queries the number of entries in the heap. */
|
|
18
|
-
count
|
|
18
|
+
count(): number;
|
|
19
19
|
/** Queries the type of the heap. */
|
|
20
|
-
type
|
|
20
|
+
type(): MTL4CounterHeapType;
|
|
21
21
|
}
|
|
@@ -6,13 +6,13 @@ export interface _MTL4MachineLearningCommandEncoder extends _MTL4CommandEncoder
|
|
|
6
6
|
/**
|
|
7
7
|
* Configures the encoder with a machine learning pipeline state instance. The pipeline state instance affects all subsequent Machine Learning commands. - Parameters: - pipelineState: A Machine Learning pipeline state instance.
|
|
8
8
|
*/
|
|
9
|
-
setPipelineState
|
|
9
|
+
setPipelineState$(pipelineState: _MTL4MachineLearningPipelineState): void;
|
|
10
10
|
/**
|
|
11
11
|
* Sets an argument table for the command encoder's machine learning shader stage. The argument table provides inputs to all subsequent Machine Learning dispatches. - Parameters: - argumentTable: An argument table to set on the command encoder's Machine Learning stage.
|
|
12
12
|
*/
|
|
13
|
-
setArgumentTable
|
|
13
|
+
setArgumentTable$(argumentTable: _MTL4ArgumentTable): void;
|
|
14
14
|
/**
|
|
15
15
|
* Dispatches a machine learning network using the current pipeline state and argument table. This method takes a parameter consisting of a `MTLHeap` that Metal can use to allocate intermediate tensors. You can query the minimum size Metal requires for this heap by calling ``MTL4MachineLearningPipelineState/intermediatesHeapSize``. - Parameters: - heap: a heap that Metal can use to allocate intermediate tensors.
|
|
16
16
|
*/
|
|
17
|
-
dispatchNetworkWithIntermediatesHeap
|
|
17
|
+
dispatchNetworkWithIntermediatesHeap$(heap: _MTLHeap): void;
|
|
18
18
|
}
|
|
@@ -4,13 +4,13 @@ import type { _MTLAllocation } from "./MTLAllocation.js";
|
|
|
4
4
|
import type { _MTLDevice } from "./MTLDevice.js";
|
|
5
5
|
export interface _MTL4MachineLearningPipelineState extends _MTLAllocation {
|
|
6
6
|
/** Queries the string that helps identify this object. */
|
|
7
|
-
label
|
|
7
|
+
label(): _NSString | null;
|
|
8
8
|
/** Returns the device the pipeline state belongs to. */
|
|
9
|
-
device
|
|
9
|
+
device(): _MTLDevice;
|
|
10
10
|
/** Returns reflection information for this machine learning pipeline state. */
|
|
11
|
-
reflection
|
|
11
|
+
reflection(): _MTL4MachineLearningPipelineReflection | null;
|
|
12
12
|
/**
|
|
13
13
|
* Obtain the size of the heap, in bytes, this pipeline requires during the execution. Use this value to allocate a ``MTLHeap`` instance of sufficient size that you can then provide to ``MTL4MachineLearningCommandEncoder/dispatchNetworkWithIntermediatesHeap:``. Metal uses this heap to store intermediate data as it executes the pipeline. It is your responsibility to provide a heap at least as large as this property requests.
|
|
14
14
|
*/
|
|
15
|
-
intermediatesHeapSize
|
|
15
|
+
intermediatesHeapSize(): number;
|
|
16
16
|
}
|
|
@@ -5,9 +5,9 @@ export interface _MTL4PipelineDataSetSerializer {
|
|
|
5
5
|
/**
|
|
6
6
|
* Serializes a pipeline data set to an archive. - Parameters: - url: the URL used to serialize the serializer data set as an archive to. - error: an optional parameter to store information in case of an error. - Returns: a boolean indicating whether the operation was successful.
|
|
7
7
|
*/
|
|
8
|
-
serializeAsArchiveAndFlushToURL$error
|
|
8
|
+
serializeAsArchiveAndFlushToURL$error$(url: _NSURL, error: NobjcObject | null): boolean;
|
|
9
9
|
/**
|
|
10
10
|
* Serializes a serializer data set to a pipeline script as raw data. - Parameters: - error: an optional parameter to store information in case of an error. - Returns: an `NSData` instance containing the pipeline script.
|
|
11
11
|
*/
|
|
12
|
-
serializeAsPipelinesScriptWithError
|
|
12
|
+
serializeAsPipelinesScriptWithError$(error: NobjcObject | null): _NSData | null;
|
|
13
13
|
}
|
|
@@ -24,161 +24,161 @@ export interface _MTL4RenderCommandEncoder extends _MTL4CommandEncoder {
|
|
|
24
24
|
/**
|
|
25
25
|
* Sets the mapping from logical shader color output to physical render pass color attachments. Use this method to define how the physical color attachments you specify via ``MTL4RenderPassDescriptor/colorAttachments`` map to the logical color output the fragment shader writes to. To use this feature, make sure to set ``MTL4RenderPassDescriptor/supportColorAttachmentMapping`` to <doc ://com.apple.documentation/documentation/swift/true>. - Parameter mapping: Mapping from logical shader outputs to physical outputs.
|
|
26
26
|
*/
|
|
27
|
-
setColorAttachmentMap
|
|
27
|
+
setColorAttachmentMap$(mapping: _MTLLogicalToPhysicalColorAttachmentMap | null): void;
|
|
28
28
|
/**
|
|
29
29
|
* Configures this encoder with a render pipeline state that applies to your subsequent draw commands. - Parameter pipelineState: a non-`nil` ``MTLRenderPipelineState`` instance.
|
|
30
30
|
*/
|
|
31
|
-
setRenderPipelineState
|
|
31
|
+
setRenderPipelineState$(pipelineState: _MTLRenderPipelineState): void;
|
|
32
32
|
/**
|
|
33
33
|
* Sets the viewport which that transforms vertices from normalized device coordinates to window coordinates. Metal clips fragments that lie outside this viewport, and optionally clamps fragments outside of z-near/z-far range depending on the value you assign to ``setDepthClipMode:``. - Parameter viewport: ``MTLViewport`` to set.
|
|
34
34
|
*/
|
|
35
|
-
setViewport
|
|
35
|
+
setViewport$(viewport: MTLViewport): void;
|
|
36
36
|
/**
|
|
37
37
|
* Sets an array of viewports to transform vertices from normalized device coordinates to window coordinates. Metal clips fragments that lie outside of the viewport, and optionally clamps fragments outside of z-near/z-far range, depending on the value you assign to ``setDepthClipMode:``. Metal selects the viewport to use from the `[[ viewport_array_index ]]` attribute you specify in the pipeline state's vertex shader function in the Metal Shading Language. - Parameters: - viewports: Array of ``MTLViewport`` instances. - count: Number of ``MTLViewport`` instances in the array.
|
|
38
38
|
*/
|
|
39
|
-
setViewports$count
|
|
39
|
+
setViewports$count$(viewports: NobjcObject, count: number): void;
|
|
40
40
|
/**
|
|
41
41
|
* Sets the vertex amplification count and its view mapping for each amplification ID. Each view mapping element describes how to route the corresponding amplification ID to a specific viewport and render target array index by using offsets from the base array index provided by the `[[ render_target_array_index ]]` and/or `[[ viewport_array_index ]]` output attributes in the vertex shader. This allows Metal to route each amplified vertex to a different `[[ render_target_array_index ]]` and `[[ viewport_array_index ]]`, even though you can't directly amplify these attributes. - Parameters: - count: The number of outputs to create. The maximum value is `2`. - viewMappings: Array of ``MTLVertexAmplificationViewMapping`` instances. Each instance provides per-output offsets to a specific render target and viewport.
|
|
42
42
|
*/
|
|
43
|
-
setVertexAmplificationCount$viewMappings
|
|
43
|
+
setVertexAmplificationCount$viewMappings$(count: number, viewMappings: NobjcObject | null): void;
|
|
44
44
|
/**
|
|
45
45
|
* Controls whether Metal culls front facing primitives, back facing primitives, or culls no primitives at all. - Parameter cullMode: ``MTLCullMode`` to set.
|
|
46
46
|
*/
|
|
47
|
-
setCullMode
|
|
47
|
+
setCullMode$(cullMode: MTLCullMode): void;
|
|
48
48
|
/**
|
|
49
49
|
* Controls the behavior for fragments outside of the near or far planes. - Parameter depthClipMode: ``MTLDepthClipMode`` to set.
|
|
50
50
|
*/
|
|
51
|
-
setDepthClipMode
|
|
51
|
+
setDepthClipMode$(depthClipMode: MTLDepthClipMode): void;
|
|
52
52
|
/**
|
|
53
53
|
* Configures the adjustments a render pass applies to depth values from fragment shader functions by a scaling factor and bias. - Parameters: - depthBias: A constant bias the render pipeline applies to all fragments. - slopeScale: A bias coefficient that scales with the depth of the primitive relative to the camera. - clamp: A value that limits the bias value the render pipeline can apply to a fragment. Pass a positive or negative value to limit the largest magnitude of a positive or negative bias, respectively. Set this value to `0` to disable bias clamping.
|
|
54
54
|
*/
|
|
55
|
-
setDepthBias$slopeScale$clamp
|
|
55
|
+
setDepthBias$slopeScale$clamp$(depthBias: number, slopeScale: number, clamp: number): void;
|
|
56
56
|
/**
|
|
57
57
|
* Configures the minimum and maximum bounds for depth bounds testing. The render command encoder disables depth bounds testing by default. The render command encoder also disables depth bounds testing when all of the following properties equal a specific value: - The `minBound` property is equal to `0.0f`. - The `maxBound` property is equal to `1.0f`. Both `minBound` and `maxBound` need to be within `[0.0f, 1.0f]`, and `minBound` needs to be less than or equal to `maxBound`. - Parameters: - minBound: A minimum bound for depth testing, which discards fragments with a stored depth that is less than `minBound`. - maxBound: A maximum bound for depth testing, which discards fragments with a stored depth that is greater than `maxBound`.
|
|
58
58
|
*/
|
|
59
|
-
setDepthTestMinBound$maxBound
|
|
59
|
+
setDepthTestMinBound$maxBound$(minBound: number, maxBound: number): void;
|
|
60
60
|
/**
|
|
61
61
|
* Sets a scissor rectangle to discard fragments outside a specific area. Metal performs a scissor test and discards all fragments outside of the scissor rect. - Parameter rect: ``MTLScissorRect`` rectangle to specify. This rectangle needs to lie completely within the current render attachment.
|
|
62
62
|
*/
|
|
63
|
-
setScissorRect
|
|
63
|
+
setScissorRect$(rect: MTLScissorRect): void;
|
|
64
64
|
/**
|
|
65
65
|
* Sets an array of scissor rectangles for a fragment scissor test. Metal uses the specific scissor rectangle corresponding to the index you specify via the `[[ viewport_array_index ]]` output attribute of the vertex shader function in the Metal Shading Language, discarding all fragments outside of the scissor rect. - Parameters: - scissorRects: Array of ``MTLScissorRect`` structures. - count: Number of ``MTLScissorRect`` structures in the array.
|
|
66
66
|
*/
|
|
67
|
-
setScissorRects$count
|
|
67
|
+
setScissorRects$count$(scissorRects: NobjcObject, count: number): void;
|
|
68
68
|
/**
|
|
69
69
|
* Configures how subsequent draw commands rasterize triangle and triangle strip primitives. - Parameter fillMode:``MTLTriangleFillMode`` the render pass applies to draw commands that rasterize triangles or triangle strips.
|
|
70
70
|
*/
|
|
71
|
-
setTriangleFillMode
|
|
71
|
+
setTriangleFillMode$(fillMode: MTLTriangleFillMode): void;
|
|
72
72
|
/**
|
|
73
73
|
* Configures each pixel component value, including alpha, for the render pipeline’s constant blend color. - Parameters: - red: A value for the red component for the blend color constant. - green: A value for the green component for the blend color constant. - blue: A value for the blue component for the blend color constant. - alpha: A value for the alpha component for the blend color constant.
|
|
74
74
|
*/
|
|
75
|
-
setBlendColorRed$green$blue$alpha
|
|
75
|
+
setBlendColorRed$green$blue$alpha$(red: number, green: number, blue: number, alpha: number): void;
|
|
76
76
|
/**
|
|
77
77
|
* Configures this encoder with a depth stencil state that applies to your subsequent draw commands. - Parameter depthStencilState: the ``MTLDepthStencilState`` instance to set.
|
|
78
78
|
*/
|
|
79
|
-
setDepthStencilState
|
|
79
|
+
setDepthStencilState$(depthStencilState: _MTLDepthStencilState | null): void;
|
|
80
80
|
/**
|
|
81
81
|
* Configures this encoder with a reference value for stencil testing. The render pipeline applies this reference value to both front-facing and back-facing primitives. - Parameter referenceValue: A stencil test comparison value.
|
|
82
82
|
*/
|
|
83
|
-
setStencilReferenceValue
|
|
83
|
+
setStencilReferenceValue$(referenceValue: number): void;
|
|
84
84
|
/**
|
|
85
85
|
* Configures the encoder with different stencil test reference values for front-facing and back-facing primitives. The render pipeline applies `frontReferenceValue` to front-facing primitives and `backReferenceValue` to back-facing primitives. - Parameters: - frontReferenceValue: A stencil test comparison value the render pipeline applies to front-facing primitives. - backReferenceValue: A stencil test comparison value the render pipeline applies to back-facing primitives.
|
|
86
86
|
*/
|
|
87
|
-
setStencilFrontReferenceValue$backReferenceValue
|
|
87
|
+
setStencilFrontReferenceValue$backReferenceValue$(frontReferenceValue: number, backReferenceValue: number): void;
|
|
88
88
|
/**
|
|
89
89
|
* Configures a visibility test for Metal to run, and the destination for any results it generates. You use the `mode` parameter to enable or disable the visibility test, and determine if it produces a boolean response for passing fragments, or if it counts the number of fragments. - Parameters: - mode: A ``MTLVisibilityResultMode`` that configures which visibility test results the render pass saves to a buffer, or disables visibility testing. - offset: A location, in bytes, relative to the start of ``MTL4RenderPassDescriptor/visibilityResultBuffer`` The GPU stores the result of a visibility test at `offset`, which needs to be a multiple of `8`.
|
|
90
90
|
*/
|
|
91
|
-
setVisibilityResultMode$offset
|
|
91
|
+
setVisibilityResultMode$offset$(mode: MTLVisibilityResultMode, offset: number): void;
|
|
92
92
|
/**
|
|
93
93
|
* Configures the store action for a color attachment. - Parameters: - storeAction: A store action for the color attachment that can’t be ``MTLStoreAction/MTLStoreActionUnknown``. - colorAttachmentIndex: The index of a color attachment.
|
|
94
94
|
*/
|
|
95
|
-
setColorStoreAction$atIndex
|
|
95
|
+
setColorStoreAction$atIndex$(storeAction: MTLStoreAction, colorAttachmentIndex: number): void;
|
|
96
96
|
/**
|
|
97
97
|
* Configures the store action for the depth attachment. - Parameter storeAction: A store action for the depth attachment that can’t be ``MTLStoreAction/MTLStoreActionUnknown``.
|
|
98
98
|
*/
|
|
99
|
-
setDepthStoreAction
|
|
99
|
+
setDepthStoreAction$(storeAction: MTLStoreAction): void;
|
|
100
100
|
/**
|
|
101
101
|
* Configures the store action for the stencil attachment. - Parameter storeAction: A store action for the stencil attachment that can’t be ``MTLStoreAction/MTLStoreActionUnknown``.
|
|
102
102
|
*/
|
|
103
|
-
setStencilStoreAction
|
|
103
|
+
setStencilStoreAction$(storeAction: MTLStoreAction): void;
|
|
104
104
|
/**
|
|
105
105
|
* Encodes a draw command that renders an instance of a geometric primitive. This command assigns each vertex a unique `vertex_id` value that increases from `vertexStart` through `(vertexStart + vertexCount - 1)`. Your vertex shader function can use this value to uniquely identify each vertex. - Parameters: - primitiveType: A ``MTLPrimitiveType`` representing how the command interprets vertex argument data. - vertexStart: The lowest value the command passes to your vertex shader function’s parameter with the `[[vertex_id]]` attribute. - vertexCount: An integer that represents the number of vertices of `primitiveType` the command draws.
|
|
106
106
|
*/
|
|
107
|
-
drawPrimitives$vertexStart$vertexCount
|
|
107
|
+
drawPrimitives$vertexStart$vertexCount$(primitiveType: MTLPrimitiveType, vertexStart: number, vertexCount: number): void;
|
|
108
108
|
/**
|
|
109
109
|
* Encodes a draw command that renders multiple instances of a geometric primitive. The command assigns each vertex a unique `vertex_id` value within its drawing instance that increases from `vertexStart` through `(vertexStart + vertexCount - 1)`. Additionally, the command assigns each drawing instance a unique `instance_id` value that increases from `0` through `(instanceCount - 1)`. Your vertex shader can use the `vertex_id` value to uniquely identify each vertex in each drawing instance, and the `instance_id` value to identify which instance that vertex belongs to. - Parameters: - primitiveType: A ``MTLPrimitiveType`` represents how the command interprets vertex argument data. - vertexStart: The lowest value the command passes to your vertex shader function’s parameter with the `vertex_id` attribute. - vertexCount: An integer that represents the number of vertices of `primitiveType` the command draws. - instanceCount: An integer that represents the number of times the command draws `primitiveType` primitives with `vertexCount` vertices.
|
|
110
110
|
*/
|
|
111
|
-
drawPrimitives$vertexStart$vertexCount$instanceCount
|
|
111
|
+
drawPrimitives$vertexStart$vertexCount$instanceCount$(primitiveType: MTLPrimitiveType, vertexStart: number, vertexCount: number, instanceCount: number): void;
|
|
112
112
|
/**
|
|
113
113
|
* Encodes a draw command that renders multiple instances of a geometric primitive, starting with a custom instance identification number. The command assigns each vertex a unique `vertex_id` value within its drawing instance that increases from `vertexStart` through `(vertexStart + vertexCount - 1)`. Additionally, the command assigns each drawing instance a unique `instance_id` value that increases from `baseInstance` through `(baseInstance + instanceCount - 1)`. Your vertex shader can use the `vertex_id` value to uniquely identify each vertex in each drawing instance, and the `instance_id` value to identify which instance that vertex belongs to. - Parameters: - primitiveType: A ``MTLPrimitiveType`` representing how the command interprets vertex argument data. - vertexStart: The lowest value the command passes to your vertex shader function’s parameter with the `vertex_id` attribute. - vertexCount: An integer that represents the number of vertices of `primitiveType` the command draws. - instanceCount: An integer that represents the number of times the command draws `primitiveType` with `vertexCount` vertices. - baseInstance: The lowest value the command passes to your vertex shader function’s parameter with the `instance_id` attribute.
|
|
114
114
|
*/
|
|
115
|
-
drawPrimitives$vertexStart$vertexCount$instanceCount$baseInstance
|
|
115
|
+
drawPrimitives$vertexStart$vertexCount$instanceCount$baseInstance$(primitiveType: MTLPrimitiveType, vertexStart: number, vertexCount: number, instanceCount: number, baseInstance: number): void;
|
|
116
116
|
/**
|
|
117
117
|
* Encodes a draw command that renders an instance of a geometric primitive with indexed vertices. Use this method to perform indexed drawing, where an index buffer determines how Metal assembles primitives. Metal imposes some restrictions on the index buffer's address, which needs to be 2- or 4-byte aligned, and its length in bytes, which needs to be a multiple of 2 or 4, depending on whether the format of the index is ``MTLIndexType/MTLIndexTypeUInt16`` or ``MTLIndexType/MTLIndexTypeUInt32``. Use an instance of ``MTLResidencySet`` to mark residency of the index buffer the `indexBuffer` parameter references. - Parameters: - primitiveType: A ``MTLPrimitiveType`` representing how the command interprets vertex argument data. - indexCount: An integer that represents the number of vertices the command reads from `indexBuffer`. - indexType: A ``MTLIndexType`` instance that represents the index format. - indexBuffer: GPUAddress of a ``MTLBuffer`` instance that contains `indexCount` indices of `indexType` format. You are responsible for ensuring this address is aligned to 2 bytes if the `indexType` format is ``MTLIndexType/MTLIndexTypeUInt16``, and aligned to 4 bytes if the format is ``MTLIndexType/MTLIndexTypeUInt32``. - indexBufferLength: An integer that represents the length of `indexBuffer`, in bytes. You are responsible for ensuring this this size is a multiple of 2 if the `indexType` format is ``MTLIndexType/MTLIndexTypeUInt16``, and a multiple of 4 if the format is ``MTLIndexType/MTLIndexTypeUInt32``. If this draw call causes Metal to read indices at or beyond the `indexBufferLength`, Metal continues to execute them assigning a value of `0` to the `vertex_id` attribute.
|
|
118
118
|
*/
|
|
119
|
-
drawIndexedPrimitives$indexCount$indexType$indexBuffer$indexBufferLength
|
|
119
|
+
drawIndexedPrimitives$indexCount$indexType$indexBuffer$indexBufferLength$(primitiveType: MTLPrimitiveType, indexCount: number, indexType: MTLIndexType, indexBuffer: number, indexBufferLength: number): void;
|
|
120
120
|
/**
|
|
121
121
|
* Encodes a draw command that renders multiple instances of a geometric primitive with indexed vertices. Use this method to perform instanced indexed drawing, where an index buffer determines how Metal assembles primitives. The command assigns each drawing instance a unique `instance_id` value that increases from `0` through `(instanceCount - 1)`. Your shader can use this value to identify which instance the vertex belongs to. Metal imposes some restrictions on the index buffer's address, which needs to be 2- or 4-byte aligned, and its length in bytes, which needs to be a multiple of 2 or 4, depending on whether the format of the index is ``MTLIndexType/MTLIndexTypeUInt16`` or ``MTLIndexType/MTLIndexTypeUInt32``. Use an instance of ``MTLResidencySet`` to mark residency of the index buffer the `indexBuffer` parameter references. - Parameters: - primitiveType: A ``MTLPrimitiveType`` representing how the command interprets vertex argument data. - indexCount: An integer that represents the number of vertices the command reads from `indexBuffer`. - indexType: A ``MTLIndexType`` instance that represents the index format. - indexBuffer: GPUAddress of a ``MTLBuffer`` instance that contains `indexCount` indices of `indexType` format. You are responsible for ensuring this address is aligned to 2 bytes if the `indexType` format is ``MTLIndexType/MTLIndexTypeUInt16``, and aligned to 4 bytes if the format is ``MTLIndexType/MTLIndexTypeUInt32``. - indexBufferLength: An integer that represents the length of `indexBuffer`, in bytes. You are responsible for ensuring this this size is a multiple of 2 if the `indexType` format is ``MTLIndexType/MTLIndexTypeUInt16``, and a multiple of 4 if the format is ``MTLIndexType/MTLIndexTypeUInt32``. Metal disregards this value and assigns `0` to the `vertex_id` attribute for all primitives that require loading indices at a byte offset of `indexBufferLength` or greater. - instanceCount: An integer that represents the number of times the command draws `primitiveType` with `indexCount` vertices.
|
|
122
122
|
*/
|
|
123
|
-
drawIndexedPrimitives$indexCount$indexType$indexBuffer$indexBufferLength$instanceCount
|
|
123
|
+
drawIndexedPrimitives$indexCount$indexType$indexBuffer$indexBufferLength$instanceCount$(primitiveType: MTLPrimitiveType, indexCount: number, indexType: MTLIndexType, indexBuffer: number, indexBufferLength: number, instanceCount: number): void;
|
|
124
124
|
/**
|
|
125
125
|
* Encodes a draw command that renders multiple instances of a geometric primitive with indexed vertices, starting with a custom vertex and instance. Use this method to perform instanced indexed drawing, where an index buffer determines how Metal assembles primitives whilst customizing the base vertex and base instance value Metal passes to the vertex shader function. The command assigns each drawing instance a unique `instance_id` value that increases from `baseInstance` through `(baseInstance + instanceCount - 1)`. Your shader can use this value to identify which instance the vertex belongs to. Metal imposes some restrictions on the index buffer's address, which needs to be 2- or 4-byte aligned, and its length in bytes, which needs to be a multiple of 2 or 4, depending on whether the format of the index is ``MTLIndexType/MTLIndexTypeUInt16`` or ``MTLIndexType/MTLIndexTypeUInt32``. Use an instance of ``MTLResidencySet`` to mark residency of the index buffer the `indexBuffer` parameter references. - Parameters: - primitiveType: A ``MTLPrimitiveType`` representing how the command interprets vertex argument data. - indexCount: An integer that represents the number of vertices the command reads from `indexBuffer`. - indexType: A ``MTLIndexType`` instance that represents the index format. - indexBuffer: GPUAddress of a ``MTLBuffer`` instance that contains `indexCount` indices of `indexType` format. You are responsible for ensuring this address is aligned to 2 bytes if the `indexType` format is ``MTLIndexType/MTLIndexTypeUInt16``, and aligned to 4 bytes if the format is ``MTLIndexType/MTLIndexTypeUInt32``. - indexBufferLength: An integer that represents the length of `indexBuffer`, in bytes. You are responsible for ensuring this this size is a multiple of 2 if the `indexType` format is ``MTLIndexType/MTLIndexTypeUInt16``, and a multiple of 4 if the format is ``MTLIndexType/MTLIndexTypeUInt32``. If this draw call causes Metal to read indices at or beyond the `indexBufferLength`, Metal continues to execute them assigning a value of `0` to the `vertex_id` attribute. - instanceCount: An integer that represents the number of times the command draws `primitiveType` with `indexCount` vertices. - baseVertex: The lowest value the command passes to your vertex shader functions’s parameter with the `vertex_id` attribute. Metal disregards this value and assigns `0` to the `vertex_id` attribute for all primitives that require loading indices at a byte offset of `indexBufferLength` or greater. - baseInstance: The lowest value the command passes to your vertex shader’s parameter with the `instance_id` attribute.
|
|
126
126
|
*/
|
|
127
|
-
drawIndexedPrimitives$indexCount$indexType$indexBuffer$indexBufferLength$instanceCount$baseVertex$baseInstance
|
|
127
|
+
drawIndexedPrimitives$indexCount$indexType$indexBuffer$indexBufferLength$instanceCount$baseVertex$baseInstance$(primitiveType: MTLPrimitiveType, indexCount: number, indexType: MTLIndexType, indexBuffer: number, indexBufferLength: number, instanceCount: number, baseVertex: number, baseInstance: number): void;
|
|
128
128
|
/**
|
|
129
129
|
* Encodes a draw command that renders multiple instances of a geometric primitive with indirect arguments. When you use this function, Metal reads the parameters to the draw command from an ``MTLBuffer`` instance, allowing you to implement a GPU-driven workflow where a compute pipeline state determines the draw arguments. You are responsible for ensuring that the address of the indirect buffer you provide to this method has 4-byte alignment. Because this is a non-indexed draw call, Metal interprets the contents of the indirect buffer to match the layout of struct ``MTLDrawPrimitivesIndirectArguments``. Use an instance of ``MTLResidencySet`` to mark residency of the indirect buffer that the `indirectBuffer` parameter references. - Parameters: - primitiveType: A ``MTLPrimitiveType`` representing how the command interprets vertex argument data. - indirectBuffer: GPUAddress of a ``MTLBuffer`` instance with data that matches the layout of the ``MTLDrawPrimitivesIndirectArguments`` structure. You are responsible for ensuring that the alignment of this address is 4 bytes.
|
|
130
130
|
*/
|
|
131
|
-
drawPrimitives$indirectBuffer
|
|
131
|
+
drawPrimitives$indirectBuffer$(primitiveType: MTLPrimitiveType, indirectBuffer: number): void;
|
|
132
132
|
/**
|
|
133
133
|
* Encodes a draw command that renders multiple instances of a geometric primitive with indexed vertices and indirect arguments. When you use this function, Metal reads the parameters to the draw command from an ``MTLBuffer`` instance, allowing you to implement a GPU-driven workflow where a compute pipeline state determines the draw arguments. Because this is an indexed draw call, Metal interprets the contents of the indirect buffer to match the layout of struct ``MTLDrawIndexedPrimitivesIndirectArguments``, which includes `indexStart` and `indexCount` members, denoting a range within the index buffer you provide in the `indexBuffer` parameter. The range of indices within the `indexBuffer` form the primitives Metal draws. Metal imposes some restrictions on the index buffer's address, which needs to be 2- or 4-byte aligned, and its length in bytes, which needs to be a multiple of 2 or 4, depending on whether the format of the index is ``MTLIndexType/MTLIndexTypeUInt16`` or ``MTLIndexType/MTLIndexTypeUInt32``. Similarly, you are responsible for ensuring the indirect buffer's address has 4-byte alignment. Use an instance of ``MTLResidencySet`` to mark residency of the indirect buffer that the `indirectBuffer` parameter references, and of the index buffer the `indexBuffer` parameter references. - Parameters: - primitiveType: A ``MTLPrimitiveType`` representing how the command interprets vertex argument data. - indexType: A ``MTLIndexType`` instance that represents the index format. - indexBuffer: GPUAddress of a ``MTLBuffer`` instance that contains `indexCount` indices of `indexType` format. You are responsible for ensuring this address is aligned to 2 bytes if the `indexType` format is ``MTLIndexType/MTLIndexTypeUInt16``, and aligned to 4 bytes if the format is ``MTLIndexType/MTLIndexTypeUInt32``. - indexBufferLength: An integer that represents the length of `indexBuffer`, in bytes. You are responsible for ensuring this this size is a multiple of 2 if the `indexType` format is ``MTLIndexType/MTLIndexTypeUInt16``, and a multiple of 4 if the format is ``MTLIndexType/MTLIndexTypeUInt32``. If this draw call causes Metal to read indices at or beyond the `indexBufferLength`, Metal continues to execute them assigning a value of `0` to the `vertex_id` attribute. - indirectBuffer: GPUAddress of an ``MTLBuffer`` instance with data that matches the layout of the ``MTLDrawIndexedPrimitivesIndirectArguments`` structure. This address requires 4-byte alignment.
|
|
134
134
|
*/
|
|
135
|
-
drawIndexedPrimitives$indexType$indexBuffer$indexBufferLength$indirectBuffer
|
|
135
|
+
drawIndexedPrimitives$indexType$indexBuffer$indexBufferLength$indirectBuffer$(primitiveType: MTLPrimitiveType, indexType: MTLIndexType, indexBuffer: number, indexBufferLength: number, indirectBuffer: number): void;
|
|
136
136
|
/**
|
|
137
137
|
* Encodes a command that runs a range of commands from an indirect command buffer. - Parameters: - indirectCommandBuffer: A ``MTLIndirectCommandBuffer`` instance containing other commands that the current command runs. - executionRange: A span of integers that represent the command entries in the buffer that the current command runs.
|
|
138
138
|
*/
|
|
139
|
-
executeCommandsInBuffer$withRange
|
|
139
|
+
executeCommandsInBuffer$withRange$(indirectCommandBuffer: _MTLIndirectCommandBuffer, executionRange: NSRange): void;
|
|
140
140
|
/**
|
|
141
141
|
* Encodes a command that runs an indirect range of commands from an indirect command buffer. Use this method to indicate to Metal the span of indices in the command buffer to execute indirectly via an ``MTLBuffer`` instance you provide in the `indirectRangeBuffer` parameter. This allows you to calculate the span of commands Metal executes in the GPU timeline, enabling GPU-driven workflows. Metal requires that the contents of this buffer match the layout of struct ``MTLIndirectCommandBufferExecutionRange``, which specifies a location and a length within the indirect command buffer. You are responsible for ensuring the address of this buffer has 4-byte alignment. Use an instance of ``MTLResidencySet`` to mark residency of the indirect buffer that the `indirectRangeBuffer` parameter references. - Parameters: - indirectCommandBuffer: A ``MTLIndirectCommandBuffer`` instance that contains other commands the current command runs. - indirectRangeBuffer: GPUAddress of a ``MTLBuffer`` instance with data that matches the layout of the ``MTLIndirectCommandBufferExecutionRange`` structure. This address requires 4-byte alignment.
|
|
142
142
|
*/
|
|
143
|
-
executeCommandsInBuffer$indirectBuffer
|
|
143
|
+
executeCommandsInBuffer$indirectBuffer$(indirectCommandBuffer: _MTLIndirectCommandBuffer, indirectRangeBuffer: number): void;
|
|
144
144
|
/**
|
|
145
145
|
* Configures the size of a threadgroup memory buffer for a threadgroup argument in the object shader function. - Parameters: - length: The size of the threadgroup memory, in bytes. - index: An integer that corresponds to the index of the argument you annotate with attribute `[[threadgroup(index)]]` in the shader function.
|
|
146
146
|
*/
|
|
147
|
-
setObjectThreadgroupMemoryLength$atIndex
|
|
147
|
+
setObjectThreadgroupMemoryLength$atIndex$(length: number, index: number): void;
|
|
148
148
|
/**
|
|
149
149
|
* Encodes a draw command that invokes a mesh shader and, optionally, an object shader with a grid of threadgroups. - Parameters: - threadgroupsPerGrid: A ``MTLSize`` instance that represents the number of threadgroups for each grid dimension. - threadsPerObjectThreadgroup: A ``MTLSize`` instance that represents the number of threads in an object shader threadgroup, if applicable. - threadsPerMeshThreadgroup: A ``MTLSize`` instance that represents the number of threads in a mesh shader threadgroup.
|
|
150
150
|
*/
|
|
151
|
-
drawMeshThreadgroups$threadsPerObjectThreadgroup$threadsPerMeshThreadgroup
|
|
151
|
+
drawMeshThreadgroups$threadsPerObjectThreadgroup$threadsPerMeshThreadgroup$(threadgroupsPerGrid: MTLSize, threadsPerObjectThreadgroup: MTLSize, threadsPerMeshThreadgroup: MTLSize): void;
|
|
152
152
|
/**
|
|
153
153
|
* Encodes a draw command that invokes a mesh shader and, optionally, an object shader with a grid of threads. - Parameters: - threadsPerGrid: A ``MTLSize`` instance that represents the number of threads for each grid dimension. For mesh shaders, the command rounds the value down to the nearest multiple of `threadsPerMeshThreadgroup` for each dimension. For object shaders, the value doesn’t need to be a multiple of `threadsPerObjectThreadgroup`. - threadsPerObjectThreadgroup: A ``MTLSize`` instance that represents the number of threads in an object shader threadgroup, if applicable. - threadsPerMeshThreadgroup: A ``MTLSize`` instance that represents the number of threads in a mesh shader threadgroup.
|
|
154
154
|
*/
|
|
155
|
-
drawMeshThreads$threadsPerObjectThreadgroup$threadsPerMeshThreadgroup
|
|
155
|
+
drawMeshThreads$threadsPerObjectThreadgroup$threadsPerMeshThreadgroup$(threadsPerGrid: MTLSize, threadsPerObjectThreadgroup: MTLSize, threadsPerMeshThreadgroup: MTLSize): void;
|
|
156
156
|
/**
|
|
157
157
|
* Encodes a draw command that invokes a mesh shader and, optionally, an object shader with indirect arguments. This method enables you to determine the number of threadgroups per grid indirectly, in the GPU timeline. Metal expects this buffer's contents to match the layout of structure ``MTLDispatchThreadgroupsIndirectArguments``. You are responsible for ensuring the address of this buffer has 4-byte alignment. Use an instance of ``MTLResidencySet`` to mark residency of the indirect buffer that the `indirectBuffer` parameter references. - Parameters: - indirectBuffer: GPUAddress of an ``MTLBuffer`` instance with data that matches the layout of the ``MTLDispatchThreadgroupsIndirectArguments`` structure. This address requires 4-byte alignment. - threadsPerObjectThreadgroup: A ``MTLSize`` instance that represents the number of threads in an object shader threadgroup, if applicable. - threadsPerMeshThreadgroup: A ``MTLSize`` instance that represents the number of threads in a mesh shader threadgroup.
|
|
158
158
|
*/
|
|
159
|
-
drawMeshThreadgroupsWithIndirectBuffer$threadsPerObjectThreadgroup$threadsPerMeshThreadgroup
|
|
159
|
+
drawMeshThreadgroupsWithIndirectBuffer$threadsPerObjectThreadgroup$threadsPerMeshThreadgroup$(indirectBuffer: number, threadsPerObjectThreadgroup: MTLSize, threadsPerMeshThreadgroup: MTLSize): void;
|
|
160
160
|
/**
|
|
161
161
|
* Encodes a command that invokes a tile shader function from the encoder’s current tile render pipeline state. - Parameter threadsPerTile: A ``MTLSize`` instance that represents the number of threads the render pass uses per tile. Set the size’s ``MTLSize/width`` and ``MTLSize/height`` properties to values that are less than or equal to ``tileWidth`` and ``tileHeight``, respectively. Some GPU families only support square tile dispatches and require the same value for width and height. Set ``MTLSize/depth`` to `1`.
|
|
162
162
|
*/
|
|
163
|
-
dispatchThreadsPerTile
|
|
163
|
+
dispatchThreadsPerTile$(threadsPerTile: MTLSize): void;
|
|
164
164
|
/**
|
|
165
165
|
* Configures the size of a threadgroup memory buffer for a threadgroup argument in the fragment and tile shader functions. - Parameters: - length: The size of the threadgroup memory, in bytes. - offset: An integer that represents the location, in bytes, from the start of the threadgroup memory buffer at `index` where the threadgroup memory begins. - index: An integer that corresponds to the index of the argument you annotate with attribute `[[threadgroup(index)]]` in the shader function.
|
|
166
166
|
*/
|
|
167
|
-
setThreadgroupMemoryLength$offset$atIndex
|
|
167
|
+
setThreadgroupMemoryLength$offset$atIndex$(length: number, offset: number, index: number): void;
|
|
168
168
|
/**
|
|
169
169
|
* Associates an argument table with a set of render stages. Metal takes a snapshot of the resources in the argument table when you encode a draw, dispatch, or execute command. This snapshot becomes available to the `stages` you specify to this method. - Parameters: - argumentTable: ``MTL4ArgumentTable`` to set. - stages: A ``MTLRenderStages`` bitmask that specifies the shader stages with visibility over the table.
|
|
170
170
|
*/
|
|
171
|
-
setArgumentTable$atStages
|
|
171
|
+
setArgumentTable$atStages$(argumentTable: _MTL4ArgumentTable, stages: MTLRenderStages): void;
|
|
172
172
|
/**
|
|
173
173
|
* Configures the vertex winding order that determines which face of a geometric primitive is the front one. - Parameter frontFacingWinding: A ``MTLWinding`` value that determines which side of a primitive the render pipeline interprets as front facing.
|
|
174
174
|
*/
|
|
175
|
-
setFrontFacingWinding
|
|
175
|
+
setFrontFacingWinding$(frontFacingWinding: MTLWinding): void;
|
|
176
176
|
/**
|
|
177
177
|
* Writes a GPU timestamp into the given ``MTL4CounterHeap`` at `index` after `stage` completes. This command only guarantees all draws prior to this command are complete when Metal writes the timestamp into the counter heap you provide in the `counterHeap` parameter. The timestamp may also include subsequent operations. If you call this method before any draw calls, Metal writes a timestamp before the stage you specify in the `stage` parameter begins. - Parameters: - granularity: a ``MTL4TimestampGranularity`` hint. - stage: ``MTLRenderStages`` that need to complete before Metal writes the timestamp. This may also include later stages that are related, for example ``MTLRenderStages/MTLRenderStageMesh`` may include ``MTLRenderStages/MTLRenderStageVertex``. - counterHeap: ``MTL4CounterHeap`` into which Metal writes timestamps. - index: The index value into which Metal writes this timestamp.
|
|
178
178
|
*/
|
|
179
|
-
writeTimestampWithGranularity$afterStage$intoHeap$atIndex
|
|
179
|
+
writeTimestampWithGranularity$afterStage$intoHeap$atIndex$(granularity: MTL4TimestampGranularity, stage: MTLRenderStages, counterHeap: _MTL4CounterHeap, index: number): void;
|
|
180
180
|
/** Sets the width of a tile for this render pass. */
|
|
181
|
-
tileWidth
|
|
181
|
+
tileWidth(): number;
|
|
182
182
|
/** Sets the height of a tile for this render pass. */
|
|
183
|
-
tileHeight
|
|
183
|
+
tileHeight(): number;
|
|
184
184
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { _MTLResource } from "./MTLResource.js";
|
|
2
2
|
import type { MTLResourceID } from "../structs/MTLResourceID.js";
|
|
3
3
|
export interface _MTLAccelerationStructure extends _MTLResource {
|
|
4
|
-
size
|
|
4
|
+
size(): number;
|
|
5
5
|
/**
|
|
6
6
|
* @property gpuResourceID @abstract Handle of the GPU resource suitable for storing in an Argument Buffer
|
|
7
7
|
*/
|
|
8
|
-
gpuResourceID
|
|
8
|
+
gpuResourceID(): MTLResourceID;
|
|
9
9
|
}
|