diff --git a/src/modelio.cs b/src/modelio.cs index fc61d66d6fa6..e4a8494abb3a 100644 --- a/src/modelio.cs +++ b/src/modelio.cs @@ -3249,4 +3249,12 @@ interface MDLAnimatedQuaternion { nuint _GetDoubleQuaternionArray (IntPtr valuesArray, nuint maxCount); } + [TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] + [DisableDefaultCtor] + [BaseType (typeof (NSObject))] + interface MDLUtility { + [Static] + [Export ("convertToUSDZ:writeToURL:")] + void ConvertToUsdz (NSUrl inputUrl, NSUrl outputUrl); + } } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index 154ff1611f76..f6693a792f18 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -42348,6 +42348,7 @@ M:ModelIO.MDLTransformTranslateOp.GetNMatrix4(System.Double) M:ModelIO.MDLTransformTranslateOp.GetNMatrix4d(System.Double) M:ModelIO.MDLUrlTexture.#ctor(Foundation.NSData,System.Boolean,System.String,CoreGraphics.NVector2i,System.IntPtr,System.UIntPtr,ModelIO.MDLTextureChannelEncoding,System.Boolean) M:ModelIO.MDLUrlTexture.#ctor(Foundation.NSUrl,System.String) +M:ModelIO.MDLUtility.ConvertToUsdz(Foundation.NSUrl,Foundation.NSUrl) M:ModelIO.MDLVertexAttribute.#ctor(System.String,ModelIO.MDLVertexFormat,System.UIntPtr,System.UIntPtr) M:ModelIO.MDLVertexAttribute.Copy(Foundation.NSZone) M:ModelIO.MDLVertexBufferLayout.#ctor(System.UIntPtr) @@ -81424,6 +81425,7 @@ T:ModelIO.MDLTransformRotateZOp T:ModelIO.MDLTransformScaleOp T:ModelIO.MDLTransformStack T:ModelIO.MDLTransformTranslateOp +T:ModelIO.MDLUtility T:ModelIO.MDLVertexFormatExtensions T:ModelIO.MDLVoxelIndexExtent T:NaturalLanguage.NLContextualEmbedding diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-ModelIO.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-ModelIO.todo deleted file mode 100644 index 36b88c86cfbd..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-ModelIO.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! +MDLUtility::convertToUSDZ:writeToURL: not bound -!missing-type! MDLUtility not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-ModelIO.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-ModelIO.todo deleted file mode 100644 index 36b88c86cfbd..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-ModelIO.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! +MDLUtility::convertToUSDZ:writeToURL: not bound -!missing-type! MDLUtility not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-ModelIO.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-ModelIO.todo deleted file mode 100644 index 36b88c86cfbd..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-ModelIO.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! +MDLUtility::convertToUSDZ:writeToURL: not bound -!missing-type! MDLUtility not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-ModelIO.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-ModelIO.todo deleted file mode 100644 index 36b88c86cfbd..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-ModelIO.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! +MDLUtility::convertToUSDZ:writeToURL: not bound -!missing-type! MDLUtility not bound diff --git a/tests/xtro-sharpie/iOS-ModelIO.todo b/tests/xtro-sharpie/iOS-ModelIO.todo deleted file mode 100644 index 36b88c86cfbd..000000000000 --- a/tests/xtro-sharpie/iOS-ModelIO.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! +MDLUtility::convertToUSDZ:writeToURL: not bound -!missing-type! MDLUtility not bound diff --git a/tests/xtro-sharpie/macOS-ModelIO.todo b/tests/xtro-sharpie/macOS-ModelIO.todo deleted file mode 100644 index 36b88c86cfbd..000000000000 --- a/tests/xtro-sharpie/macOS-ModelIO.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! +MDLUtility::convertToUSDZ:writeToURL: not bound -!missing-type! MDLUtility not bound diff --git a/tests/xtro-sharpie/tvOS-ModelIO.todo b/tests/xtro-sharpie/tvOS-ModelIO.todo deleted file mode 100644 index 36b88c86cfbd..000000000000 --- a/tests/xtro-sharpie/tvOS-ModelIO.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! +MDLUtility::convertToUSDZ:writeToURL: not bound -!missing-type! MDLUtility not bound