-
Notifications
You must be signed in to change notification settings - Fork 543
MetalKit macOS xcode26.0 b1
Rolf Bjarne Kvinge edited this page Jun 20, 2025
·
2 revisions
#MetalKit.framework
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h 2025-04-19 02:19:47
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h 2025-05-26 00:42:01
@@ -161,6 +161,15 @@
*/
@property (nonatomic, readonly, nullable) MTLRenderPassDescriptor *currentRenderPassDescriptor;
+#if !TARGET_OS_SIMULATOR
+/*!
+ @property currentMTL4RenderPassDescriptor
+ @abstract A render pass descriptor generated from the currentDrawable's texture and the view's depth, stencil, and sample buffers and clear values.
+ @discussion This is a convience property. The view does not use this descriptor and there is no requirement for an app to use this descriptor.
+ */
+@property (nonatomic, readonly, nullable) MTL4RenderPassDescriptor *currentMTL4RenderPassDescriptor API_AVAILABLE(macos(26.0), ios(26.0));
+#endif
+
/*!
@property preferredFramesPerSecond
@abstract The rate you want the view to redraw its contents.