-
-
Save vs-mobiletools-engineering-service2/6dbd12dbe6cdf25cbdd8d5bdebd6824d to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
index 311e153..1c2897d 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+5070398e9cdfb12c735a3599b77a00838e1a93e8")] | |
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8edc6b58c31674f8323a94a080683e06e68bcbf7")] | |
[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 45b6d16..c2947b1 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/5/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/5070398e9cdfb12c735a3599b77a00838e1a93e8/*","/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}} | |
\ No newline at end of file | |
+{"documents":{"/Users/builder/azdo/_work/5/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/8edc6b58c31674f8323a94a080683e06e68bcbf7/*","/Users/builder/azdo/_work/5/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/5/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/5/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/5/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/5/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/5/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/4cb9dc263251f8c8eac41b95a857f37025974599/*"}} | |
\ No newline at end of file | |
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json | |
index 9104a40..55bb8a8 100644 | |
--- a/old/dotnet/ios/SourceLink.json | |
+++ b/new/dotnet/ios/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/5070398e9cdfb12c735a3599b77a00838e1a93e8/src*" | |
+ "/Users/builder/azdo/_work/5/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/8edc6b58c31674f8323a94a080683e06e68bcbf7/src*" | |
} | |
} | |
diff --git a/old/dotnet/maccatalyst/SourceLink.json b/new/dotnet/maccatalyst/SourceLink.json | |
index 9104a40..55bb8a8 100644 | |
--- a/old/dotnet/maccatalyst/SourceLink.json | |
+++ b/new/dotnet/maccatalyst/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/5070398e9cdfb12c735a3599b77a00838e1a93e8/src*" | |
+ "/Users/builder/azdo/_work/5/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/8edc6b58c31674f8323a94a080683e06e68bcbf7/src*" | |
} | |
} | |
diff --git a/old/dotnet/macos/SourceLink.json b/new/dotnet/macos/SourceLink.json | |
index 9104a40..55bb8a8 100644 | |
--- a/old/dotnet/macos/SourceLink.json | |
+++ b/new/dotnet/macos/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/5070398e9cdfb12c735a3599b77a00838e1a93e8/src*" | |
+ "/Users/builder/azdo/_work/5/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/8edc6b58c31674f8323a94a080683e06e68bcbf7/src*" | |
} | |
} | |
diff --git a/old/dotnet/tvos/SourceLink.json b/new/dotnet/tvos/SourceLink.json | |
index 9104a40..55bb8a8 100644 | |
--- a/old/dotnet/tvos/SourceLink.json | |
+++ b/new/dotnet/tvos/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/5/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/5070398e9cdfb12c735a3599b77a00838e1a93e8/src*" | |
+ "/Users/builder/azdo/_work/5/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/8edc6b58c31674f8323a94a080683e06e68bcbf7/src*" | |
} | |
} | |
diff --git a/old/ios/native/Metal/MTLAccelerationStructure.g.cs b/new/ios/native/Metal/MTLAccelerationStructure.g.cs | |
index e610017..826cc22 100644 | |
--- a/old/ios/native/Metal/MTLAccelerationStructure.g.cs | |
+++ b/new/ios/native/Metal/MTLAccelerationStructure.g.cs | |
@@ -86,16 +86,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- #if ARCH_32 | |
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
- #else | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- #endif | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Size { | |
[Export ("size")] | |
diff --git a/old/ios/native/Metal/MTLBuffer.g.cs b/new/ios/native/Metal/MTLBuffer.g.cs | |
index e7ec41e..2013ed8 100644 | |
--- a/old/ios/native/Metal/MTLBuffer.g.cs | |
+++ b/new/ios/native/Metal/MTLBuffer.g.cs | |
@@ -128,16 +128,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- #if ARCH_32 | |
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
- #else | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- #endif | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Length { | |
[Export ("length")] | |
diff --git a/old/ios/native/Metal/MTLIndirectCommandBuffer.g.cs b/new/ios/native/Metal/MTLIndirectCommandBuffer.g.cs | |
index 1a8641f..3fa5aa0 100644 | |
--- a/old/ios/native/Metal/MTLIndirectCommandBuffer.g.cs | |
+++ b/new/ios/native/Metal/MTLIndirectCommandBuffer.g.cs | |
@@ -144,16 +144,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- #if ARCH_32 | |
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
- #else | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- #endif | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Size { | |
[Export ("size")] | |
diff --git a/old/ios/native/Metal/MTLIntersectionFunctionTable.g.cs b/new/ios/native/Metal/MTLIntersectionFunctionTable.g.cs | |
index e280c5f..3525ab0 100644 | |
--- a/old/ios/native/Metal/MTLIntersectionFunctionTable.g.cs | |
+++ b/new/ios/native/Metal/MTLIntersectionFunctionTable.g.cs | |
@@ -248,16 +248,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- #if ARCH_32 | |
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
- #else | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- #endif | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/ios/native/Metal/MTLResource.g.cs b/new/ios/native/Metal/MTLResource.g.cs | |
index f5ffb8e..bce5b58 100644 | |
--- a/old/ios/native/Metal/MTLResource.g.cs | |
+++ b/new/ios/native/Metal/MTLResource.g.cs | |
@@ -52,7 +52,7 @@ namespace Metal { | |
[Protocol (Name = "MTLResource", WrapperType = typeof (MTLResourceWrapper))] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetPurgeableState", Selector = "setPurgeableState:", ReturnType = typeof (MTLPurgeableState), ParameterType = new Type [] { typeof (MTLPurgeableState) }, ParameterByRef = new bool [] { false })] | |
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "MakeAliasable", Selector = "makeAliasable")] | |
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetOwnerWithIdentity", Selector = "setOwnerWithIdentity:", ReturnType = typeof (int), ParameterType = new Type [] { typeof (uint) }, ParameterByRef = new bool [] { false })] | |
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SetOwnerWithIdentity", Selector = "setOwnerWithIdentity:", ReturnType = typeof (int), ParameterType = new Type [] { typeof (uint) }, ParameterByRef = new bool [] { false })] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Label", Selector = "label", PropertyType = typeof (string), GetterSelector = "label", SetterSelector = "setLabel:", ArgumentSemantic = ArgumentSemantic.None)] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Device", Selector = "device", PropertyType = typeof (IMTLDevice), GetterSelector = "device", ArgumentSemantic = ArgumentSemantic.None)] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "CpuCacheMode", Selector = "cpuCacheMode", PropertyType = typeof (MTLCpuCacheMode), GetterSelector = "cpuCacheMode", ArgumentSemantic = ArgumentSemantic.None)] | |
@@ -69,15 +69,6 @@ namespace Metal { | |
[Export ("setPurgeableState:")] | |
[Preserve (Conditional = true)] | |
MTLPurgeableState SetPurgeableState (MTLPurgeableState state); | |
- [Introduced (PlatformName.WatchOS, 10,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- [Export ("setOwnerWithIdentity:")] | |
- [Preserve (Conditional = true)] | |
- int SetOwnerWithIdentity (uint taskIdToken); | |
[Preserve (Conditional = true)] | |
string Label { | |
[Export ("label")] | |
@@ -107,6 +98,20 @@ namespace Metal { | |
{ | |
global::ObjCRuntime.Messaging.void_objc_msgSend (This.Handle, Selector.GetHandle ("makeAliasable")); | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static int SetOwnerWithIdentity (this IMTLResource This, uint taskIdToken) | |
+ { | |
+ #if ARCH_32 | |
+ throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
+ #else | |
+ return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (This.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
+ #endif | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public static MTLStorageMode GetStorageMode (this IMTLResource This) | |
{ | |
@@ -165,16 +170,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- #if ARCH_32 | |
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
- #else | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- #endif | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/ios/native/Metal/MTLSharedEvent.g.cs b/new/ios/native/Metal/MTLSharedEvent.g.cs | |
index 765c621..8b363cb 100644 | |
--- a/old/ios/native/Metal/MTLSharedEvent.g.cs | |
+++ b/new/ios/native/Metal/MTLSharedEvent.g.cs | |
@@ -53,7 +53,7 @@ namespace Metal { | |
[Protocol (Name = "MTLSharedEvent", WrapperType = typeof (MTLSharedEventWrapper))] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "NotifyListener", Selector = "notifyListener:atValue:block:", ParameterType = new Type [] { typeof (MTLSharedEventListener), typeof (ulong), typeof (MTLSharedEventNotificationBlock) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDMTLSharedEventNotificationBlock) })] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateSharedEventHandle", Selector = "newSharedEventHandle", ReturnType = typeof (MTLSharedEventHandle))] | |
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "WaitUntilSignaledValue", Selector = "waitUntilSignaledValue:timeoutMS:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (ulong), typeof (ulong) }, ParameterByRef = new bool [] { false, false })] | |
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WaitUntilSignaledValue", Selector = "waitUntilSignaledValue:timeoutMS:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (ulong), typeof (ulong) }, ParameterByRef = new bool [] { false, false })] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SignaledValue", Selector = "signaledValue", PropertyType = typeof (ulong), GetterSelector = "signaledValue", SetterSelector = "setSignaledValue:", ArgumentSemantic = ArgumentSemantic.None)] | |
public partial interface IMTLSharedEvent : INativeObject, IDisposable, | |
Metal.IMTLEvent | |
@@ -67,14 +67,6 @@ namespace Metal { | |
[Export ("newSharedEventHandle")] | |
[Preserve (Conditional = true)] | |
MTLSharedEventHandle CreateSharedEventHandle (); | |
- [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- [Export ("waitUntilSignaledValue:timeoutMS:")] | |
- [Preserve (Conditional = true)] | |
- bool WaitUntilSignaledValue (ulong value, ulong milliseconds); | |
[Preserve (Conditional = true)] | |
ulong SignaledValue { | |
[Export ("signaledValue")] | |
@@ -83,6 +75,27 @@ namespace Metal { | |
set; | |
} | |
} | |
+ /// <summary>Extension methods to the <see cref="IMTLSharedEvent" /> interface to support all the methods from the MTLSharedEvent protocol.</summary> | |
+ /// <remarks> | |
+ /// <para>The extension methods for <see cref="IMTLSharedEvent" /> interface allow developers to treat instances of the interface as having all the optional methods of the original MTLSharedEvent protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para> | |
+ /// </remarks> | |
+ public unsafe static partial class MTLSharedEvent_Extensions { | |
+ [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static bool WaitUntilSignaledValue (this IMTLSharedEvent This, ulong value, ulong milliseconds) | |
+ { | |
+ #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_UInt64_UInt64 (This.Handle, Selector.GetHandle ("waitUntilSignaledValue:timeoutMS:"), value, milliseconds); | |
+ return ret != 0; | |
+ #endif | |
+ } | |
+ } | |
internal unsafe sealed class MTLSharedEventWrapper : BaseWrapper, IMTLSharedEvent { | |
[Preserve (Conditional = true)] | |
public MTLSharedEventWrapper (IntPtr handle, bool owns) | |
@@ -119,18 +132,6 @@ namespace Metal { | |
return ret!; | |
#endif | |
} | |
- [Export ("waitUntilSignaledValue:timeoutMS:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool WaitUntilSignaledValue (ulong value, ulong milliseconds) | |
- { | |
- #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_UInt64_UInt64 (this.Handle, Selector.GetHandle ("waitUntilSignaledValue:timeoutMS:"), value, milliseconds); | |
- return ret != 0; | |
- #endif | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public ulong SignaledValue { | |
[Export ("signaledValue")] | |
diff --git a/old/ios/native/Metal/MTLTexture.g.cs b/new/ios/native/Metal/MTLTexture.g.cs | |
index 19530d9..345ec2d 100644 | |
--- a/old/ios/native/Metal/MTLTexture.g.cs | |
+++ b/new/ios/native/Metal/MTLTexture.g.cs | |
@@ -380,16 +380,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- #if ARCH_32 | |
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
- #else | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- #endif | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Deprecated (PlatformName.iOS, 10,0)] | |
[Deprecated (PlatformName.MacOSX, 10,12)] | |
diff --git a/old/ios/native/Metal/MTLVisibleFunctionTable.g.cs b/new/ios/native/Metal/MTLVisibleFunctionTable.g.cs | |
index 91ab6f8..714a103 100644 | |
--- a/old/ios/native/Metal/MTLVisibleFunctionTable.g.cs | |
+++ b/new/ios/native/Metal/MTLVisibleFunctionTable.g.cs | |
@@ -132,16 +132,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- #if ARCH_32 | |
- throw new PlatformNotSupportedException ("This API is not supported on this version of iOS"); | |
- #else | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- #endif | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/mac/full/Metal/MTLAccelerationStructure.g.cs b/new/mac/full/Metal/MTLAccelerationStructure.g.cs | |
index 3284991..9f760b2 100644 | |
--- a/old/mac/full/Metal/MTLAccelerationStructure.g.cs | |
+++ b/new/mac/full/Metal/MTLAccelerationStructure.g.cs | |
@@ -81,12 +81,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Size { | |
[Export ("size")] | |
diff --git a/old/mac/full/Metal/MTLBuffer.g.cs b/new/mac/full/Metal/MTLBuffer.g.cs | |
index d1dd73e..5dc9415 100644 | |
--- a/old/mac/full/Metal/MTLBuffer.g.cs | |
+++ b/new/mac/full/Metal/MTLBuffer.g.cs | |
@@ -152,12 +152,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Length { | |
[Export ("length")] | |
diff --git a/old/mac/full/Metal/MTLIndirectCommandBuffer.g.cs b/new/mac/full/Metal/MTLIndirectCommandBuffer.g.cs | |
index e6b269f..4e75808 100644 | |
--- a/old/mac/full/Metal/MTLIndirectCommandBuffer.g.cs | |
+++ b/new/mac/full/Metal/MTLIndirectCommandBuffer.g.cs | |
@@ -113,12 +113,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Size { | |
[Export ("size")] | |
diff --git a/old/mac/full/Metal/MTLIntersectionFunctionTable.g.cs b/new/mac/full/Metal/MTLIntersectionFunctionTable.g.cs | |
index 09abe4a..21ab86e 100644 | |
--- a/old/mac/full/Metal/MTLIntersectionFunctionTable.g.cs | |
+++ b/new/mac/full/Metal/MTLIntersectionFunctionTable.g.cs | |
@@ -189,12 +189,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/mac/full/Metal/MTLResource.g.cs b/new/mac/full/Metal/MTLResource.g.cs | |
index 8019847..fe5de6a 100644 | |
--- a/old/mac/full/Metal/MTLResource.g.cs | |
+++ b/new/mac/full/Metal/MTLResource.g.cs | |
@@ -47,7 +47,7 @@ namespace Metal { | |
[Protocol (Name = "MTLResource", WrapperType = typeof (MTLResourceWrapper))] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetPurgeableState", Selector = "setPurgeableState:", ReturnType = typeof (MTLPurgeableState), ParameterType = new Type [] { typeof (MTLPurgeableState) }, ParameterByRef = new bool [] { false })] | |
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "MakeAliasable", Selector = "makeAliasable")] | |
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetOwnerWithIdentity", Selector = "setOwnerWithIdentity:", ReturnType = typeof (int), ParameterType = new Type [] { typeof (uint) }, ParameterByRef = new bool [] { false })] | |
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SetOwnerWithIdentity", Selector = "setOwnerWithIdentity:", ReturnType = typeof (int), ParameterType = new Type [] { typeof (uint) }, ParameterByRef = new bool [] { false })] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Label", Selector = "label", PropertyType = typeof (string), GetterSelector = "label", SetterSelector = "setLabel:", ArgumentSemantic = ArgumentSemantic.None)] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Device", Selector = "device", PropertyType = typeof (IMTLDevice), GetterSelector = "device", ArgumentSemantic = ArgumentSemantic.None)] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "CpuCacheMode", Selector = "cpuCacheMode", PropertyType = typeof (MTLCpuCacheMode), GetterSelector = "cpuCacheMode", ArgumentSemantic = ArgumentSemantic.None)] | |
@@ -64,15 +64,6 @@ namespace Metal { | |
[Export ("setPurgeableState:")] | |
[Preserve (Conditional = true)] | |
MTLPurgeableState SetPurgeableState (MTLPurgeableState state); | |
- [Introduced (PlatformName.WatchOS, 10,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- [Export ("setOwnerWithIdentity:")] | |
- [Preserve (Conditional = true)] | |
- int SetOwnerWithIdentity (uint taskIdToken); | |
[Preserve (Conditional = true)] | |
string Label { | |
[Export ("label")] | |
@@ -102,6 +93,16 @@ namespace Metal { | |
{ | |
global::ObjCRuntime.Messaging.void_objc_msgSend (This.Handle, Selector.GetHandle ("makeAliasable")); | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static int SetOwnerWithIdentity (this IMTLResource This, uint taskIdToken) | |
+ { | |
+ return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (This.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public static MTLStorageMode GetStorageMode (this IMTLResource This) | |
{ | |
@@ -160,12 +161,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/mac/full/Metal/MTLSharedEvent.g.cs b/new/mac/full/Metal/MTLSharedEvent.g.cs | |
index 350fff0..55685a2 100644 | |
--- a/old/mac/full/Metal/MTLSharedEvent.g.cs | |
+++ b/new/mac/full/Metal/MTLSharedEvent.g.cs | |
@@ -48,7 +48,7 @@ namespace Metal { | |
[Protocol (Name = "MTLSharedEvent", WrapperType = typeof (MTLSharedEventWrapper))] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "NotifyListener", Selector = "notifyListener:atValue:block:", ParameterType = new Type [] { typeof (MTLSharedEventListener), typeof (ulong), typeof (MTLSharedEventNotificationBlock) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDMTLSharedEventNotificationBlock) })] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateSharedEventHandle", Selector = "newSharedEventHandle", ReturnType = typeof (MTLSharedEventHandle))] | |
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "WaitUntilSignaledValue", Selector = "waitUntilSignaledValue:timeoutMS:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (ulong), typeof (ulong) }, ParameterByRef = new bool [] { false, false })] | |
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WaitUntilSignaledValue", Selector = "waitUntilSignaledValue:timeoutMS:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (ulong), typeof (ulong) }, ParameterByRef = new bool [] { false, false })] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SignaledValue", Selector = "signaledValue", PropertyType = typeof (ulong), GetterSelector = "signaledValue", SetterSelector = "setSignaledValue:", ArgumentSemantic = ArgumentSemantic.None)] | |
public partial interface IMTLSharedEvent : INativeObject, IDisposable, | |
Metal.IMTLEvent | |
@@ -62,14 +62,6 @@ namespace Metal { | |
[Export ("newSharedEventHandle")] | |
[Preserve (Conditional = true)] | |
MTLSharedEventHandle CreateSharedEventHandle (); | |
- [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- [Export ("waitUntilSignaledValue:timeoutMS:")] | |
- [Preserve (Conditional = true)] | |
- bool WaitUntilSignaledValue (ulong value, ulong milliseconds); | |
[Preserve (Conditional = true)] | |
ulong SignaledValue { | |
[Export ("signaledValue")] | |
@@ -78,6 +70,23 @@ namespace Metal { | |
set; | |
} | |
} | |
+ /// <summary>Extension methods to the <see cref="IMTLSharedEvent" /> interface to support all the methods from the MTLSharedEvent protocol.</summary> | |
+ /// <remarks> | |
+ /// <para>The extension methods for <see cref="IMTLSharedEvent" /> interface allow developers to treat instances of the interface as having all the optional methods of the original MTLSharedEvent protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para> | |
+ /// </remarks> | |
+ public unsafe static partial class MTLSharedEvent_Extensions { | |
+ [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static bool WaitUntilSignaledValue (this IMTLSharedEvent This, ulong value, ulong milliseconds) | |
+ { | |
+ byte ret; | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_UInt64_UInt64 (This.Handle, Selector.GetHandle ("waitUntilSignaledValue:timeoutMS:"), value, milliseconds); | |
+ return ret != 0; | |
+ } | |
+ } | |
internal unsafe sealed class MTLSharedEventWrapper : BaseWrapper, IMTLSharedEvent { | |
[Preserve (Conditional = true)] | |
public MTLSharedEventWrapper (IntPtr handle, bool owns) | |
@@ -106,14 +115,6 @@ namespace Metal { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
- [Export ("waitUntilSignaledValue:timeoutMS:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool WaitUntilSignaledValue (ulong value, ulong milliseconds) | |
- { | |
- byte ret; | |
- ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_UInt64_UInt64 (this.Handle, Selector.GetHandle ("waitUntilSignaledValue:timeoutMS:"), value, milliseconds); | |
- return ret != 0; | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public ulong SignaledValue { | |
[Export ("signaledValue")] | |
diff --git a/old/mac/full/Metal/MTLTexture.g.cs b/new/mac/full/Metal/MTLTexture.g.cs | |
index a23137a..13c12c5 100644 | |
--- a/old/mac/full/Metal/MTLTexture.g.cs | |
+++ b/new/mac/full/Metal/MTLTexture.g.cs | |
@@ -368,12 +368,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Deprecated (PlatformName.iOS, 10,0)] | |
[Deprecated (PlatformName.MacOSX, 10,12)] | |
diff --git a/old/mac/full/Metal/MTLVisibleFunctionTable.g.cs b/new/mac/full/Metal/MTLVisibleFunctionTable.g.cs | |
index 45952fd..3af15fe 100644 | |
--- a/old/mac/full/Metal/MTLVisibleFunctionTable.g.cs | |
+++ b/new/mac/full/Metal/MTLVisibleFunctionTable.g.cs | |
@@ -105,12 +105,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/mac/mobile/Metal/MTLAccelerationStructure.g.cs b/new/mac/mobile/Metal/MTLAccelerationStructure.g.cs | |
index 3284991..9f760b2 100644 | |
--- a/old/mac/mobile/Metal/MTLAccelerationStructure.g.cs | |
+++ b/new/mac/mobile/Metal/MTLAccelerationStructure.g.cs | |
@@ -81,12 +81,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Size { | |
[Export ("size")] | |
diff --git a/old/mac/mobile/Metal/MTLBuffer.g.cs b/new/mac/mobile/Metal/MTLBuffer.g.cs | |
index d1dd73e..5dc9415 100644 | |
--- a/old/mac/mobile/Metal/MTLBuffer.g.cs | |
+++ b/new/mac/mobile/Metal/MTLBuffer.g.cs | |
@@ -152,12 +152,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Length { | |
[Export ("length")] | |
diff --git a/old/mac/mobile/Metal/MTLIndirectCommandBuffer.g.cs b/new/mac/mobile/Metal/MTLIndirectCommandBuffer.g.cs | |
index e6b269f..4e75808 100644 | |
--- a/old/mac/mobile/Metal/MTLIndirectCommandBuffer.g.cs | |
+++ b/new/mac/mobile/Metal/MTLIndirectCommandBuffer.g.cs | |
@@ -113,12 +113,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Size { | |
[Export ("size")] | |
diff --git a/old/mac/mobile/Metal/MTLIntersectionFunctionTable.g.cs b/new/mac/mobile/Metal/MTLIntersectionFunctionTable.g.cs | |
index 09abe4a..21ab86e 100644 | |
--- a/old/mac/mobile/Metal/MTLIntersectionFunctionTable.g.cs | |
+++ b/new/mac/mobile/Metal/MTLIntersectionFunctionTable.g.cs | |
@@ -189,12 +189,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/mac/mobile/Metal/MTLResource.g.cs b/new/mac/mobile/Metal/MTLResource.g.cs | |
index 8019847..fe5de6a 100644 | |
--- a/old/mac/mobile/Metal/MTLResource.g.cs | |
+++ b/new/mac/mobile/Metal/MTLResource.g.cs | |
@@ -47,7 +47,7 @@ namespace Metal { | |
[Protocol (Name = "MTLResource", WrapperType = typeof (MTLResourceWrapper))] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetPurgeableState", Selector = "setPurgeableState:", ReturnType = typeof (MTLPurgeableState), ParameterType = new Type [] { typeof (MTLPurgeableState) }, ParameterByRef = new bool [] { false })] | |
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "MakeAliasable", Selector = "makeAliasable")] | |
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetOwnerWithIdentity", Selector = "setOwnerWithIdentity:", ReturnType = typeof (int), ParameterType = new Type [] { typeof (uint) }, ParameterByRef = new bool [] { false })] | |
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SetOwnerWithIdentity", Selector = "setOwnerWithIdentity:", ReturnType = typeof (int), ParameterType = new Type [] { typeof (uint) }, ParameterByRef = new bool [] { false })] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Label", Selector = "label", PropertyType = typeof (string), GetterSelector = "label", SetterSelector = "setLabel:", ArgumentSemantic = ArgumentSemantic.None)] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Device", Selector = "device", PropertyType = typeof (IMTLDevice), GetterSelector = "device", ArgumentSemantic = ArgumentSemantic.None)] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "CpuCacheMode", Selector = "cpuCacheMode", PropertyType = typeof (MTLCpuCacheMode), GetterSelector = "cpuCacheMode", ArgumentSemantic = ArgumentSemantic.None)] | |
@@ -64,15 +64,6 @@ namespace Metal { | |
[Export ("setPurgeableState:")] | |
[Preserve (Conditional = true)] | |
MTLPurgeableState SetPurgeableState (MTLPurgeableState state); | |
- [Introduced (PlatformName.WatchOS, 10,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- [Export ("setOwnerWithIdentity:")] | |
- [Preserve (Conditional = true)] | |
- int SetOwnerWithIdentity (uint taskIdToken); | |
[Preserve (Conditional = true)] | |
string Label { | |
[Export ("label")] | |
@@ -102,6 +93,16 @@ namespace Metal { | |
{ | |
global::ObjCRuntime.Messaging.void_objc_msgSend (This.Handle, Selector.GetHandle ("makeAliasable")); | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static int SetOwnerWithIdentity (this IMTLResource This, uint taskIdToken) | |
+ { | |
+ return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (This.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public static MTLStorageMode GetStorageMode (this IMTLResource This) | |
{ | |
@@ -160,12 +161,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/mac/mobile/Metal/MTLSharedEvent.g.cs b/new/mac/mobile/Metal/MTLSharedEvent.g.cs | |
index 350fff0..55685a2 100644 | |
--- a/old/mac/mobile/Metal/MTLSharedEvent.g.cs | |
+++ b/new/mac/mobile/Metal/MTLSharedEvent.g.cs | |
@@ -48,7 +48,7 @@ namespace Metal { | |
[Protocol (Name = "MTLSharedEvent", WrapperType = typeof (MTLSharedEventWrapper))] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "NotifyListener", Selector = "notifyListener:atValue:block:", ParameterType = new Type [] { typeof (MTLSharedEventListener), typeof (ulong), typeof (MTLSharedEventNotificationBlock) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDMTLSharedEventNotificationBlock) })] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateSharedEventHandle", Selector = "newSharedEventHandle", ReturnType = typeof (MTLSharedEventHandle))] | |
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "WaitUntilSignaledValue", Selector = "waitUntilSignaledValue:timeoutMS:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (ulong), typeof (ulong) }, ParameterByRef = new bool [] { false, false })] | |
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WaitUntilSignaledValue", Selector = "waitUntilSignaledValue:timeoutMS:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (ulong), typeof (ulong) }, ParameterByRef = new bool [] { false, false })] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SignaledValue", Selector = "signaledValue", PropertyType = typeof (ulong), GetterSelector = "signaledValue", SetterSelector = "setSignaledValue:", ArgumentSemantic = ArgumentSemantic.None)] | |
public partial interface IMTLSharedEvent : INativeObject, IDisposable, | |
Metal.IMTLEvent | |
@@ -62,14 +62,6 @@ namespace Metal { | |
[Export ("newSharedEventHandle")] | |
[Preserve (Conditional = true)] | |
MTLSharedEventHandle CreateSharedEventHandle (); | |
- [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- [Export ("waitUntilSignaledValue:timeoutMS:")] | |
- [Preserve (Conditional = true)] | |
- bool WaitUntilSignaledValue (ulong value, ulong milliseconds); | |
[Preserve (Conditional = true)] | |
ulong SignaledValue { | |
[Export ("signaledValue")] | |
@@ -78,6 +70,23 @@ namespace Metal { | |
set; | |
} | |
} | |
+ /// <summary>Extension methods to the <see cref="IMTLSharedEvent" /> interface to support all the methods from the MTLSharedEvent protocol.</summary> | |
+ /// <remarks> | |
+ /// <para>The extension methods for <see cref="IMTLSharedEvent" /> interface allow developers to treat instances of the interface as having all the optional methods of the original MTLSharedEvent protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para> | |
+ /// </remarks> | |
+ public unsafe static partial class MTLSharedEvent_Extensions { | |
+ [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static bool WaitUntilSignaledValue (this IMTLSharedEvent This, ulong value, ulong milliseconds) | |
+ { | |
+ byte ret; | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_UInt64_UInt64 (This.Handle, Selector.GetHandle ("waitUntilSignaledValue:timeoutMS:"), value, milliseconds); | |
+ return ret != 0; | |
+ } | |
+ } | |
internal unsafe sealed class MTLSharedEventWrapper : BaseWrapper, IMTLSharedEvent { | |
[Preserve (Conditional = true)] | |
public MTLSharedEventWrapper (IntPtr handle, bool owns) | |
@@ -106,14 +115,6 @@ namespace Metal { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
- [Export ("waitUntilSignaledValue:timeoutMS:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool WaitUntilSignaledValue (ulong value, ulong milliseconds) | |
- { | |
- byte ret; | |
- ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_UInt64_UInt64 (this.Handle, Selector.GetHandle ("waitUntilSignaledValue:timeoutMS:"), value, milliseconds); | |
- return ret != 0; | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public ulong SignaledValue { | |
[Export ("signaledValue")] | |
diff --git a/old/mac/mobile/Metal/MTLTexture.g.cs b/new/mac/mobile/Metal/MTLTexture.g.cs | |
index a23137a..13c12c5 100644 | |
--- a/old/mac/mobile/Metal/MTLTexture.g.cs | |
+++ b/new/mac/mobile/Metal/MTLTexture.g.cs | |
@@ -368,12 +368,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Deprecated (PlatformName.iOS, 10,0)] | |
[Deprecated (PlatformName.MacOSX, 10,12)] | |
diff --git a/old/mac/mobile/Metal/MTLVisibleFunctionTable.g.cs b/new/mac/mobile/Metal/MTLVisibleFunctionTable.g.cs | |
index 45952fd..3af15fe 100644 | |
--- a/old/mac/mobile/Metal/MTLVisibleFunctionTable.g.cs | |
+++ b/new/mac/mobile/Metal/MTLVisibleFunctionTable.g.cs | |
@@ -105,12 +105,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/tvos/tvos/Metal/MTLAccelerationStructure.g.cs b/new/tvos/tvos/Metal/MTLAccelerationStructure.g.cs | |
index 61bc856..14e4a8d 100644 | |
--- a/old/tvos/tvos/Metal/MTLAccelerationStructure.g.cs | |
+++ b/new/tvos/tvos/Metal/MTLAccelerationStructure.g.cs | |
@@ -78,12 +78,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Size { | |
[Export ("size")] | |
diff --git a/old/tvos/tvos/Metal/MTLBuffer.g.cs b/new/tvos/tvos/Metal/MTLBuffer.g.cs | |
index cd4f562..ce1d9cd 100644 | |
--- a/old/tvos/tvos/Metal/MTLBuffer.g.cs | |
+++ b/new/tvos/tvos/Metal/MTLBuffer.g.cs | |
@@ -120,12 +120,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Length { | |
[Export ("length")] | |
diff --git a/old/tvos/tvos/Metal/MTLIndirectCommandBuffer.g.cs b/new/tvos/tvos/Metal/MTLIndirectCommandBuffer.g.cs | |
index fcaa634..5caa6cd 100644 | |
--- a/old/tvos/tvos/Metal/MTLIndirectCommandBuffer.g.cs | |
+++ b/new/tvos/tvos/Metal/MTLIndirectCommandBuffer.g.cs | |
@@ -110,12 +110,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public nuint Size { | |
[Export ("size")] | |
diff --git a/old/tvos/tvos/Metal/MTLIntersectionFunctionTable.g.cs b/new/tvos/tvos/Metal/MTLIntersectionFunctionTable.g.cs | |
index 7fac15c..d5f5901 100644 | |
--- a/old/tvos/tvos/Metal/MTLIntersectionFunctionTable.g.cs | |
+++ b/new/tvos/tvos/Metal/MTLIntersectionFunctionTable.g.cs | |
@@ -186,12 +186,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/tvos/tvos/Metal/MTLResource.g.cs b/new/tvos/tvos/Metal/MTLResource.g.cs | |
index 77dffb9..5509a26 100644 | |
--- a/old/tvos/tvos/Metal/MTLResource.g.cs | |
+++ b/new/tvos/tvos/Metal/MTLResource.g.cs | |
@@ -44,7 +44,7 @@ namespace Metal { | |
[Protocol (Name = "MTLResource", WrapperType = typeof (MTLResourceWrapper))] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetPurgeableState", Selector = "setPurgeableState:", ReturnType = typeof (MTLPurgeableState), ParameterType = new Type [] { typeof (MTLPurgeableState) }, ParameterByRef = new bool [] { false })] | |
[ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "MakeAliasable", Selector = "makeAliasable")] | |
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "SetOwnerWithIdentity", Selector = "setOwnerWithIdentity:", ReturnType = typeof (int), ParameterType = new Type [] { typeof (uint) }, ParameterByRef = new bool [] { false })] | |
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "SetOwnerWithIdentity", Selector = "setOwnerWithIdentity:", ReturnType = typeof (int), ParameterType = new Type [] { typeof (uint) }, ParameterByRef = new bool [] { false })] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Label", Selector = "label", PropertyType = typeof (string), GetterSelector = "label", SetterSelector = "setLabel:", ArgumentSemantic = ArgumentSemantic.None)] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "Device", Selector = "device", PropertyType = typeof (IMTLDevice), GetterSelector = "device", ArgumentSemantic = ArgumentSemantic.None)] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "CpuCacheMode", Selector = "cpuCacheMode", PropertyType = typeof (MTLCpuCacheMode), GetterSelector = "cpuCacheMode", ArgumentSemantic = ArgumentSemantic.None)] | |
@@ -61,15 +61,6 @@ namespace Metal { | |
[Export ("setPurgeableState:")] | |
[Preserve (Conditional = true)] | |
MTLPurgeableState SetPurgeableState (MTLPurgeableState state); | |
- [Introduced (PlatformName.WatchOS, 10,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- [Export ("setOwnerWithIdentity:")] | |
- [Preserve (Conditional = true)] | |
- int SetOwnerWithIdentity (uint taskIdToken); | |
[Preserve (Conditional = true)] | |
string Label { | |
[Export ("label")] | |
@@ -99,6 +90,16 @@ namespace Metal { | |
{ | |
global::ObjCRuntime.Messaging.void_objc_msgSend (This.Handle, Selector.GetHandle ("makeAliasable")); | |
} | |
+ [Introduced (PlatformName.WatchOS, 10,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static int SetOwnerWithIdentity (this IMTLResource This, uint taskIdToken) | |
+ { | |
+ return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (This.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
+ } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public static MTLStorageMode GetStorageMode (this IMTLResource This) | |
{ | |
@@ -157,12 +158,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] | |
diff --git a/old/tvos/tvos/Metal/MTLSharedEvent.g.cs b/new/tvos/tvos/Metal/MTLSharedEvent.g.cs | |
index d0d8810..dceee20 100644 | |
--- a/old/tvos/tvos/Metal/MTLSharedEvent.g.cs | |
+++ b/new/tvos/tvos/Metal/MTLSharedEvent.g.cs | |
@@ -45,7 +45,7 @@ namespace Metal { | |
[Protocol (Name = "MTLSharedEvent", WrapperType = typeof (MTLSharedEventWrapper))] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "NotifyListener", Selector = "notifyListener:atValue:block:", ParameterType = new Type [] { typeof (MTLSharedEventListener), typeof (ulong), typeof (MTLSharedEventNotificationBlock) }, ParameterByRef = new bool [] { false, false, false }, ParameterBlockProxy = new Type? [] { null, null, typeof (ObjCRuntime.Trampolines.NIDMTLSharedEventNotificationBlock) })] | |
[ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "CreateSharedEventHandle", Selector = "newSharedEventHandle", ReturnType = typeof (MTLSharedEventHandle))] | |
- [ProtocolMember (IsRequired = true, IsProperty = false, IsStatic = false, Name = "WaitUntilSignaledValue", Selector = "waitUntilSignaledValue:timeoutMS:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (ulong), typeof (ulong) }, ParameterByRef = new bool [] { false, false })] | |
+ [ProtocolMember (IsRequired = false, IsProperty = false, IsStatic = false, Name = "WaitUntilSignaledValue", Selector = "waitUntilSignaledValue:timeoutMS:", ReturnType = typeof (bool), ParameterType = new Type [] { typeof (ulong), typeof (ulong) }, ParameterByRef = new bool [] { false, false })] | |
[ProtocolMember (IsRequired = true, IsProperty = true, IsStatic = false, Name = "SignaledValue", Selector = "signaledValue", PropertyType = typeof (ulong), GetterSelector = "signaledValue", SetterSelector = "setSignaledValue:", ArgumentSemantic = ArgumentSemantic.None)] | |
public partial interface IMTLSharedEvent : INativeObject, IDisposable, | |
Metal.IMTLEvent | |
@@ -59,14 +59,6 @@ namespace Metal { | |
[Export ("newSharedEventHandle")] | |
[Preserve (Conditional = true)] | |
MTLSharedEventHandle CreateSharedEventHandle (); | |
- [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- [Export ("waitUntilSignaledValue:timeoutMS:")] | |
- [Preserve (Conditional = true)] | |
- bool WaitUntilSignaledValue (ulong value, ulong milliseconds); | |
[Preserve (Conditional = true)] | |
ulong SignaledValue { | |
[Export ("signaledValue")] | |
@@ -75,6 +67,23 @@ namespace Metal { | |
set; | |
} | |
} | |
+ /// <summary>Extension methods to the <see cref="IMTLSharedEvent" /> interface to support all the methods from the MTLSharedEvent protocol.</summary> | |
+ /// <remarks> | |
+ /// <para>The extension methods for <see cref="IMTLSharedEvent" /> interface allow developers to treat instances of the interface as having all the optional methods of the original MTLSharedEvent protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.</para> | |
+ /// </remarks> | |
+ public unsafe static partial class MTLSharedEvent_Extensions { | |
+ [Introduced (PlatformName.MacOSX, 14,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.iOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.TvOS, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [Introduced (PlatformName.MacCatalyst, 17,4, ObjCRuntime.PlatformArchitecture.All)] | |
+ [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
+ public static bool WaitUntilSignaledValue (this IMTLSharedEvent This, ulong value, ulong milliseconds) | |
+ { | |
+ byte ret; | |
+ ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_UInt64_UInt64 (This.Handle, Selector.GetHandle ("waitUntilSignaledValue:timeoutMS:"), value, milliseconds); | |
+ return ret != 0; | |
+ } | |
+ } | |
internal unsafe sealed class MTLSharedEventWrapper : BaseWrapper, IMTLSharedEvent { | |
[Preserve (Conditional = true)] | |
public MTLSharedEventWrapper (IntPtr handle, bool owns) | |
@@ -103,14 +112,6 @@ namespace Metal { | |
global::ObjCRuntime.Messaging.void_objc_msgSend (ret.Handle, Selector.GetHandle ("release")); | |
return ret!; | |
} | |
- [Export ("waitUntilSignaledValue:timeoutMS:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public bool WaitUntilSignaledValue (ulong value, ulong milliseconds) | |
- { | |
- byte ret; | |
- ret = global::ObjCRuntime.Messaging.bool_objc_msgSend_UInt64_UInt64 (this.Handle, Selector.GetHandle ("waitUntilSignaledValue:timeoutMS:"), value, milliseconds); | |
- return ret != 0; | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public ulong SignaledValue { | |
[Export ("signaledValue")] | |
diff --git a/old/tvos/tvos/Metal/MTLTexture.g.cs b/new/tvos/tvos/Metal/MTLTexture.g.cs | |
index bc341f2..aae63fd 100644 | |
--- a/old/tvos/tvos/Metal/MTLTexture.g.cs | |
+++ b/new/tvos/tvos/Metal/MTLTexture.g.cs | |
@@ -344,12 +344,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
[Deprecated (PlatformName.iOS, 10,0)] | |
[Deprecated (PlatformName.MacOSX, 10,12)] | |
diff --git a/old/tvos/tvos/Metal/MTLVisibleFunctionTable.g.cs b/new/tvos/tvos/Metal/MTLVisibleFunctionTable.g.cs | |
index accc22e..0b3c83e 100644 | |
--- a/old/tvos/tvos/Metal/MTLVisibleFunctionTable.g.cs | |
+++ b/new/tvos/tvos/Metal/MTLVisibleFunctionTable.g.cs | |
@@ -102,12 +102,6 @@ namespace Metal { | |
ret = (MTLPurgeableState) (ulong) global::ObjCRuntime.Messaging.UIntPtr_objc_msgSend_UIntPtr (this.Handle, Selector.GetHandle ("setPurgeableState:"), (UIntPtr) (ulong) state); | |
return ret!; | |
} | |
- [Export ("setOwnerWithIdentity:")] | |
- [BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
- public int SetOwnerWithIdentity (uint taskIdToken) | |
- { | |
- return global::ObjCRuntime.Messaging.int_objc_msgSend_UInt32 (this.Handle, Selector.GetHandle ("setOwnerWithIdentity:"), taskIdToken); | |
- } | |
[BindingImpl (BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)] | |
public string Label { | |
[Export ("label")] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment