Skip to content

Instantly share code, notes, and snippets.

@vs-mobiletools-engineering-service2
Created October 23, 2023 16:31
Show Gist options
  • Save vs-mobiletools-engineering-service2/3b452e3be567860ab4c67aba381d8224 to your computer and use it in GitHub Desktop.
Save vs-mobiletools-engineering-service2/3b452e3be567860ab4c67aba381d8224 to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
diff --git a/old/Constants.ios.generated.cs b/new/Constants.ios.generated.cs
index a66d0da..6e4b928 100644
--- a/old/Constants.ios.generated.cs
+++ b/new/Constants.ios.generated.cs
@@ -170,6 +170,7 @@ namespace ObjCRuntime {
// iOS 16.0
public const string AVRoutingLibrary = "/System/Library/Frameworks/AVRouting.framework/AVRouting";
public const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
+ public const string MetalFXLibrary = "/System/Library/Frameworks/MetalFX.framework/MetalFX";
public const string PushToTalkLibrary = "/System/Library/Frameworks/PushToTalk.framework/PushToTalk";
public const string SharedWithYouLibrary = "/System/Library/Frameworks/SharedWithYou.framework/SharedWithYou";
public const string SharedWithYouCoreLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore";
diff --git a/old/Constants.macos.generated.cs b/new/Constants.macos.generated.cs
index cd8bfe2..ad3b4d9 100644
--- a/old/Constants.macos.generated.cs
+++ b/new/Constants.macos.generated.cs
@@ -181,6 +181,7 @@ namespace ObjCRuntime {
public const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
public const string ExtensionKitLibrary = "/System/Library/Frameworks/ExtensionKit.framework/ExtensionKit";
public const string HealthKitLibrary = "/System/Library/Frameworks/HealthKit.framework/HealthKit";
+ public const string MetalFXLibrary = "/System/Library/Frameworks/MetalFX.framework/MetalFX";
public const string SharedWithYouLibrary = "/System/Library/Frameworks/SharedWithYou.framework/SharedWithYou";
public const string SharedWithYouCoreLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore";
public const string ThreadNetworkLibrary = "/System/Library/Frameworks/ThreadNetwork.framework/ThreadNetwork";
diff --git a/old/dotnet/Constants.ios.generated.cs b/new/dotnet/Constants.ios.generated.cs
index 325ef12..f28be7f 100644
--- a/old/dotnet/Constants.ios.generated.cs
+++ b/new/dotnet/Constants.ios.generated.cs
@@ -168,6 +168,7 @@ namespace ObjCRuntime {
// iOS 16.0
public const string AVRoutingLibrary = "/System/Library/Frameworks/AVRouting.framework/AVRouting";
public const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
+ public const string MetalFXLibrary = "/System/Library/Frameworks/MetalFX.framework/MetalFX";
public const string PushToTalkLibrary = "/System/Library/Frameworks/PushToTalk.framework/PushToTalk";
public const string SharedWithYouLibrary = "/System/Library/Frameworks/SharedWithYou.framework/SharedWithYou";
public const string SharedWithYouCoreLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore";
diff --git a/old/dotnet/Constants.maccatalyst.generated.cs b/new/dotnet/Constants.maccatalyst.generated.cs
index 801a6ce..73c6300 100644
--- a/old/dotnet/Constants.maccatalyst.generated.cs
+++ b/new/dotnet/Constants.maccatalyst.generated.cs
@@ -137,6 +137,7 @@ namespace ObjCRuntime {
public const string AVRoutingLibrary = "/System/Library/Frameworks/AVRouting.framework/AVRouting";
public const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
public const string ExecutionPolicyLibrary = "/System/Library/Frameworks/ExecutionPolicy.framework/ExecutionPolicy";
+ public const string MetalFXLibrary = "/System/Library/Frameworks/MetalFX.framework/MetalFX";
public const string PushToTalkLibrary = "/System/Library/Frameworks/PushToTalk.framework/PushToTalk";
public const string ServiceManagementLibrary = "/System/Library/Frameworks/ServiceManagement.framework/ServiceManagement";
public const string SharedWithYouLibrary = "/System/Library/Frameworks/SharedWithYou.framework/SharedWithYou";
diff --git a/old/dotnet/Constants.macos.generated.cs b/new/dotnet/Constants.macos.generated.cs
index 554eb5b..3ab170c 100644
--- a/old/dotnet/Constants.macos.generated.cs
+++ b/new/dotnet/Constants.macos.generated.cs
@@ -179,6 +179,7 @@ namespace ObjCRuntime {
public const string BackgroundAssetsLibrary = "/System/Library/Frameworks/BackgroundAssets.framework/BackgroundAssets";
public const string ExtensionKitLibrary = "/System/Library/Frameworks/ExtensionKit.framework/ExtensionKit";
public const string HealthKitLibrary = "/System/Library/Frameworks/HealthKit.framework/HealthKit";
+ public const string MetalFXLibrary = "/System/Library/Frameworks/MetalFX.framework/MetalFX";
public const string SharedWithYouLibrary = "/System/Library/Frameworks/SharedWithYou.framework/SharedWithYou";
public const string SharedWithYouCoreLibrary = "/System/Library/Frameworks/SharedWithYouCore.framework/SharedWithYouCore";
public const string ThreadNetworkLibrary = "/System/Library/Frameworks/ThreadNetwork.framework/ThreadNetwork";
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
index f07601c..b8a18ee 100644
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ab72751e24c6aca12e65dc57ac2611bdbbfe9716")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b7e5523721bd2fe0fd5a986d9789fcd1b745116f")]
[assembly: System.Reflection.AssemblyProductAttribute("bgen")]
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
index 2a0cfeb..95dc3be 100644
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json
@@ -1 +1 @@
-{"documents":{"/Users/builder/azdo/_work/2/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/ab72751e24c6aca12e65dc57ac2611bdbbfe9716/*","/Users/builder/azdo/_work/2/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/rolfbjarne/api-tools/c7d5208967d6d46fdebcac82ade488f00e1fcc50/*","/Users/builder/azdo/_work/2/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/2/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/migueldeicaza/MonoTouch.Dialog/f500f9a48dbf856c693b255078e1507cf1e8edde/*","/Users/builder/azdo/_work/2/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/2/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/spouliot/Touch.Unit/5739adefc261b7bfeb70ff718c7b2d97bdfa42ee/*","/Users/builder/azdo/_work/2/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/b454d454a687d9aa26a382ad16f1a9361b06b074/*"}}
\ No newline at end of file
+{"documents":{"/Users/builder/azdo/_work/2/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/b7e5523721bd2fe0fd5a986d9789fcd1b745116f/*","/Users/builder/azdo/_work/2/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/rolfbjarne/api-tools/c7d5208967d6d46fdebcac82ade488f00e1fcc50/*","/Users/builder/azdo/_work/2/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/2/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/migueldeicaza/MonoTouch.Dialog/f500f9a48dbf856c693b255078e1507cf1e8edde/*","/Users/builder/azdo/_work/2/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/2/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/spouliot/Touch.Unit/5739adefc261b7bfeb70ff718c7b2d97bdfa42ee/*","/Users/builder/azdo/_work/2/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/b454d454a687d9aa26a382ad16f1a9361b06b074/*"}}
\ No newline at end of file
diff --git a/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScaler.g.cs b/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScaler.g.cs
new file mode 100644
index 0000000..cadabf4
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScaler.g.cs
@@ -0,0 +1,383 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [Protocol (Name = "MTLFXSpatialScaler", WrapperType = typeof (MTLFXSpatialScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (UIntPtr), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (UIntPtr), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (UIntPtr), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (UIntPtr), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (UIntPtr), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (UIntPtr), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorProcessingMode", Selector = "colorProcessingMode", PropertyType = typeof (MetalFX.MTLFXSpatialScalerColorProcessingMode), GetterSelector = "colorProcessingMode", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXSpatialScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXSpatialScalerWrapper : BaseWrapper, IMTLFXSpatialScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXSpatialScalerWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ #endif
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ #endif
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ #endif
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ #endif
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ MTLFXSpatialScalerColorProcessingMode ret;
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorProcessingMode"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ #endif
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ #endif
+ }
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs b/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
new file mode 100644
index 0000000..9d5dad2
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
@@ -0,0 +1,61 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [Native]
+ public enum MTLFXSpatialScalerColorProcessingMode : long {
+ Perceptual = 0,
+ Linear = 1,
+ Hdr = 2,
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScalerDescriptor.g.cs b/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
new file mode 100644
index 0000000..d66545c
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
@@ -0,0 +1,307 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXSpatialScalerDescriptor", true)]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ public unsafe partial class MTLFXSpatialScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("MTLFXSpatialScalerDescriptor");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXSpatialScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXSpatialScalerDescriptor (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("newSpatialScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXSpatialScaler? Create (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXSpatialScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("newSpatialScalerWithDevice:"), device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("newSpatialScalerWithDevice:"), device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ #endif
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("supportsDevice:"), device__handle__);
+ return ret != 0;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ MTLFXSpatialScalerColorProcessingMode ret;
+ if (IsDirectBinding) {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorProcessingMode"));
+ } else {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("colorProcessingMode"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setColorProcessingMode:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setColorProcessingMode:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setColorProcessingMode:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("colorTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setColorTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setColorTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputHeight"));
+ }
+ #endif
+ }
+ [Export ("setInputHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputHeight:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setInputHeight:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputWidth"));
+ }
+ #endif
+ }
+ [Export ("setInputWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputWidth:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setInputWidth:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputHeight"));
+ }
+ #endif
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputHeight:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputHeight:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputWidth"));
+ }
+ #endif
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputWidth:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputWidth:"), value);
+ }
+ #endif
+ }
+ }
+ } /* class MTLFXSpatialScalerDescriptor */
+}
diff --git a/new/dotnet/ios/generated-sources/MetalFX/MTLFXTemporalScaler.g.cs b/new/dotnet/ios/generated-sources/MetalFX/MTLFXTemporalScaler.g.cs
new file mode 100644
index 0000000..d012382
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/MetalFX/MTLFXTemporalScaler.g.cs
@@ -0,0 +1,750 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [Protocol (Name = "MTLFXTemporalScaler", WrapperType = typeof (MTLFXTemporalScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureUsage", Selector = "depthTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "depthTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureUsage", Selector = "motionTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "motionTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (UIntPtr), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (UIntPtr), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTexture", Selector = "depthTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "depthTexture", SetterSelector = "setDepthTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTexture", Selector = "motionTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "motionTexture", SetterSelector = "setMotionTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ExposureTexture", Selector = "exposureTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "exposureTexture", SetterSelector = "setExposureTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "PreExposure", Selector = "preExposure", PropertyType = typeof (float), GetterSelector = "preExposure", SetterSelector = "setPreExposure:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetX", Selector = "jitterOffsetX", PropertyType = typeof (float), GetterSelector = "jitterOffsetX", SetterSelector = "setJitterOffsetX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetY", Selector = "jitterOffsetY", PropertyType = typeof (float), GetterSelector = "jitterOffsetY", SetterSelector = "setJitterOffsetY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleX", Selector = "motionVectorScaleX", PropertyType = typeof (float), GetterSelector = "motionVectorScaleX", SetterSelector = "setMotionVectorScaleX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleY", Selector = "motionVectorScaleY", PropertyType = typeof (float), GetterSelector = "motionVectorScaleY", SetterSelector = "setMotionVectorScaleY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Reset", Selector = "reset", PropertyType = typeof (bool), GetterSelector = "reset", SetterSelector = "setReset:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthReversed", Selector = "depthReversed", PropertyType = typeof (bool), GetterSelector = "isDepthReversed", SetterSelector = "setDepthReversed:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureFormat", Selector = "depthTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "depthTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureFormat", Selector = "motionTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "motionTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (UIntPtr), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (UIntPtr), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (UIntPtr), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (UIntPtr), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMinScale", Selector = "inputContentMinScale", PropertyType = typeof (float), GetterSelector = "inputContentMinScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMaxScale", Selector = "inputContentMaxScale", PropertyType = typeof (float), GetterSelector = "inputContentMaxScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXTemporalScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float PreExposure {
+ [Export ("preExposure")]
+ get;
+ [Export ("setPreExposure:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get;
+ [Export ("setJitterOffsetX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get;
+ [Export ("setJitterOffsetY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get;
+ [Export ("setMotionVectorScaleX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get;
+ [Export ("setMotionVectorScaleY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool Reset {
+ [Export ("reset")]
+ get;
+ [Export ("setReset:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get;
+ [Export ("setDepthReversed:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXTemporalScalerWrapper : BaseWrapper, IMTLFXTemporalScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXTemporalScalerWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ #endif
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ #endif
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ #endif
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("depthTexture")), false)!;
+ #endif
+ }
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDepthTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("motionTexture")), false)!;
+ #endif
+ }
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setMotionTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ #endif
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("exposureTexture")), false)!;
+ #endif
+ }
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setExposureTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float PreExposure {
+ [Export ("preExposure")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("preExposure"));
+ #endif
+ }
+ [Export ("setPreExposure:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setPreExposure:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetX"));
+ #endif
+ }
+ [Export ("setJitterOffsetX:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetX:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetY"));
+ #endif
+ }
+ [Export ("setJitterOffsetY:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetY:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleX"));
+ #endif
+ }
+ [Export ("setMotionVectorScaleX:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleX:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleY"));
+ #endif
+ }
+ [Export ("setMotionVectorScaleY:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleY:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool Reset {
+ [Export ("reset")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("reset"));
+ return ret != 0;
+ #endif
+ }
+ [Export ("setReset:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setReset:"), value ? (byte) 1 : (byte) 0);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isDepthReversed"));
+ return ret != 0;
+ #endif
+ }
+ [Export ("setDepthReversed:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setDepthReversed:"), value ? (byte) 1 : (byte) 0);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMinScale"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMaxScale"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ #endif
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ #endif
+ }
+ }
+ }
+}
diff --git a/new/dotnet/ios/generated-sources/MetalFX/MTLFXTemporalScalerDescriptor.g.cs b/new/dotnet/ios/generated-sources/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
new file mode 100644
index 0000000..4dd5ca5
--- /dev/null
+++ b/new/dotnet/ios/generated-sources/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
@@ -0,0 +1,476 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXTemporalScalerDescriptor", true)]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ public unsafe partial class MTLFXTemporalScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly NativeHandle class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly NativeHandle class_ptr = Class.GetHandle ("MTLFXTemporalScalerDescriptor");
+ #endif
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXTemporalScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXTemporalScalerDescriptor (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("newTemporalScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXTemporalScaler? Create (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXTemporalScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("newTemporalScalerWithDevice:"), device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, Selector.GetHandle ("newTemporalScalerWithDevice:"), device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ #endif
+ }
+ [Export ("supportedInputContentMaxScaleForDevice:")]
+ [SupportedOSPlatform ("macos14.0")]
+ [SupportedOSPlatform ("ios17.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMaxScale (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("supportedInputContentMaxScaleForDevice:"), device__handle__);
+ #endif
+ }
+ [Export ("supportedInputContentMinScaleForDevice:")]
+ [SupportedOSPlatform ("macos14.0")]
+ [SupportedOSPlatform ("ios17.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMinScale (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("supportedInputContentMinScaleForDevice:"), device__handle__);
+ #endif
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, Selector.GetHandle ("supportsDevice:"), device__handle__);
+ return ret != 0;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool AutoExposureEnabled {
+ [Export ("isAutoExposureEnabled")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isAutoExposureEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isAutoExposureEnabled"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setAutoExposureEnabled:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAutoExposureEnabled:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAutoExposureEnabled:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("colorTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setColorTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setColorTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("depthTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setDepthTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setDepthTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setDepthTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMaxScale"));
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputContentMaxScale"));
+ }
+ #endif
+ }
+ [Export ("setInputContentMaxScale:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setInputContentMaxScale:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, Selector.GetHandle ("setInputContentMaxScale:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMinScale"));
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputContentMinScale"));
+ }
+ #endif
+ }
+ [Export ("setInputContentMinScale:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setInputContentMinScale:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, Selector.GetHandle ("setInputContentMinScale:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool InputContentPropertiesEnabled {
+ [Export ("isInputContentPropertiesEnabled")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isInputContentPropertiesEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isInputContentPropertiesEnabled"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setInputContentPropertiesEnabled:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setInputContentPropertiesEnabled:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setInputContentPropertiesEnabled:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputHeight"));
+ }
+ #endif
+ }
+ [Export ("setInputHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputHeight:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setInputHeight:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputWidth"));
+ }
+ #endif
+ }
+ [Export ("setInputWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputWidth:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setInputWidth:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("motionTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setMotionTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setMotionTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setMotionTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputHeight"));
+ }
+ #endif
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputHeight:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputHeight:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputWidth"));
+ }
+ #endif
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputWidth:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputWidth:"), value);
+ }
+ #endif
+ }
+ }
+ } /* class MTLFXTemporalScalerDescriptor */
+}
diff --git a/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScaler.g.cs b/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScaler.g.cs
new file mode 100644
index 0000000..5ba63d3
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScaler.g.cs
@@ -0,0 +1,298 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [Protocol (Name = "MTLFXSpatialScaler", WrapperType = typeof (MTLFXSpatialScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (UIntPtr), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (UIntPtr), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (UIntPtr), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (UIntPtr), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (UIntPtr), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (UIntPtr), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorProcessingMode", Selector = "colorProcessingMode", PropertyType = typeof (MetalFX.MTLFXSpatialScalerColorProcessingMode), GetterSelector = "colorProcessingMode", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXSpatialScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXSpatialScalerWrapper : BaseWrapper, IMTLFXSpatialScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXSpatialScalerWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get {
+ MTLFXSpatialScalerColorProcessingMode ret;
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorProcessingMode"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ }
+ }
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs b/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
new file mode 100644
index 0000000..0d7ca09
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
@@ -0,0 +1,56 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [Native]
+ public enum MTLFXSpatialScalerColorProcessingMode : long {
+ Perceptual = 0,
+ Linear = 1,
+ Hdr = 2,
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScalerDescriptor.g.cs b/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
new file mode 100644
index 0000000..b21f846
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
@@ -0,0 +1,280 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXSpatialScalerDescriptor", true)]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ public unsafe partial class MTLFXSpatialScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorProcessingModeX = "colorProcessingMode";
+ static readonly NativeHandle selColorProcessingModeXHandle = Selector.GetHandle ("colorProcessingMode");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorTextureFormatX = "colorTextureFormat";
+ static readonly NativeHandle selColorTextureFormatXHandle = Selector.GetHandle ("colorTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputHeightX = "inputHeight";
+ static readonly NativeHandle selInputHeightXHandle = Selector.GetHandle ("inputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputWidthX = "inputWidth";
+ static readonly NativeHandle selInputWidthXHandle = Selector.GetHandle ("inputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selNewSpatialScalerWithDevice_X = "newSpatialScalerWithDevice:";
+ static readonly NativeHandle selNewSpatialScalerWithDevice_XHandle = Selector.GetHandle ("newSpatialScalerWithDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputHeightX = "outputHeight";
+ static readonly NativeHandle selOutputHeightXHandle = Selector.GetHandle ("outputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputTextureFormatX = "outputTextureFormat";
+ static readonly NativeHandle selOutputTextureFormatXHandle = Selector.GetHandle ("outputTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputWidthX = "outputWidth";
+ static readonly NativeHandle selOutputWidthXHandle = Selector.GetHandle ("outputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorProcessingMode_X = "setColorProcessingMode:";
+ static readonly NativeHandle selSetColorProcessingMode_XHandle = Selector.GetHandle ("setColorProcessingMode:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorTextureFormat_X = "setColorTextureFormat:";
+ static readonly NativeHandle selSetColorTextureFormat_XHandle = Selector.GetHandle ("setColorTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputHeight_X = "setInputHeight:";
+ static readonly NativeHandle selSetInputHeight_XHandle = Selector.GetHandle ("setInputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputWidth_X = "setInputWidth:";
+ static readonly NativeHandle selSetInputWidth_XHandle = Selector.GetHandle ("setInputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputHeight_X = "setOutputHeight:";
+ static readonly NativeHandle selSetOutputHeight_XHandle = Selector.GetHandle ("setOutputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputTextureFormat_X = "setOutputTextureFormat:";
+ static readonly NativeHandle selSetOutputTextureFormat_XHandle = Selector.GetHandle ("setOutputTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputWidth_X = "setOutputWidth:";
+ static readonly NativeHandle selSetOutputWidth_XHandle = Selector.GetHandle ("setOutputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportsDevice_X = "supportsDevice:";
+ static readonly NativeHandle selSupportsDevice_XHandle = Selector.GetHandle ("supportsDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("MTLFXSpatialScalerDescriptor");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXSpatialScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXSpatialScalerDescriptor (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("newSpatialScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXSpatialScaler? Create (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXSpatialScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selNewSpatialScalerWithDevice_XHandle, device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selNewSpatialScalerWithDevice_XHandle, device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, selSupportsDevice_XHandle, device__handle__);
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode", ArgumentSemantic.Assign)]
+ get {
+ MTLFXSpatialScalerColorProcessingMode ret;
+ if (IsDirectBinding) {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selColorProcessingModeXHandle);
+ } else {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selColorProcessingModeXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorProcessingMode:", ArgumentSemantic.Assign)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetColorProcessingMode_XHandle, (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selSetColorProcessingMode_XHandle, (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selColorTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selColorTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputHeightXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputHeightXHandle);
+ }
+ }
+ [Export ("setInputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputHeight_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputHeight_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputWidthXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputWidthXHandle);
+ }
+ }
+ [Export ("setInputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputWidth_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputWidth_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputHeightXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputHeightXHandle);
+ }
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputHeight_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputHeight_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputWidthXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputWidthXHandle);
+ }
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputWidth_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputWidth_XHandle, value);
+ }
+ }
+ }
+ } /* class MTLFXSpatialScalerDescriptor */
+}
diff --git a/new/dotnet/macos/generated-sources/MetalFX/MTLFXTemporalScaler.g.cs b/new/dotnet/macos/generated-sources/MetalFX/MTLFXTemporalScaler.g.cs
new file mode 100644
index 0000000..fc2bddb
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/MetalFX/MTLFXTemporalScaler.g.cs
@@ -0,0 +1,565 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [Protocol (Name = "MTLFXTemporalScaler", WrapperType = typeof (MTLFXTemporalScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureUsage", Selector = "depthTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "depthTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureUsage", Selector = "motionTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "motionTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (UIntPtr), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (UIntPtr), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTexture", Selector = "depthTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "depthTexture", SetterSelector = "setDepthTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTexture", Selector = "motionTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "motionTexture", SetterSelector = "setMotionTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ExposureTexture", Selector = "exposureTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "exposureTexture", SetterSelector = "setExposureTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "PreExposure", Selector = "preExposure", PropertyType = typeof (float), GetterSelector = "preExposure", SetterSelector = "setPreExposure:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetX", Selector = "jitterOffsetX", PropertyType = typeof (float), GetterSelector = "jitterOffsetX", SetterSelector = "setJitterOffsetX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetY", Selector = "jitterOffsetY", PropertyType = typeof (float), GetterSelector = "jitterOffsetY", SetterSelector = "setJitterOffsetY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleX", Selector = "motionVectorScaleX", PropertyType = typeof (float), GetterSelector = "motionVectorScaleX", SetterSelector = "setMotionVectorScaleX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleY", Selector = "motionVectorScaleY", PropertyType = typeof (float), GetterSelector = "motionVectorScaleY", SetterSelector = "setMotionVectorScaleY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Reset", Selector = "reset", PropertyType = typeof (bool), GetterSelector = "reset", SetterSelector = "setReset:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthReversed", Selector = "depthReversed", PropertyType = typeof (bool), GetterSelector = "isDepthReversed", SetterSelector = "setDepthReversed:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureFormat", Selector = "depthTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "depthTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureFormat", Selector = "motionTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "motionTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (UIntPtr), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (UIntPtr), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (UIntPtr), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (UIntPtr), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMinScale", Selector = "inputContentMinScale", PropertyType = typeof (float), GetterSelector = "inputContentMinScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMaxScale", Selector = "inputContentMaxScale", PropertyType = typeof (float), GetterSelector = "inputContentMaxScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXTemporalScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float PreExposure {
+ [Export ("preExposure")]
+ get;
+ [Export ("setPreExposure:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get;
+ [Export ("setJitterOffsetX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get;
+ [Export ("setJitterOffsetY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get;
+ [Export ("setMotionVectorScaleX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get;
+ [Export ("setMotionVectorScaleY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool Reset {
+ [Export ("reset")]
+ get;
+ [Export ("setReset:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get;
+ [Export ("setDepthReversed:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXTemporalScalerWrapper : BaseWrapper, IMTLFXTemporalScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXTemporalScalerWrapper (NativeHandle handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("depthTexture")), false)!;
+ }
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setDepthTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("motionTexture")), false)!;
+ }
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setMotionTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("exposureTexture")), false)!;
+ }
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setExposureTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float PreExposure {
+ [Export ("preExposure")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("preExposure"));
+ }
+ [Export ("setPreExposure:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setPreExposure:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetX"));
+ }
+ [Export ("setJitterOffsetX:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetX:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetY"));
+ }
+ [Export ("setJitterOffsetY:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetY:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleX"));
+ }
+ [Export ("setMotionVectorScaleX:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleX:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleY"));
+ }
+ [Export ("setMotionVectorScaleY:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleY:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool Reset {
+ [Export ("reset")]
+ get {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("reset"));
+ return ret != 0;
+ }
+ [Export ("setReset:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setReset:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isDepthReversed"));
+ return ret != 0;
+ }
+ [Export ("setDepthReversed:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setDepthReversed:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMinScale"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMaxScale"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_NativeHandle (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ }
+ }
+ }
+}
diff --git a/new/dotnet/macos/generated-sources/MetalFX/MTLFXTemporalScalerDescriptor.g.cs b/new/dotnet/macos/generated-sources/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
new file mode 100644
index 0000000..b1906ce
--- /dev/null
+++ b/new/dotnet/macos/generated-sources/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
@@ -0,0 +1,437 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.Versioning;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXTemporalScalerDescriptor", true)]
+ [SupportedOSPlatform ("macos13.0")]
+ [SupportedOSPlatform ("ios16.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ public unsafe partial class MTLFXTemporalScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorTextureFormatX = "colorTextureFormat";
+ static readonly NativeHandle selColorTextureFormatXHandle = Selector.GetHandle ("colorTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selDepthTextureFormatX = "depthTextureFormat";
+ static readonly NativeHandle selDepthTextureFormatXHandle = Selector.GetHandle ("depthTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputContentMaxScaleX = "inputContentMaxScale";
+ static readonly NativeHandle selInputContentMaxScaleXHandle = Selector.GetHandle ("inputContentMaxScale");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputContentMinScaleX = "inputContentMinScale";
+ static readonly NativeHandle selInputContentMinScaleXHandle = Selector.GetHandle ("inputContentMinScale");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputHeightX = "inputHeight";
+ static readonly NativeHandle selInputHeightXHandle = Selector.GetHandle ("inputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputWidthX = "inputWidth";
+ static readonly NativeHandle selInputWidthXHandle = Selector.GetHandle ("inputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selIsAutoExposureEnabledX = "isAutoExposureEnabled";
+ static readonly NativeHandle selIsAutoExposureEnabledXHandle = Selector.GetHandle ("isAutoExposureEnabled");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selIsInputContentPropertiesEnabledX = "isInputContentPropertiesEnabled";
+ static readonly NativeHandle selIsInputContentPropertiesEnabledXHandle = Selector.GetHandle ("isInputContentPropertiesEnabled");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selMotionTextureFormatX = "motionTextureFormat";
+ static readonly NativeHandle selMotionTextureFormatXHandle = Selector.GetHandle ("motionTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selNewTemporalScalerWithDevice_X = "newTemporalScalerWithDevice:";
+ static readonly NativeHandle selNewTemporalScalerWithDevice_XHandle = Selector.GetHandle ("newTemporalScalerWithDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputHeightX = "outputHeight";
+ static readonly NativeHandle selOutputHeightXHandle = Selector.GetHandle ("outputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputTextureFormatX = "outputTextureFormat";
+ static readonly NativeHandle selOutputTextureFormatXHandle = Selector.GetHandle ("outputTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputWidthX = "outputWidth";
+ static readonly NativeHandle selOutputWidthXHandle = Selector.GetHandle ("outputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAutoExposureEnabled_X = "setAutoExposureEnabled:";
+ static readonly NativeHandle selSetAutoExposureEnabled_XHandle = Selector.GetHandle ("setAutoExposureEnabled:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorTextureFormat_X = "setColorTextureFormat:";
+ static readonly NativeHandle selSetColorTextureFormat_XHandle = Selector.GetHandle ("setColorTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetDepthTextureFormat_X = "setDepthTextureFormat:";
+ static readonly NativeHandle selSetDepthTextureFormat_XHandle = Selector.GetHandle ("setDepthTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentMaxScale_X = "setInputContentMaxScale:";
+ static readonly NativeHandle selSetInputContentMaxScale_XHandle = Selector.GetHandle ("setInputContentMaxScale:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentMinScale_X = "setInputContentMinScale:";
+ static readonly NativeHandle selSetInputContentMinScale_XHandle = Selector.GetHandle ("setInputContentMinScale:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentPropertiesEnabled_X = "setInputContentPropertiesEnabled:";
+ static readonly NativeHandle selSetInputContentPropertiesEnabled_XHandle = Selector.GetHandle ("setInputContentPropertiesEnabled:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputHeight_X = "setInputHeight:";
+ static readonly NativeHandle selSetInputHeight_XHandle = Selector.GetHandle ("setInputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputWidth_X = "setInputWidth:";
+ static readonly NativeHandle selSetInputWidth_XHandle = Selector.GetHandle ("setInputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetMotionTextureFormat_X = "setMotionTextureFormat:";
+ static readonly NativeHandle selSetMotionTextureFormat_XHandle = Selector.GetHandle ("setMotionTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputHeight_X = "setOutputHeight:";
+ static readonly NativeHandle selSetOutputHeight_XHandle = Selector.GetHandle ("setOutputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputTextureFormat_X = "setOutputTextureFormat:";
+ static readonly NativeHandle selSetOutputTextureFormat_XHandle = Selector.GetHandle ("setOutputTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputWidth_X = "setOutputWidth:";
+ static readonly NativeHandle selSetOutputWidth_XHandle = Selector.GetHandle ("setOutputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportedInputContentMaxScaleForDevice_X = "supportedInputContentMaxScaleForDevice:";
+ static readonly NativeHandle selSupportedInputContentMaxScaleForDevice_XHandle = Selector.GetHandle ("supportedInputContentMaxScaleForDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportedInputContentMinScaleForDevice_X = "supportedInputContentMinScaleForDevice:";
+ static readonly NativeHandle selSupportedInputContentMinScaleForDevice_XHandle = Selector.GetHandle ("supportedInputContentMinScaleForDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportsDevice_X = "supportsDevice:";
+ static readonly NativeHandle selSupportsDevice_XHandle = Selector.GetHandle ("supportsDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly NativeHandle class_ptr = Class.GetHandle ("MTLFXTemporalScalerDescriptor");
+ public override NativeHandle ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXTemporalScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXTemporalScalerDescriptor (NativeHandle handle) : base (handle)
+ {
+ }
+
+ [Export ("newTemporalScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXTemporalScaler? Create (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXTemporalScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSend_NativeHandle (this.Handle, selNewTemporalScalerWithDevice_XHandle, device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper_NativeHandle (this.SuperHandle, selNewTemporalScalerWithDevice_XHandle, device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("supportedInputContentMaxScaleForDevice:")]
+ [SupportedOSPlatform ("macos14.0")]
+ [SupportedOSPlatform ("ios17.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMaxScale (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_NativeHandle (class_ptr, selSupportedInputContentMaxScaleForDevice_XHandle, device__handle__);
+ }
+ [Export ("supportedInputContentMinScaleForDevice:")]
+ [SupportedOSPlatform ("macos14.0")]
+ [SupportedOSPlatform ("ios17.0")]
+ [UnsupportedOSPlatform ("maccatalyst")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMinScale (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_NativeHandle (class_ptr, selSupportedInputContentMinScaleForDevice_XHandle, device__handle__);
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_NativeHandle (class_ptr, selSupportsDevice_XHandle, device__handle__);
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool AutoExposureEnabled {
+ [Export ("isAutoExposureEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsAutoExposureEnabledXHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsAutoExposureEnabledXHandle);
+ }
+ return ret != 0;
+ }
+ [Export ("setAutoExposureEnabled:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetAutoExposureEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetAutoExposureEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selColorTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selColorTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selDepthTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selDepthTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setDepthTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetDepthTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetDepthTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selInputContentMaxScaleXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selInputContentMaxScaleXHandle);
+ }
+ }
+ [Export ("setInputContentMaxScale:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, selSetInputContentMaxScale_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, selSetInputContentMaxScale_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selInputContentMinScaleXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selInputContentMinScaleXHandle);
+ }
+ }
+ [Export ("setInputContentMinScale:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, selSetInputContentMinScale_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, selSetInputContentMinScale_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool InputContentPropertiesEnabled {
+ [Export ("isInputContentPropertiesEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsInputContentPropertiesEnabledXHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsInputContentPropertiesEnabledXHandle);
+ }
+ return ret != 0;
+ }
+ [Export ("setInputContentPropertiesEnabled:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetInputContentPropertiesEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetInputContentPropertiesEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputHeightXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputHeightXHandle);
+ }
+ }
+ [Export ("setInputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputHeight_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputHeight_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputWidthXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputWidthXHandle);
+ }
+ }
+ [Export ("setInputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputWidth_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputWidth_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selMotionTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selMotionTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setMotionTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetMotionTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetMotionTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputHeightXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputHeightXHandle);
+ }
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputHeight_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputHeight_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.Assign)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.Assign)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputWidthXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputWidthXHandle);
+ }
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputWidth_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputWidth_XHandle, value);
+ }
+ }
+ }
+ } /* class MTLFXTemporalScalerDescriptor */
+}
diff --git a/old/dotnet/projects/iOS/iOS.csproj b/new/dotnet/projects/iOS/iOS.csproj
index cfc191e..ff63df0 100644
--- a/old/dotnet/projects/iOS/iOS.csproj
+++ b/new/dotnet/projects/iOS/iOS.csproj
@@ -1216,6 +1216,7 @@
<None Include="../../../../messages.cs" Link="apis/messages.cs"/>
<None Include="../../../../messageui.cs" Link="apis/messageui.cs"/>
<None Include="../../../../metal.cs" Link="apis/metal.cs"/>
+ <None Include="../../../../metalfx.cs" Link="apis/metalfx.cs"/>
<None Include="../../../../metalkit.cs" Link="apis/metalkit.cs"/>
<None Include="../../../../metalperformanceshaders.cs" Link="apis/metalperformanceshaders.cs"/>
<None Include="../../../../metalperformanceshadersgraph.cs" Link="apis/metalperformanceshadersgraph.cs"/>
diff --git a/old/dotnet/projects/macOS/macOS.csproj b/new/dotnet/projects/macOS/macOS.csproj
index ec45307..3b083ea 100644
--- a/old/dotnet/projects/macOS/macOS.csproj
+++ b/new/dotnet/projects/macOS/macOS.csproj
@@ -1188,6 +1188,7 @@
<None Include="../../../../mediaplayer.cs" Link="apis/mediaplayer.cs"/>
<None Include="../../../../mediatoolbox.cs" Link="apis/mediatoolbox.cs"/>
<None Include="../../../../metal.cs" Link="apis/metal.cs"/>
+ <None Include="../../../../metalfx.cs" Link="apis/metalfx.cs"/>
<None Include="../../../../metalkit.cs" Link="apis/metalkit.cs"/>
<None Include="../../../../metalperformanceshaders.cs" Link="apis/metalperformanceshaders.cs"/>
<None Include="../../../../metalperformanceshadersgraph.cs" Link="apis/metalperformanceshadersgraph.cs"/>
diff --git a/old/generator-frameworks.g.cs b/new/generator-frameworks.g.cs
index fcdfb4c..0b5f6dd 100644
--- a/old/generator-frameworks.g.cs
+++ b/new/generator-frameworks.g.cs
@@ -85,6 +85,7 @@ partial class Frameworks {
"Messages",
"MessageUI",
"Metal",
+ "MetalFX",
"MetalKit",
"MetalPerformanceShaders",
"MetalPerformanceShadersGraph",
@@ -219,6 +220,7 @@ partial class Frameworks {
"MediaPlayer",
"MediaToolbox",
"Metal",
+ "MetalFX",
"MetalKit",
"MetalPerformanceShaders",
"MetalPerformanceShadersGraph",
@@ -640,6 +642,7 @@ partial class Frameworks {
bool? _Messages;
bool? _MessageUI;
bool? _Metal;
+ bool? _MetalFX;
bool? _MetalKit;
bool? _MetalPerformanceShaders;
bool? _MetalPerformanceShadersGraph;
@@ -805,6 +808,7 @@ partial class Frameworks {
public bool HaveMessages { get { if (!_Messages.HasValue) _Messages = GetValue ("Messages"); return _Messages.Value; } }
public bool HaveMessageUI { get { if (!_MessageUI.HasValue) _MessageUI = GetValue ("MessageUI"); return _MessageUI.Value; } }
public bool HaveMetal { get { if (!_Metal.HasValue) _Metal = GetValue ("Metal"); return _Metal.Value; } }
+ public bool HaveMetalFX { get { if (!_MetalFX.HasValue) _MetalFX = GetValue ("MetalFX"); return _MetalFX.Value; } }
public bool HaveMetalKit { get { if (!_MetalKit.HasValue) _MetalKit = GetValue ("MetalKit"); return _MetalKit.Value; } }
public bool HaveMetalPerformanceShaders { get { if (!_MetalPerformanceShaders.HasValue) _MetalPerformanceShaders = GetValue ("MetalPerformanceShaders"); return _MetalPerformanceShaders.Value; } }
public bool HaveMetalPerformanceShadersGraph { get { if (!_MetalPerformanceShadersGraph.HasValue) _MetalPerformanceShadersGraph = GetValue ("MetalPerformanceShadersGraph"); return _MetalPerformanceShadersGraph.Value; } }
diff --git a/new/ios/native/MetalFX/MTLFXSpatialScaler.g.cs b/new/ios/native/MetalFX/MTLFXSpatialScaler.g.cs
new file mode 100644
index 0000000..a411b3a
--- /dev/null
+++ b/new/ios/native/MetalFX/MTLFXSpatialScaler.g.cs
@@ -0,0 +1,382 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Protocol (Name = "MTLFXSpatialScaler", WrapperType = typeof (MTLFXSpatialScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (nuint), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (nuint), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (nuint), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (nuint), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (nuint), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (nuint), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorProcessingMode", Selector = "colorProcessingMode", PropertyType = typeof (MetalFX.MTLFXSpatialScalerColorProcessingMode), GetterSelector = "colorProcessingMode", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXSpatialScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXSpatialScalerWrapper : BaseWrapper, IMTLFXSpatialScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXSpatialScalerWrapper (IntPtr handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ #endif
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), (UIntPtr) value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ #endif
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), (UIntPtr) value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ #endif
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ #endif
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ MTLFXSpatialScalerColorProcessingMode ret;
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorProcessingMode"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ #endif
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ #endif
+ }
+ }
+ }
+}
diff --git a/new/ios/native/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs b/new/ios/native/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
new file mode 100644
index 0000000..cf7aa14
--- /dev/null
+++ b/new/ios/native/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
@@ -0,0 +1,60 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Native]
+ public enum MTLFXSpatialScalerColorProcessingMode : long {
+ Perceptual = 0,
+ Linear = 1,
+ Hdr = 2,
+ }
+}
diff --git a/new/ios/native/MetalFX/MTLFXSpatialScalerDescriptor.g.cs b/new/ios/native/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
new file mode 100644
index 0000000..fc41d0f
--- /dev/null
+++ b/new/ios/native/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
@@ -0,0 +1,306 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXSpatialScalerDescriptor", true)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public unsafe partial class MTLFXSpatialScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly IntPtr class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly IntPtr class_ptr = Class.GetHandle ("MTLFXSpatialScalerDescriptor");
+ #endif
+ public override IntPtr ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXSpatialScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXSpatialScalerDescriptor (IntPtr handle) : base (handle)
+ {
+ }
+
+ [Export ("newSpatialScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXSpatialScaler? Create (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXSpatialScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("newSpatialScalerWithDevice:"), device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("newSpatialScalerWithDevice:"), device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ #endif
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_IntPtr (class_ptr, Selector.GetHandle ("supportsDevice:"), device__handle__);
+ return ret != 0;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ MTLFXSpatialScalerColorProcessingMode ret;
+ if (IsDirectBinding) {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorProcessingMode"));
+ } else {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("colorProcessingMode"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setColorProcessingMode:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setColorProcessingMode:"), (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("setColorProcessingMode:"), (IntPtr) (long) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("colorTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setColorTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setColorTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputHeight"));
+ }
+ #endif
+ }
+ [Export ("setInputHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputHeight:"), (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setInputHeight:"), (UIntPtr) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputWidth"));
+ }
+ #endif
+ }
+ [Export ("setInputWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputWidth:"), (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setInputWidth:"), (UIntPtr) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputHeight"));
+ }
+ #endif
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputHeight:"), (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputHeight:"), (UIntPtr) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputWidth"));
+ }
+ #endif
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputWidth:"), (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputWidth:"), (UIntPtr) value);
+ }
+ #endif
+ }
+ }
+ } /* class MTLFXSpatialScalerDescriptor */
+}
diff --git a/new/ios/native/MetalFX/MTLFXTemporalScaler.g.cs b/new/ios/native/MetalFX/MTLFXTemporalScaler.g.cs
new file mode 100644
index 0000000..4787247
--- /dev/null
+++ b/new/ios/native/MetalFX/MTLFXTemporalScaler.g.cs
@@ -0,0 +1,749 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Protocol (Name = "MTLFXTemporalScaler", WrapperType = typeof (MTLFXTemporalScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureUsage", Selector = "depthTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "depthTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureUsage", Selector = "motionTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "motionTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (nuint), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (nuint), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTexture", Selector = "depthTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "depthTexture", SetterSelector = "setDepthTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTexture", Selector = "motionTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "motionTexture", SetterSelector = "setMotionTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ExposureTexture", Selector = "exposureTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "exposureTexture", SetterSelector = "setExposureTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "PreExposure", Selector = "preExposure", PropertyType = typeof (float), GetterSelector = "preExposure", SetterSelector = "setPreExposure:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetX", Selector = "jitterOffsetX", PropertyType = typeof (float), GetterSelector = "jitterOffsetX", SetterSelector = "setJitterOffsetX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetY", Selector = "jitterOffsetY", PropertyType = typeof (float), GetterSelector = "jitterOffsetY", SetterSelector = "setJitterOffsetY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleX", Selector = "motionVectorScaleX", PropertyType = typeof (float), GetterSelector = "motionVectorScaleX", SetterSelector = "setMotionVectorScaleX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleY", Selector = "motionVectorScaleY", PropertyType = typeof (float), GetterSelector = "motionVectorScaleY", SetterSelector = "setMotionVectorScaleY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Reset", Selector = "reset", PropertyType = typeof (bool), GetterSelector = "reset", SetterSelector = "setReset:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthReversed", Selector = "depthReversed", PropertyType = typeof (bool), GetterSelector = "isDepthReversed", SetterSelector = "setDepthReversed:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureFormat", Selector = "depthTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "depthTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureFormat", Selector = "motionTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "motionTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (nuint), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (nuint), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (nuint), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (nuint), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMinScale", Selector = "inputContentMinScale", PropertyType = typeof (float), GetterSelector = "inputContentMinScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMaxScale", Selector = "inputContentMaxScale", PropertyType = typeof (float), GetterSelector = "inputContentMaxScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXTemporalScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float PreExposure {
+ [Export ("preExposure")]
+ get;
+ [Export ("setPreExposure:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get;
+ [Export ("setJitterOffsetX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get;
+ [Export ("setJitterOffsetY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get;
+ [Export ("setMotionVectorScaleX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get;
+ [Export ("setMotionVectorScaleY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool Reset {
+ [Export ("reset")]
+ get;
+ [Export ("setReset:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get;
+ [Export ("setDepthReversed:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXTemporalScalerWrapper : BaseWrapper, IMTLFXTemporalScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXTemporalScalerWrapper (IntPtr handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ #endif
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), (UIntPtr) value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ #endif
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), (UIntPtr) value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ #endif
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTexture")), false)!;
+ #endif
+ }
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setDepthTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTexture")), false)!;
+ #endif
+ }
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setMotionTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ #endif
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("exposureTexture")), false)!;
+ #endif
+ }
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setExposureTexture:"), value__handle__);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float PreExposure {
+ [Export ("preExposure")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("preExposure"));
+ #endif
+ }
+ [Export ("setPreExposure:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setPreExposure:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetX"));
+ #endif
+ }
+ [Export ("setJitterOffsetX:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetX:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetY"));
+ #endif
+ }
+ [Export ("setJitterOffsetY:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetY:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleX"));
+ #endif
+ }
+ [Export ("setMotionVectorScaleX:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleX:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleY"));
+ #endif
+ }
+ [Export ("setMotionVectorScaleY:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleY:"), value);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool Reset {
+ [Export ("reset")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("reset"));
+ return ret != 0;
+ #endif
+ }
+ [Export ("setReset:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setReset:"), value ? (byte) 1 : (byte) 0);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isDepthReversed"));
+ return ret != 0;
+ #endif
+ }
+ [Export ("setDepthReversed:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setDepthReversed:"), value ? (byte) 1 : (byte) 0);
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMinScale"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMaxScale"));
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ #endif
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ #endif
+ }
+ }
+ }
+}
diff --git a/new/ios/native/MetalFX/MTLFXTemporalScalerDescriptor.g.cs b/new/ios/native/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
new file mode 100644
index 0000000..d59c854
--- /dev/null
+++ b/new/ios/native/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
@@ -0,0 +1,475 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Drawing;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using UIKit;
+using GLKit;
+using Metal;
+using CoreML;
+using MapKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using Messages;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using QuickLook;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using CoreMotion;
+using ObjCRuntime;
+using AddressBook;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using NewsstandKit;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXTemporalScalerDescriptor", true)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public unsafe partial class MTLFXTemporalScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ #if ARCH_32
+ #pragma warning disable 649
+ static readonly IntPtr class_ptr;
+ #pragma warning restore 649
+ #else
+ static readonly IntPtr class_ptr = Class.GetHandle ("MTLFXTemporalScalerDescriptor");
+ #endif
+ public override IntPtr ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXTemporalScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXTemporalScalerDescriptor (IntPtr handle) : base (handle)
+ {
+ }
+
+ [Export ("newTemporalScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXTemporalScaler? Create (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXTemporalScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("newTemporalScalerWithDevice:"), device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, Selector.GetHandle ("newTemporalScalerWithDevice:"), device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ #endif
+ }
+ [Export ("supportedInputContentMaxScaleForDevice:")]
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMaxScale (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_IntPtr (class_ptr, Selector.GetHandle ("supportedInputContentMaxScaleForDevice:"), device__handle__);
+ #endif
+ }
+ [Export ("supportedInputContentMinScaleForDevice:")]
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMinScale (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_IntPtr (class_ptr, Selector.GetHandle ("supportedInputContentMinScaleForDevice:"), device__handle__);
+ #endif
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_IntPtr (class_ptr, Selector.GetHandle ("supportsDevice:"), device__handle__);
+ return ret != 0;
+ #endif
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool AutoExposureEnabled {
+ [Export ("isAutoExposureEnabled")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isAutoExposureEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isAutoExposureEnabled"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setAutoExposureEnabled:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setAutoExposureEnabled:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setAutoExposureEnabled:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("colorTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setColorTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setColorTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("depthTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setDepthTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setDepthTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setDepthTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMaxScale"));
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputContentMaxScale"));
+ }
+ #endif
+ }
+ [Export ("setInputContentMaxScale:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setInputContentMaxScale:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, Selector.GetHandle ("setInputContentMaxScale:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMinScale"));
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputContentMinScale"));
+ }
+ #endif
+ }
+ [Export ("setInputContentMinScale:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setInputContentMinScale:"), value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, Selector.GetHandle ("setInputContentMinScale:"), value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool InputContentPropertiesEnabled {
+ [Export ("isInputContentPropertiesEnabled")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isInputContentPropertiesEnabled"));
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("isInputContentPropertiesEnabled"));
+ }
+ return ret != 0;
+ #endif
+ }
+ [Export ("setInputContentPropertiesEnabled:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setInputContentPropertiesEnabled:"), value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, Selector.GetHandle ("setInputContentPropertiesEnabled:"), value ? (byte) 1 : (byte) 0);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputHeight"));
+ }
+ #endif
+ }
+ [Export ("setInputHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputHeight:"), (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setInputHeight:"), (UIntPtr) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("inputWidth"));
+ }
+ #endif
+ }
+ [Export ("setInputWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputWidth:"), (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setInputWidth:"), (UIntPtr) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("motionTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setMotionTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setMotionTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setMotionTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputHeight"));
+ }
+ #endif
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputHeight:"), (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputHeight:"), (UIntPtr) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputTextureFormat"));
+ }
+ return ret!;
+ #endif
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputTextureFormat:"), (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputTextureFormat:"), (UIntPtr) (ulong) value);
+ }
+ #endif
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, Selector.GetHandle ("outputWidth"));
+ }
+ #endif
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ #if ARCH_32
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS");
+ #else
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setOutputWidth:"), (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, Selector.GetHandle ("setOutputWidth:"), (UIntPtr) value);
+ }
+ #endif
+ }
+ }
+ } /* class MTLFXTemporalScalerDescriptor */
+}
diff --git a/new/mac/full/MetalFX/MTLFXSpatialScaler.g.cs b/new/mac/full/MetalFX/MTLFXSpatialScaler.g.cs
new file mode 100644
index 0000000..fef6c3d
--- /dev/null
+++ b/new/mac/full/MetalFX/MTLFXSpatialScaler.g.cs
@@ -0,0 +1,297 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Protocol (Name = "MTLFXSpatialScaler", WrapperType = typeof (MTLFXSpatialScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (nuint), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (nuint), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (nuint), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (nuint), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (nuint), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (nuint), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorProcessingMode", Selector = "colorProcessingMode", PropertyType = typeof (MetalFX.MTLFXSpatialScalerColorProcessingMode), GetterSelector = "colorProcessingMode", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXSpatialScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXSpatialScalerWrapper : BaseWrapper, IMTLFXSpatialScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXSpatialScalerWrapper (IntPtr handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), (UIntPtr) value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), (UIntPtr) value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get {
+ MTLFXSpatialScalerColorProcessingMode ret;
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorProcessingMode"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ }
+ }
+ }
+}
diff --git a/new/mac/full/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs b/new/mac/full/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
new file mode 100644
index 0000000..cedb23a
--- /dev/null
+++ b/new/mac/full/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
@@ -0,0 +1,55 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Native]
+ public enum MTLFXSpatialScalerColorProcessingMode : long {
+ Perceptual = 0,
+ Linear = 1,
+ Hdr = 2,
+ }
+}
diff --git a/new/mac/full/MetalFX/MTLFXSpatialScalerDescriptor.g.cs b/new/mac/full/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
new file mode 100644
index 0000000..fb582fe
--- /dev/null
+++ b/new/mac/full/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
@@ -0,0 +1,279 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXSpatialScalerDescriptor", true)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public unsafe partial class MTLFXSpatialScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorProcessingModeX = "colorProcessingMode";
+ static readonly IntPtr selColorProcessingModeXHandle = Selector.GetHandle ("colorProcessingMode");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorTextureFormatX = "colorTextureFormat";
+ static readonly IntPtr selColorTextureFormatXHandle = Selector.GetHandle ("colorTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputHeightX = "inputHeight";
+ static readonly IntPtr selInputHeightXHandle = Selector.GetHandle ("inputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputWidthX = "inputWidth";
+ static readonly IntPtr selInputWidthXHandle = Selector.GetHandle ("inputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selNewSpatialScalerWithDevice_X = "newSpatialScalerWithDevice:";
+ static readonly IntPtr selNewSpatialScalerWithDevice_XHandle = Selector.GetHandle ("newSpatialScalerWithDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputHeightX = "outputHeight";
+ static readonly IntPtr selOutputHeightXHandle = Selector.GetHandle ("outputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputTextureFormatX = "outputTextureFormat";
+ static readonly IntPtr selOutputTextureFormatXHandle = Selector.GetHandle ("outputTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputWidthX = "outputWidth";
+ static readonly IntPtr selOutputWidthXHandle = Selector.GetHandle ("outputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorProcessingMode_X = "setColorProcessingMode:";
+ static readonly IntPtr selSetColorProcessingMode_XHandle = Selector.GetHandle ("setColorProcessingMode:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorTextureFormat_X = "setColorTextureFormat:";
+ static readonly IntPtr selSetColorTextureFormat_XHandle = Selector.GetHandle ("setColorTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputHeight_X = "setInputHeight:";
+ static readonly IntPtr selSetInputHeight_XHandle = Selector.GetHandle ("setInputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputWidth_X = "setInputWidth:";
+ static readonly IntPtr selSetInputWidth_XHandle = Selector.GetHandle ("setInputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputHeight_X = "setOutputHeight:";
+ static readonly IntPtr selSetOutputHeight_XHandle = Selector.GetHandle ("setOutputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputTextureFormat_X = "setOutputTextureFormat:";
+ static readonly IntPtr selSetOutputTextureFormat_XHandle = Selector.GetHandle ("setOutputTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputWidth_X = "setOutputWidth:";
+ static readonly IntPtr selSetOutputWidth_XHandle = Selector.GetHandle ("setOutputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportsDevice_X = "supportsDevice:";
+ static readonly IntPtr selSupportsDevice_XHandle = Selector.GetHandle ("supportsDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly IntPtr class_ptr = Class.GetHandle ("MTLFXSpatialScalerDescriptor");
+ public override IntPtr ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXSpatialScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXSpatialScalerDescriptor (IntPtr handle) : base (handle)
+ {
+ }
+
+ [Export ("newSpatialScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXSpatialScaler? Create (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXSpatialScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, selNewSpatialScalerWithDevice_XHandle, device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, selNewSpatialScalerWithDevice_XHandle, device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_IntPtr (class_ptr, selSupportsDevice_XHandle, device__handle__);
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ MTLFXSpatialScalerColorProcessingMode ret;
+ if (IsDirectBinding) {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selColorProcessingModeXHandle);
+ } else {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selColorProcessingModeXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorProcessingMode:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetColorProcessingMode_XHandle, (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selSetColorProcessingMode_XHandle, (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selColorTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selColorTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputHeightXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputHeightXHandle);
+ }
+ }
+ [Export ("setInputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputHeight_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputHeight_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputWidthXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputWidthXHandle);
+ }
+ }
+ [Export ("setInputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputWidth_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputWidth_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputHeightXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputHeightXHandle);
+ }
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputHeight_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputHeight_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputWidthXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputWidthXHandle);
+ }
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputWidth_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputWidth_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ } /* class MTLFXSpatialScalerDescriptor */
+}
diff --git a/new/mac/full/MetalFX/MTLFXTemporalScaler.g.cs b/new/mac/full/MetalFX/MTLFXTemporalScaler.g.cs
new file mode 100644
index 0000000..784840a
--- /dev/null
+++ b/new/mac/full/MetalFX/MTLFXTemporalScaler.g.cs
@@ -0,0 +1,564 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Protocol (Name = "MTLFXTemporalScaler", WrapperType = typeof (MTLFXTemporalScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureUsage", Selector = "depthTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "depthTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureUsage", Selector = "motionTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "motionTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (nuint), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (nuint), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTexture", Selector = "depthTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "depthTexture", SetterSelector = "setDepthTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTexture", Selector = "motionTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "motionTexture", SetterSelector = "setMotionTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ExposureTexture", Selector = "exposureTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "exposureTexture", SetterSelector = "setExposureTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "PreExposure", Selector = "preExposure", PropertyType = typeof (float), GetterSelector = "preExposure", SetterSelector = "setPreExposure:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetX", Selector = "jitterOffsetX", PropertyType = typeof (float), GetterSelector = "jitterOffsetX", SetterSelector = "setJitterOffsetX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetY", Selector = "jitterOffsetY", PropertyType = typeof (float), GetterSelector = "jitterOffsetY", SetterSelector = "setJitterOffsetY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleX", Selector = "motionVectorScaleX", PropertyType = typeof (float), GetterSelector = "motionVectorScaleX", SetterSelector = "setMotionVectorScaleX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleY", Selector = "motionVectorScaleY", PropertyType = typeof (float), GetterSelector = "motionVectorScaleY", SetterSelector = "setMotionVectorScaleY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Reset", Selector = "reset", PropertyType = typeof (bool), GetterSelector = "reset", SetterSelector = "setReset:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthReversed", Selector = "depthReversed", PropertyType = typeof (bool), GetterSelector = "isDepthReversed", SetterSelector = "setDepthReversed:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureFormat", Selector = "depthTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "depthTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureFormat", Selector = "motionTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "motionTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (nuint), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (nuint), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (nuint), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (nuint), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMinScale", Selector = "inputContentMinScale", PropertyType = typeof (float), GetterSelector = "inputContentMinScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMaxScale", Selector = "inputContentMaxScale", PropertyType = typeof (float), GetterSelector = "inputContentMaxScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXTemporalScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float PreExposure {
+ [Export ("preExposure")]
+ get;
+ [Export ("setPreExposure:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get;
+ [Export ("setJitterOffsetX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get;
+ [Export ("setJitterOffsetY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get;
+ [Export ("setMotionVectorScaleX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get;
+ [Export ("setMotionVectorScaleY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool Reset {
+ [Export ("reset")]
+ get;
+ [Export ("setReset:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get;
+ [Export ("setDepthReversed:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXTemporalScalerWrapper : BaseWrapper, IMTLFXTemporalScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXTemporalScalerWrapper (IntPtr handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), (UIntPtr) value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), (UIntPtr) value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTexture")), false)!;
+ }
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setDepthTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTexture")), false)!;
+ }
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setMotionTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("exposureTexture")), false)!;
+ }
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setExposureTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float PreExposure {
+ [Export ("preExposure")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("preExposure"));
+ }
+ [Export ("setPreExposure:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setPreExposure:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetX"));
+ }
+ [Export ("setJitterOffsetX:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetX:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetY"));
+ }
+ [Export ("setJitterOffsetY:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetY:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleX"));
+ }
+ [Export ("setMotionVectorScaleX:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleX:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleY"));
+ }
+ [Export ("setMotionVectorScaleY:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleY:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool Reset {
+ [Export ("reset")]
+ get {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("reset"));
+ return ret != 0;
+ }
+ [Export ("setReset:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setReset:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isDepthReversed"));
+ return ret != 0;
+ }
+ [Export ("setDepthReversed:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setDepthReversed:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMinScale"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMaxScale"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ }
+ }
+ }
+}
diff --git a/new/mac/full/MetalFX/MTLFXTemporalScalerDescriptor.g.cs b/new/mac/full/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
new file mode 100644
index 0000000..d21d39c
--- /dev/null
+++ b/new/mac/full/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
@@ -0,0 +1,436 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXTemporalScalerDescriptor", true)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public unsafe partial class MTLFXTemporalScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorTextureFormatX = "colorTextureFormat";
+ static readonly IntPtr selColorTextureFormatXHandle = Selector.GetHandle ("colorTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selDepthTextureFormatX = "depthTextureFormat";
+ static readonly IntPtr selDepthTextureFormatXHandle = Selector.GetHandle ("depthTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputContentMaxScaleX = "inputContentMaxScale";
+ static readonly IntPtr selInputContentMaxScaleXHandle = Selector.GetHandle ("inputContentMaxScale");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputContentMinScaleX = "inputContentMinScale";
+ static readonly IntPtr selInputContentMinScaleXHandle = Selector.GetHandle ("inputContentMinScale");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputHeightX = "inputHeight";
+ static readonly IntPtr selInputHeightXHandle = Selector.GetHandle ("inputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputWidthX = "inputWidth";
+ static readonly IntPtr selInputWidthXHandle = Selector.GetHandle ("inputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selIsAutoExposureEnabledX = "isAutoExposureEnabled";
+ static readonly IntPtr selIsAutoExposureEnabledXHandle = Selector.GetHandle ("isAutoExposureEnabled");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selIsInputContentPropertiesEnabledX = "isInputContentPropertiesEnabled";
+ static readonly IntPtr selIsInputContentPropertiesEnabledXHandle = Selector.GetHandle ("isInputContentPropertiesEnabled");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selMotionTextureFormatX = "motionTextureFormat";
+ static readonly IntPtr selMotionTextureFormatXHandle = Selector.GetHandle ("motionTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selNewTemporalScalerWithDevice_X = "newTemporalScalerWithDevice:";
+ static readonly IntPtr selNewTemporalScalerWithDevice_XHandle = Selector.GetHandle ("newTemporalScalerWithDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputHeightX = "outputHeight";
+ static readonly IntPtr selOutputHeightXHandle = Selector.GetHandle ("outputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputTextureFormatX = "outputTextureFormat";
+ static readonly IntPtr selOutputTextureFormatXHandle = Selector.GetHandle ("outputTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputWidthX = "outputWidth";
+ static readonly IntPtr selOutputWidthXHandle = Selector.GetHandle ("outputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAutoExposureEnabled_X = "setAutoExposureEnabled:";
+ static readonly IntPtr selSetAutoExposureEnabled_XHandle = Selector.GetHandle ("setAutoExposureEnabled:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorTextureFormat_X = "setColorTextureFormat:";
+ static readonly IntPtr selSetColorTextureFormat_XHandle = Selector.GetHandle ("setColorTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetDepthTextureFormat_X = "setDepthTextureFormat:";
+ static readonly IntPtr selSetDepthTextureFormat_XHandle = Selector.GetHandle ("setDepthTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentMaxScale_X = "setInputContentMaxScale:";
+ static readonly IntPtr selSetInputContentMaxScale_XHandle = Selector.GetHandle ("setInputContentMaxScale:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentMinScale_X = "setInputContentMinScale:";
+ static readonly IntPtr selSetInputContentMinScale_XHandle = Selector.GetHandle ("setInputContentMinScale:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentPropertiesEnabled_X = "setInputContentPropertiesEnabled:";
+ static readonly IntPtr selSetInputContentPropertiesEnabled_XHandle = Selector.GetHandle ("setInputContentPropertiesEnabled:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputHeight_X = "setInputHeight:";
+ static readonly IntPtr selSetInputHeight_XHandle = Selector.GetHandle ("setInputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputWidth_X = "setInputWidth:";
+ static readonly IntPtr selSetInputWidth_XHandle = Selector.GetHandle ("setInputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetMotionTextureFormat_X = "setMotionTextureFormat:";
+ static readonly IntPtr selSetMotionTextureFormat_XHandle = Selector.GetHandle ("setMotionTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputHeight_X = "setOutputHeight:";
+ static readonly IntPtr selSetOutputHeight_XHandle = Selector.GetHandle ("setOutputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputTextureFormat_X = "setOutputTextureFormat:";
+ static readonly IntPtr selSetOutputTextureFormat_XHandle = Selector.GetHandle ("setOutputTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputWidth_X = "setOutputWidth:";
+ static readonly IntPtr selSetOutputWidth_XHandle = Selector.GetHandle ("setOutputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportedInputContentMaxScaleForDevice_X = "supportedInputContentMaxScaleForDevice:";
+ static readonly IntPtr selSupportedInputContentMaxScaleForDevice_XHandle = Selector.GetHandle ("supportedInputContentMaxScaleForDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportedInputContentMinScaleForDevice_X = "supportedInputContentMinScaleForDevice:";
+ static readonly IntPtr selSupportedInputContentMinScaleForDevice_XHandle = Selector.GetHandle ("supportedInputContentMinScaleForDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportsDevice_X = "supportsDevice:";
+ static readonly IntPtr selSupportsDevice_XHandle = Selector.GetHandle ("supportsDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly IntPtr class_ptr = Class.GetHandle ("MTLFXTemporalScalerDescriptor");
+ public override IntPtr ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXTemporalScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXTemporalScalerDescriptor (IntPtr handle) : base (handle)
+ {
+ }
+
+ [Export ("newTemporalScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXTemporalScaler? Create (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXTemporalScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, selNewTemporalScalerWithDevice_XHandle, device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, selNewTemporalScalerWithDevice_XHandle, device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("supportedInputContentMaxScaleForDevice:")]
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMaxScale (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_IntPtr (class_ptr, selSupportedInputContentMaxScaleForDevice_XHandle, device__handle__);
+ }
+ [Export ("supportedInputContentMinScaleForDevice:")]
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMinScale (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_IntPtr (class_ptr, selSupportedInputContentMinScaleForDevice_XHandle, device__handle__);
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_IntPtr (class_ptr, selSupportsDevice_XHandle, device__handle__);
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool AutoExposureEnabled {
+ [Export ("isAutoExposureEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsAutoExposureEnabledXHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsAutoExposureEnabledXHandle);
+ }
+ return ret != 0;
+ }
+ [Export ("setAutoExposureEnabled:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetAutoExposureEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetAutoExposureEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selColorTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selColorTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selDepthTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selDepthTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setDepthTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetDepthTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetDepthTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selInputContentMaxScaleXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selInputContentMaxScaleXHandle);
+ }
+ }
+ [Export ("setInputContentMaxScale:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, selSetInputContentMaxScale_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, selSetInputContentMaxScale_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selInputContentMinScaleXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selInputContentMinScaleXHandle);
+ }
+ }
+ [Export ("setInputContentMinScale:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, selSetInputContentMinScale_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, selSetInputContentMinScale_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool InputContentPropertiesEnabled {
+ [Export ("isInputContentPropertiesEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsInputContentPropertiesEnabledXHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsInputContentPropertiesEnabledXHandle);
+ }
+ return ret != 0;
+ }
+ [Export ("setInputContentPropertiesEnabled:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetInputContentPropertiesEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetInputContentPropertiesEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputHeightXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputHeightXHandle);
+ }
+ }
+ [Export ("setInputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputHeight_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputHeight_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputWidthXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputWidthXHandle);
+ }
+ }
+ [Export ("setInputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputWidth_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputWidth_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selMotionTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selMotionTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setMotionTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetMotionTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetMotionTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputHeightXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputHeightXHandle);
+ }
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputHeight_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputHeight_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputWidthXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputWidthXHandle);
+ }
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputWidth_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputWidth_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ } /* class MTLFXTemporalScalerDescriptor */
+}
diff --git a/new/mac/mobile/MetalFX/MTLFXSpatialScaler.g.cs b/new/mac/mobile/MetalFX/MTLFXSpatialScaler.g.cs
new file mode 100644
index 0000000..fef6c3d
--- /dev/null
+++ b/new/mac/mobile/MetalFX/MTLFXSpatialScaler.g.cs
@@ -0,0 +1,297 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Protocol (Name = "MTLFXSpatialScaler", WrapperType = typeof (MTLFXSpatialScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (nuint), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (nuint), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (nuint), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (nuint), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (nuint), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (nuint), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorProcessingMode", Selector = "colorProcessingMode", PropertyType = typeof (MetalFX.MTLFXSpatialScalerColorProcessingMode), GetterSelector = "colorProcessingMode", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXSpatialScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXSpatialScalerWrapper : BaseWrapper, IMTLFXSpatialScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXSpatialScalerWrapper (IntPtr handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), (UIntPtr) value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), (UIntPtr) value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode")]
+ get {
+ MTLFXSpatialScalerColorProcessingMode ret;
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorProcessingMode"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ }
+ }
+ }
+}
diff --git a/new/mac/mobile/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs b/new/mac/mobile/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
new file mode 100644
index 0000000..cedb23a
--- /dev/null
+++ b/new/mac/mobile/MetalFX/MTLFXSpatialScalerColorProcessingMode.g.cs
@@ -0,0 +1,55 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Native]
+ public enum MTLFXSpatialScalerColorProcessingMode : long {
+ Perceptual = 0,
+ Linear = 1,
+ Hdr = 2,
+ }
+}
diff --git a/new/mac/mobile/MetalFX/MTLFXSpatialScalerDescriptor.g.cs b/new/mac/mobile/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
new file mode 100644
index 0000000..fb582fe
--- /dev/null
+++ b/new/mac/mobile/MetalFX/MTLFXSpatialScalerDescriptor.g.cs
@@ -0,0 +1,279 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXSpatialScalerDescriptor", true)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public unsafe partial class MTLFXSpatialScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorProcessingModeX = "colorProcessingMode";
+ static readonly IntPtr selColorProcessingModeXHandle = Selector.GetHandle ("colorProcessingMode");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorTextureFormatX = "colorTextureFormat";
+ static readonly IntPtr selColorTextureFormatXHandle = Selector.GetHandle ("colorTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputHeightX = "inputHeight";
+ static readonly IntPtr selInputHeightXHandle = Selector.GetHandle ("inputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputWidthX = "inputWidth";
+ static readonly IntPtr selInputWidthXHandle = Selector.GetHandle ("inputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selNewSpatialScalerWithDevice_X = "newSpatialScalerWithDevice:";
+ static readonly IntPtr selNewSpatialScalerWithDevice_XHandle = Selector.GetHandle ("newSpatialScalerWithDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputHeightX = "outputHeight";
+ static readonly IntPtr selOutputHeightXHandle = Selector.GetHandle ("outputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputTextureFormatX = "outputTextureFormat";
+ static readonly IntPtr selOutputTextureFormatXHandle = Selector.GetHandle ("outputTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputWidthX = "outputWidth";
+ static readonly IntPtr selOutputWidthXHandle = Selector.GetHandle ("outputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorProcessingMode_X = "setColorProcessingMode:";
+ static readonly IntPtr selSetColorProcessingMode_XHandle = Selector.GetHandle ("setColorProcessingMode:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorTextureFormat_X = "setColorTextureFormat:";
+ static readonly IntPtr selSetColorTextureFormat_XHandle = Selector.GetHandle ("setColorTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputHeight_X = "setInputHeight:";
+ static readonly IntPtr selSetInputHeight_XHandle = Selector.GetHandle ("setInputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputWidth_X = "setInputWidth:";
+ static readonly IntPtr selSetInputWidth_XHandle = Selector.GetHandle ("setInputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputHeight_X = "setOutputHeight:";
+ static readonly IntPtr selSetOutputHeight_XHandle = Selector.GetHandle ("setOutputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputTextureFormat_X = "setOutputTextureFormat:";
+ static readonly IntPtr selSetOutputTextureFormat_XHandle = Selector.GetHandle ("setOutputTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputWidth_X = "setOutputWidth:";
+ static readonly IntPtr selSetOutputWidth_XHandle = Selector.GetHandle ("setOutputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportsDevice_X = "supportsDevice:";
+ static readonly IntPtr selSupportsDevice_XHandle = Selector.GetHandle ("supportsDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly IntPtr class_ptr = Class.GetHandle ("MTLFXSpatialScalerDescriptor");
+ public override IntPtr ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXSpatialScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXSpatialScalerDescriptor (IntPtr handle) : base (handle)
+ {
+ }
+
+ [Export ("newSpatialScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXSpatialScaler? Create (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXSpatialScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, selNewSpatialScalerWithDevice_XHandle, device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXSpatialScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, selNewSpatialScalerWithDevice_XHandle, device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_IntPtr (class_ptr, selSupportsDevice_XHandle, device__handle__);
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual MTLFXSpatialScalerColorProcessingMode ColorProcessingMode {
+ [Export ("colorProcessingMode", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ MTLFXSpatialScalerColorProcessingMode ret;
+ if (IsDirectBinding) {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, selColorProcessingModeXHandle);
+ } else {
+ ret = (MetalFX.MTLFXSpatialScalerColorProcessingMode) (long) global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, selColorProcessingModeXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorProcessingMode:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selSetColorProcessingMode_XHandle, (IntPtr) (long) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selSetColorProcessingMode_XHandle, (IntPtr) (long) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selColorTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selColorTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputHeightXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputHeightXHandle);
+ }
+ }
+ [Export ("setInputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputHeight_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputHeight_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputWidthXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputWidthXHandle);
+ }
+ }
+ [Export ("setInputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputWidth_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputWidth_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputHeightXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputHeightXHandle);
+ }
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputHeight_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputHeight_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputWidthXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputWidthXHandle);
+ }
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputWidth_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputWidth_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ } /* class MTLFXSpatialScalerDescriptor */
+}
diff --git a/new/mac/mobile/MetalFX/MTLFXTemporalScaler.g.cs b/new/mac/mobile/MetalFX/MTLFXTemporalScaler.g.cs
new file mode 100644
index 0000000..784840a
--- /dev/null
+++ b/new/mac/mobile/MetalFX/MTLFXTemporalScaler.g.cs
@@ -0,0 +1,564 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Protocol (Name = "MTLFXTemporalScaler", WrapperType = typeof (MTLFXTemporalScalerWrapper))]
+ [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "Encode", Selector = "encodeToCommandBuffer:", ParameterType = new Type [] { typeof (IMTLCommandBuffer) }, ParameterByRef = new bool [] { false })]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureUsage", Selector = "colorTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "colorTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureUsage", Selector = "depthTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "depthTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureUsage", Selector = "motionTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "motionTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureUsage", Selector = "outputTextureUsage", PropertyType = typeof (MTLTextureUsage), GetterSelector = "outputTextureUsage", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentWidth", Selector = "inputContentWidth", PropertyType = typeof (nuint), GetterSelector = "inputContentWidth", SetterSelector = "setInputContentWidth:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentHeight", Selector = "inputContentHeight", PropertyType = typeof (nuint), GetterSelector = "inputContentHeight", SetterSelector = "setInputContentHeight:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTexture", Selector = "colorTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "colorTexture", SetterSelector = "setColorTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTexture", Selector = "depthTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "depthTexture", SetterSelector = "setDepthTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTexture", Selector = "motionTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "motionTexture", SetterSelector = "setMotionTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTexture", Selector = "outputTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "outputTexture", SetterSelector = "setOutputTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ExposureTexture", Selector = "exposureTexture", PropertyType = typeof (IMTLTexture), GetterSelector = "exposureTexture", SetterSelector = "setExposureTexture:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "PreExposure", Selector = "preExposure", PropertyType = typeof (float), GetterSelector = "preExposure", SetterSelector = "setPreExposure:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetX", Selector = "jitterOffsetX", PropertyType = typeof (float), GetterSelector = "jitterOffsetX", SetterSelector = "setJitterOffsetX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "JitterOffsetY", Selector = "jitterOffsetY", PropertyType = typeof (float), GetterSelector = "jitterOffsetY", SetterSelector = "setJitterOffsetY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleX", Selector = "motionVectorScaleX", PropertyType = typeof (float), GetterSelector = "motionVectorScaleX", SetterSelector = "setMotionVectorScaleX:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionVectorScaleY", Selector = "motionVectorScaleY", PropertyType = typeof (float), GetterSelector = "motionVectorScaleY", SetterSelector = "setMotionVectorScaleY:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Reset", Selector = "reset", PropertyType = typeof (bool), GetterSelector = "reset", SetterSelector = "setReset:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthReversed", Selector = "depthReversed", PropertyType = typeof (bool), GetterSelector = "isDepthReversed", SetterSelector = "setDepthReversed:", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "ColorTextureFormat", Selector = "colorTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "colorTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "DepthTextureFormat", Selector = "depthTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "depthTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "MotionTextureFormat", Selector = "motionTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "motionTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputTextureFormat", Selector = "outputTextureFormat", PropertyType = typeof (MTLPixelFormat), GetterSelector = "outputTextureFormat", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputWidth", Selector = "inputWidth", PropertyType = typeof (nuint), GetterSelector = "inputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputHeight", Selector = "inputHeight", PropertyType = typeof (nuint), GetterSelector = "inputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputWidth", Selector = "outputWidth", PropertyType = typeof (nuint), GetterSelector = "outputWidth", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "OutputHeight", Selector = "outputHeight", PropertyType = typeof (nuint), GetterSelector = "outputHeight", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMinScale", Selector = "inputContentMinScale", PropertyType = typeof (float), GetterSelector = "inputContentMinScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "InputContentMaxScale", Selector = "inputContentMaxScale", PropertyType = typeof (float), GetterSelector = "inputContentMaxScale", ArgumentSemantic = ArgumentSemantic.None)]
+ [ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Fence", Selector = "fence", PropertyType = typeof (IMTLFence), GetterSelector = "fence", SetterSelector = "setFence:", ArgumentSemantic = ArgumentSemantic.Retain)]
+ public partial interface IMTLFXTemporalScaler : INativeObject, IDisposable
+ {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [Export ("encodeToCommandBuffer:")]
+ [Preserve (Conditional = true)]
+ void Encode (global::Metal.IMTLCommandBuffer commandBuffer);
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get;
+ [Export ("setInputContentWidth:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get;
+ [Export ("setInputContentHeight:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float PreExposure {
+ [Export ("preExposure")]
+ get;
+ [Export ("setPreExposure:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get;
+ [Export ("setJitterOffsetX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get;
+ [Export ("setJitterOffsetY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get;
+ [Export ("setMotionVectorScaleX:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get;
+ [Export ("setMotionVectorScaleY:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool Reset {
+ [Export ("reset")]
+ get;
+ [Export ("setReset:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get;
+ [Export ("setDepthReversed:")]
+ set;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputWidth {
+ [Export ("inputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint InputHeight {
+ [Export ("inputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputWidth {
+ [Export ("outputWidth")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ nuint OutputHeight {
+ [Export ("outputHeight")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get;
+ }
+ [Preserve (Conditional = true)]
+ global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get;
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set;
+ }
+ }
+ internal unsafe sealed class MTLFXTemporalScalerWrapper : BaseWrapper, IMTLFXTemporalScaler {
+ [Preserve (Conditional = true)]
+ public MTLFXTemporalScalerWrapper (IntPtr handle, bool owns)
+ : base (handle, owns)
+ {
+ }
+ [Export ("encodeToCommandBuffer:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public void Encode (global::Metal.IMTLCommandBuffer commandBuffer)
+ {
+ var commandBuffer__handle__ = commandBuffer!.GetNonNullHandle (nameof (commandBuffer));
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("encodeToCommandBuffer:"), commandBuffer__handle__);
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage ColorTextureUsage {
+ [Export ("colorTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage DepthTextureUsage {
+ [Export ("depthTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage MotionTextureUsage {
+ [Export ("motionTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLTextureUsage OutputTextureUsage {
+ [Export ("outputTextureUsage")]
+ get {
+ global::Metal.MTLTextureUsage ret;
+ ret = (MTLTextureUsage) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureUsage"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentWidth {
+ [Export ("inputContentWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentWidth"));
+ }
+ [Export ("setInputContentWidth:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentWidth:"), (UIntPtr) value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputContentHeight {
+ [Export ("inputContentHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentHeight"));
+ }
+ [Export ("setInputContentHeight:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setInputContentHeight:"), (UIntPtr) value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ColorTexture {
+ [Export ("colorTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTexture")), false)!;
+ }
+ [Export ("setColorTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setColorTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? DepthTexture {
+ [Export ("depthTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTexture")), false)!;
+ }
+ [Export ("setDepthTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setDepthTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? MotionTexture {
+ [Export ("motionTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTexture")), false)!;
+ }
+ [Export ("setMotionTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setMotionTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? OutputTexture {
+ [Export ("outputTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTexture")), false)!;
+ }
+ [Export ("setOutputTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setOutputTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLTexture? ExposureTexture {
+ [Export ("exposureTexture", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLTexture> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("exposureTexture")), false)!;
+ }
+ [Export ("setExposureTexture:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setExposureTexture:"), value__handle__);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float PreExposure {
+ [Export ("preExposure")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("preExposure"));
+ }
+ [Export ("setPreExposure:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setPreExposure:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetX {
+ [Export ("jitterOffsetX")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetX"));
+ }
+ [Export ("setJitterOffsetX:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetX:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float JitterOffsetY {
+ [Export ("jitterOffsetY")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("jitterOffsetY"));
+ }
+ [Export ("setJitterOffsetY:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setJitterOffsetY:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleX {
+ [Export ("motionVectorScaleX")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleX"));
+ }
+ [Export ("setMotionVectorScaleX:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleX:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float MotionVectorScaleY {
+ [Export ("motionVectorScaleY")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("motionVectorScaleY"));
+ }
+ [Export ("setMotionVectorScaleY:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, Selector.GetHandle ("setMotionVectorScaleY:"), value);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool Reset {
+ [Export ("reset")]
+ get {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("reset"));
+ return ret != 0;
+ }
+ [Export ("setReset:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setReset:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public bool DepthReversed {
+ [Export ("isDepthReversed")]
+ get {
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, Selector.GetHandle ("isDepthReversed"));
+ return ret != 0;
+ }
+ [Export ("setDepthReversed:")]
+ set {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, Selector.GetHandle ("setDepthReversed:"), value ? (byte) 1 : (byte) 0);
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("colorTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("depthTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("motionTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat")]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputTextureFormat"));
+ return ret!;
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("inputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputWidth"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("outputHeight"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMinScale"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, Selector.GetHandle ("inputContentMaxScale"));
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public global::Metal.IMTLFence? Fence {
+ [Export ("fence", ArgumentSemantic.Retain)]
+ get {
+ return Runtime.GetINativeObject<global::Metal.IMTLFence> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.GetHandle ("fence")), false)!;
+ }
+ [Export ("setFence:", ArgumentSemantic.Retain)]
+ set {
+ var value__handle__ = value.GetHandle ();
+ global::ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, Selector.GetHandle ("setFence:"), value__handle__);
+ }
+ }
+ }
+}
diff --git a/new/mac/mobile/MetalFX/MTLFXTemporalScalerDescriptor.g.cs b/new/mac/mobile/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
new file mode 100644
index 0000000..d21d39c
--- /dev/null
+++ b/new/mac/mobile/MetalFX/MTLFXTemporalScalerDescriptor.g.cs
@@ -0,0 +1,436 @@
+//
+// Auto-generated from generator.cs, do not edit
+//
+// We keep references to objects, so warning 414 is expected
+#pragma warning disable 414
+using System;
+using System.Diagnostics;
+using System.ComponentModel;
+using System.Threading.Tasks;
+using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
+using QTKit;
+using Metal;
+using CoreML;
+using OpenGL;
+using AppKit;
+using Photos;
+using ModelIO;
+using Network;
+using SceneKit;
+using Contacts;
+using Security;
+using CloudKit;
+using AudioUnit;
+using CoreVideo;
+using CoreMedia;
+using CoreImage;
+using SpriteKit;
+using Foundation;
+using ObjCRuntime;
+using MediaPlayer;
+using GameplayKit;
+using CoreGraphics;
+using CoreLocation;
+using AVFoundation;
+using FileProvider;
+using CoreAnimation;
+using CoreFoundation;
+using NetworkExtension;
+using MetalPerformanceShadersGraph;
+#nullable enable
+#if !NET
+using NativeHandle = System.IntPtr;
+#endif
+namespace MetalFX {
+ [Register("MTLFXTemporalScalerDescriptor", true)]
+ [Introduced (PlatformName.MacOSX, 13,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 16,0, ObjCRuntime.PlatformArchitecture.All)]
+ public unsafe partial class MTLFXTemporalScalerDescriptor : NSObject {
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selColorTextureFormatX = "colorTextureFormat";
+ static readonly IntPtr selColorTextureFormatXHandle = Selector.GetHandle ("colorTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selDepthTextureFormatX = "depthTextureFormat";
+ static readonly IntPtr selDepthTextureFormatXHandle = Selector.GetHandle ("depthTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputContentMaxScaleX = "inputContentMaxScale";
+ static readonly IntPtr selInputContentMaxScaleXHandle = Selector.GetHandle ("inputContentMaxScale");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputContentMinScaleX = "inputContentMinScale";
+ static readonly IntPtr selInputContentMinScaleXHandle = Selector.GetHandle ("inputContentMinScale");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputHeightX = "inputHeight";
+ static readonly IntPtr selInputHeightXHandle = Selector.GetHandle ("inputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selInputWidthX = "inputWidth";
+ static readonly IntPtr selInputWidthXHandle = Selector.GetHandle ("inputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selIsAutoExposureEnabledX = "isAutoExposureEnabled";
+ static readonly IntPtr selIsAutoExposureEnabledXHandle = Selector.GetHandle ("isAutoExposureEnabled");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selIsInputContentPropertiesEnabledX = "isInputContentPropertiesEnabled";
+ static readonly IntPtr selIsInputContentPropertiesEnabledXHandle = Selector.GetHandle ("isInputContentPropertiesEnabled");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selMotionTextureFormatX = "motionTextureFormat";
+ static readonly IntPtr selMotionTextureFormatXHandle = Selector.GetHandle ("motionTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selNewTemporalScalerWithDevice_X = "newTemporalScalerWithDevice:";
+ static readonly IntPtr selNewTemporalScalerWithDevice_XHandle = Selector.GetHandle ("newTemporalScalerWithDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputHeightX = "outputHeight";
+ static readonly IntPtr selOutputHeightXHandle = Selector.GetHandle ("outputHeight");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputTextureFormatX = "outputTextureFormat";
+ static readonly IntPtr selOutputTextureFormatXHandle = Selector.GetHandle ("outputTextureFormat");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selOutputWidthX = "outputWidth";
+ static readonly IntPtr selOutputWidthXHandle = Selector.GetHandle ("outputWidth");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetAutoExposureEnabled_X = "setAutoExposureEnabled:";
+ static readonly IntPtr selSetAutoExposureEnabled_XHandle = Selector.GetHandle ("setAutoExposureEnabled:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetColorTextureFormat_X = "setColorTextureFormat:";
+ static readonly IntPtr selSetColorTextureFormat_XHandle = Selector.GetHandle ("setColorTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetDepthTextureFormat_X = "setDepthTextureFormat:";
+ static readonly IntPtr selSetDepthTextureFormat_XHandle = Selector.GetHandle ("setDepthTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentMaxScale_X = "setInputContentMaxScale:";
+ static readonly IntPtr selSetInputContentMaxScale_XHandle = Selector.GetHandle ("setInputContentMaxScale:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentMinScale_X = "setInputContentMinScale:";
+ static readonly IntPtr selSetInputContentMinScale_XHandle = Selector.GetHandle ("setInputContentMinScale:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputContentPropertiesEnabled_X = "setInputContentPropertiesEnabled:";
+ static readonly IntPtr selSetInputContentPropertiesEnabled_XHandle = Selector.GetHandle ("setInputContentPropertiesEnabled:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputHeight_X = "setInputHeight:";
+ static readonly IntPtr selSetInputHeight_XHandle = Selector.GetHandle ("setInputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetInputWidth_X = "setInputWidth:";
+ static readonly IntPtr selSetInputWidth_XHandle = Selector.GetHandle ("setInputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetMotionTextureFormat_X = "setMotionTextureFormat:";
+ static readonly IntPtr selSetMotionTextureFormat_XHandle = Selector.GetHandle ("setMotionTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputHeight_X = "setOutputHeight:";
+ static readonly IntPtr selSetOutputHeight_XHandle = Selector.GetHandle ("setOutputHeight:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputTextureFormat_X = "setOutputTextureFormat:";
+ static readonly IntPtr selSetOutputTextureFormat_XHandle = Selector.GetHandle ("setOutputTextureFormat:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSetOutputWidth_X = "setOutputWidth:";
+ static readonly IntPtr selSetOutputWidth_XHandle = Selector.GetHandle ("setOutputWidth:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportedInputContentMaxScaleForDevice_X = "supportedInputContentMaxScaleForDevice:";
+ static readonly IntPtr selSupportedInputContentMaxScaleForDevice_XHandle = Selector.GetHandle ("supportedInputContentMaxScaleForDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportedInputContentMinScaleForDevice_X = "supportedInputContentMinScaleForDevice:";
+ static readonly IntPtr selSupportedInputContentMinScaleForDevice_XHandle = Selector.GetHandle ("supportedInputContentMinScaleForDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ const string selSupportsDevice_X = "supportsDevice:";
+ static readonly IntPtr selSupportsDevice_XHandle = Selector.GetHandle ("supportsDevice:");
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ static readonly IntPtr class_ptr = Class.GetHandle ("MTLFXTemporalScalerDescriptor");
+ public override IntPtr ClassHandle { get { return class_ptr; } }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected MTLFXTemporalScalerDescriptor (NSObjectFlag t) : base (t)
+ {
+ }
+
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ [EditorBrowsable (EditorBrowsableState.Advanced)]
+ protected internal MTLFXTemporalScalerDescriptor (IntPtr handle) : base (handle)
+ {
+ }
+
+ [Export ("newTemporalScalerWithDevice:")]
+ [return: ReleaseAttribute ()]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual IMTLFXTemporalScaler? Create (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ IMTLFXTemporalScaler? ret;
+ if (IsDirectBinding) {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSend_IntPtr (this.Handle, selNewTemporalScalerWithDevice_XHandle, device__handle__), false)!;
+ } else {
+ ret = Runtime.GetINativeObject<IMTLFXTemporalScaler> (global::ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_IntPtr (this.SuperHandle, selNewTemporalScalerWithDevice_XHandle, device__handle__), false)!;
+ }
+ if (ret is not null)
+ global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release"));
+ return ret!;
+ }
+ [Export ("supportedInputContentMaxScaleForDevice:")]
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMaxScale (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_IntPtr (class_ptr, selSupportedInputContentMaxScaleForDevice_XHandle, device__handle__);
+ }
+ [Export ("supportedInputContentMinScaleForDevice:")]
+ [Introduced (PlatformName.MacOSX, 14,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.iOS, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [Introduced (PlatformName.MacCatalyst, 17,0, ObjCRuntime.PlatformArchitecture.All)]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static float GetSupportedInputContentMinScale (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ return global::ObjCRuntime.Messaging.float_objc_msgSend_IntPtr (class_ptr, selSupportedInputContentMinScaleForDevice_XHandle, device__handle__);
+ }
+ [Export ("supportsDevice:")]
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public static bool SupportsDevice (global::Metal.IMTLDevice device)
+ {
+ var device__handle__ = device!.GetNonNullHandle (nameof (device));
+ byte ret;
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_IntPtr (class_ptr, selSupportsDevice_XHandle, device__handle__);
+ return ret != 0;
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool AutoExposureEnabled {
+ [Export ("isAutoExposureEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsAutoExposureEnabledXHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsAutoExposureEnabledXHandle);
+ }
+ return ret != 0;
+ }
+ [Export ("setAutoExposureEnabled:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetAutoExposureEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetAutoExposureEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat ColorTextureFormat {
+ [Export ("colorTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selColorTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selColorTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setColorTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetColorTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat DepthTextureFormat {
+ [Export ("depthTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selDepthTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selDepthTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setDepthTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetDepthTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetDepthTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMaxScale {
+ [Export ("inputContentMaxScale")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selInputContentMaxScaleXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selInputContentMaxScaleXHandle);
+ }
+ }
+ [Export ("setInputContentMaxScale:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, selSetInputContentMaxScale_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, selSetInputContentMaxScale_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual float InputContentMinScale {
+ [Export ("inputContentMinScale")]
+ get {
+ if (IsDirectBinding) {
+ return global::ObjCRuntime.Messaging.float_objc_msgSend (this.Handle, selInputContentMinScaleXHandle);
+ } else {
+ return global::ObjCRuntime.Messaging.float_objc_msgSendSuper (this.SuperHandle, selInputContentMinScaleXHandle);
+ }
+ }
+ [Export ("setInputContentMinScale:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_float (this.Handle, selSetInputContentMinScale_XHandle, value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_float (this.SuperHandle, selSetInputContentMinScale_XHandle, value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual bool InputContentPropertiesEnabled {
+ [Export ("isInputContentPropertiesEnabled")]
+ get {
+ byte ret;
+ if (IsDirectBinding) {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend (this.Handle, selIsInputContentPropertiesEnabledXHandle);
+ } else {
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSendSuper (this.SuperHandle, selIsInputContentPropertiesEnabledXHandle);
+ }
+ return ret != 0;
+ }
+ [Export ("setInputContentPropertiesEnabled:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_bool (this.Handle, selSetInputContentPropertiesEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_bool (this.SuperHandle, selSetInputContentPropertiesEnabled_XHandle, value ? (byte) 1 : (byte) 0);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputHeight {
+ [Export ("inputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputHeightXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputHeightXHandle);
+ }
+ }
+ [Export ("setInputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputHeight_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputHeight_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint InputWidth {
+ [Export ("inputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selInputWidthXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selInputWidthXHandle);
+ }
+ }
+ [Export ("setInputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetInputWidth_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetInputWidth_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat MotionTextureFormat {
+ [Export ("motionTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selMotionTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selMotionTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setMotionTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetMotionTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetMotionTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputHeight {
+ [Export ("outputHeight")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputHeightXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputHeightXHandle);
+ }
+ }
+ [Export ("setOutputHeight:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputHeight_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputHeight_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual global::Metal.MTLPixelFormat OutputTextureFormat {
+ [Export ("outputTextureFormat", ArgumentSemantic.UnsafeUnretained)]
+ get {
+ global::Metal.MTLPixelFormat ret;
+ if (IsDirectBinding) {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputTextureFormatXHandle);
+ } else {
+ ret = (MTLPixelFormat) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputTextureFormatXHandle);
+ }
+ return ret!;
+ }
+ [Export ("setOutputTextureFormat:", ArgumentSemantic.UnsafeUnretained)]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputTextureFormat_XHandle, (UIntPtr) (ulong) value);
+ }
+ }
+ }
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
+ public virtual nuint OutputWidth {
+ [Export ("outputWidth")]
+ get {
+ if (IsDirectBinding) {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend (this.Handle, selOutputWidthXHandle);
+ } else {
+ return (nuint) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSendSuper (this.SuperHandle, selOutputWidthXHandle);
+ }
+ }
+ [Export ("setOutputWidth:")]
+ set {
+ if (IsDirectBinding) {
+ global::ObjCRuntime.Messaging.void_objc_msgSend_UIntPtr (this.Handle, selSetOutputWidth_XHandle, (UIntPtr) value);
+ } else {
+ global::ObjCRuntime.Messaging.void_objc_msgSendSuper_UIntPtr (this.SuperHandle, selSetOutputWidth_XHandle, (UIntPtr) value);
+ }
+ }
+ }
+ } /* class MTLFXTemporalScalerDescriptor */
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment