-
Notifications
You must be signed in to change notification settings - Fork 507
MetalKit macOS xcode15.0 b1
Manuel de la Pena edited this page Oct 19, 2023
·
3 revisions
#MetalKit.framework https://github.com/xamarin/xamarin-macios/pull/19274
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h 2023-03-09 19:07:23
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h 2023-05-19 22:37:52
@@ -127,6 +127,13 @@
*/
MTK_EXTERN MTKTextureLoaderOrigin __nonnull const MTKTextureLoaderOriginFlippedVertically NS_AVAILABLE(10_12, 10_0);
+/*!
+ @constant MTKTextureLoaderOptionLoadAsArray
+ @abstract Identifier specifying that the texture should be loaded as an array texture when possible.
+ @discussion Type is an NSNumber with a boolean value.
+ */
+MTK_EXTERN MTKTextureLoaderOption __nonnull const MTKTextureLoaderOptionLoadAsArray NS_AVAILABLE(14_0, 17_0);
+
typedef void (^MTKTextureLoaderCallback) (id <MTLTexture> __nullable texture, NSError * __nullable error) NS_SWIFT_NAME(MTKTextureLoader.Callback);
typedef void (^MTKTextureLoaderArrayCallback) (NSArray<id <MTLTexture>> * __nonnull textures, NSError * __nullable error) NS_SWIFT_NAME(MTKTextureLoader.ArrayCallback) NS_AVAILABLE(10_12, 10_0);
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h 2023-03-09 19:07:23
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h 2023-05-19 22:37:52
@@ -20,7 +20,9 @@
@abstract View for rendering metal content
*/
API_AVAILABLE(macos(10.11), ios(9.0))
-
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
@interface MTKView : NSView <NSCoding,CALayerDelegate>
/*!
@@ -232,7 +234,9 @@
@abstract Allows an object to render into the view and respond to resize events
*/
API_AVAILABLE(macos(10.11), ios(9.0))
-
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
@protocol MTKViewDelegate <NSObject>
/*!
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status