Skip to content

MetalKit tvOS 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/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2022-02-23 07:58:15.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h	2022-05-31 14:51:14.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