Skip to content

ModelIO iOS xcode16.0 b1

Rolf Bjarne Kvinge edited this page Jun 18, 2024 · 3 revisions

#ModelIO.framework

diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h	2024-04-13 14:12:16
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h	2024-05-30 02:55:07
@@ -380,7 +380,7 @@
 
 // Iterates all material properties. If they are string values, they are resolved into
 // valid paths as NSURL values.
-// @param resolver If non-nil, the resolver can be invoked to convert stringValues
+// @param resolver The resolver can be invoked to convert stringValues
 //                 to NSURLs for loading.
 - (void)resolveTexturesWithResolver:(id<MDLAssetResolver>)resolver API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
@@ -388,8 +388,8 @@
 // can be resolved as textures, then the string and NSURL values will be replaced by
 // MDLTextureSampler values. The transforms on the samplers will be identity, the
 // wrap modes will be clamp, and the filter modes will be linear.
-// @param resolver If non-nil, the resolver can be invoked to convert stringValues
-//                 to NSURLs for loading.
+// @param resolver The resolver can be invoked to convert stringValues or NSURLs
+//                 to an MDLTextureSampler.
 - (void)loadTexturesUsingResolver:(id<MDLAssetResolver>)resolver API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 @property (nonatomic, readonly, retain) MDLScatteringFunction *scatteringFunction;
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLUtility.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLUtility.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLUtility.h	1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLUtility.h	2024-05-30 10:32:34
@@ -0,0 +1,19 @@
+//
+// MDLUtility.h
+// @framework ModelIO
+//
+// @copyright (c) 2018 Apple. All rights reserved.
+//
+
+#ifndef MDLUtility_h
+#define MDLUtility_h
+
+#include <ModelIO/ModelIOExports.h>
+#include <ModelIO/MDLAsset.h>
+
+MDL_EXPORT
+@interface MDLUtility : NSObject
++(void)convertToUSDZ:(nonnull NSURL*)inputURL writeToURL:(nonnull NSURL*)outputURL;
+@end
+
+#endif /* MDLUtility_h */
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLVertexDescriptor.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLVertexDescriptor.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLVertexDescriptor.h	2024-03-25 07:33:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/MDLVertexDescriptor.h	2024-05-30 10:37:06
@@ -5,8 +5,8 @@
  @copyright Copyright © 2015 Apple, Inc. All rights reserved.
  */
 #import <Foundation/Foundation.h>
-#import "ModelIOExports.h"
-#import "MDLMeshBuffer.h"
+#import <ModelIO/ModelIOExports.h>
+#import <ModelIO/MDLMeshBuffer.h>
 #import <simd/simd.h>
 
 NS_ASSUME_NONNULL_BEGIN
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h	2024-04-13 15:16:01
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h	2024-05-30 10:32:33
@@ -23,3 +23,4 @@
 #import <ModelIO/MDLVertexDescriptor.h>
 #import <ModelIO/MDLVoxelArray.h>
 #import <ModelIO/MDLAnimation.h>
+#import <ModelIO/MDLUtility.h>

Clone this wiki locally