-
Notifications
You must be signed in to change notification settings - Fork 507
MetalFX iOS xcode15.3 rc1
Alex Soto edited this page Jul 8, 2024
·
2 revisions
#MetalFX.framework https://github.com/xamarin/xamarin-macios/pull/20780
diff -ruN /Applications/Xcode_15.3.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXDefines.h /Applications/Xcode_15.3.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXDefines.h
--- /Applications/Xcode_15.3.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXDefines.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.3.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXDefines.h 2024-02-17 00:10:13
@@ -0,0 +1,7 @@
+//
+// MTLFXDefines.h
+// MetalFX
+//
+//
+
+
diff -ruN /Applications/Xcode_15.3.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h /Applications/Xcode_15.3.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h
--- /Applications/Xcode_15.3.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h 2024-01-26 06:04:25
+++ /Applications/Xcode_15.3.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h 2024-02-17 00:10:13
@@ -41,6 +41,9 @@
@property (readwrite, nonatomic) float inputContentMinScale;
@property (readwrite, nonatomic) float inputContentMaxScale;
+@property (readwrite, nonatomic, getter=isReactiveMaskTextureEnabled) BOOL reactiveMaskTextureEnabled API_AVAILABLE(macos(14.4), ios(17.4));
+@property (readwrite, nonatomic) MTLPixelFormat reactiveMaskTextureFormat API_AVAILABLE(macos(14.4), ios(17.4));
+
// The following method is used to instantiate the effect encoder for a given
// Metal device.
- (nullable id <MTLFXTemporalScaler>)newTemporalScalerWithDevice:(nonnull id<MTLDevice>)device;
@@ -65,6 +68,7 @@
@property (nonatomic, readonly) MTLTextureUsage colorTextureUsage;
@property (nonatomic, readonly) MTLTextureUsage depthTextureUsage;
@property (nonatomic, readonly) MTLTextureUsage motionTextureUsage;
+@property (nonatomic, readonly) MTLTextureUsage reactiveTextureUsage API_AVAILABLE(macos(14.4), ios(17.4));
@property (nonatomic, readonly) MTLTextureUsage outputTextureUsage;
// Dynamic Resolution property
@@ -85,6 +89,13 @@
// the texel located at (0, 0) is used for exposure value. The value is used
// to multiply the input color, use GPU to generate the exposure value.
@property (nonatomic, retain, nullable) id<MTLTexture> exposureTexture;
+
+// Reactive mask
+// An optional single channel texture that contains values in the range
+// 0.0f-1.0f. A value of 0.0f applies the default temporal effect treatment.
+// A value greater than 0.0f applies a bias towards the current frame for
+// the pixel.
+@property (nonatomic, retain, nullable) id<MTLTexture> reactiveMaskTexture API_AVAILABLE(macos(14.4), ios(17.4));
// If the input color is pre-multiplied by fixed value, set this value
// which MetalFX will use to divide input color, this is not common.
@property (nonatomic) float preExposure;
diff -ruN /Applications/Xcode_15.3.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MetalFX.h /Applications/Xcode_15.3.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MetalFX.h
--- /Applications/Xcode_15.3.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MetalFX.h 2024-01-29 10:54:31
+++ /Applications/Xcode_15.3.0-rc.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MetalFX.h 2024-02-17 00:10:13
@@ -5,6 +5,7 @@
// Copyright (c) 2021 Apple Inc. All rights reserved.
//
+#import <MetalFX/MTLFXDefines.h>
#import <MetalFX/MTLFXTemporalScaler.h>
#import <MetalFX/MTLFXSpatialScaler.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status