Skip to content

MetalKit macOS xcode14.0 beta1

Alex Soto edited this page Jun 7, 2022 · 1 revision

#MetalKit.framework

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2022-02-23 10:55:37.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2022-05-31 15:01:54.000000000 -0400
@@ -99,6 +99,12 @@
 @property (nonatomic) MTLPixelFormat depthStencilPixelFormat;
 
 /*!
+ @property depthStencilStorageMode
+ @abstract The storage mode for the depthStencilTexture. Defaults to MTLStorageModePrivate.
+ */
+@property (nonatomic) MTLStorageMode depthStencilStorageMode API_AVAILABLE(macos(13.0), ios(16.0));
+
+/*!
  @property sampleCount
  @abstract The sample count used to to create multisampleColorTexture
  @discussion This defaults to 1.  If sampleCount is greater than 1 a multisampled color texture will be created and the currentDrawable's texture will be set as the resolve texture in the currentRenderPassDescriptor and the store action will be set to MTLStoreActionMultisampleResolve
Clone this wiki locally