Skip to content

Metal iOS xcode27.0 b5

Alex Soto edited this page Aug 10, 2026 · 1 revision

#Metal.framework

diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h	2026-07-11 02:39:37
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h	2026-08-04 03:33:31
@@ -1227,11 +1227,13 @@
                                             error:(NSError *__nullable*)error
                                             API_AVAILABLE(macos(15.0), ios(18.0));
 
-/// Determines the size and alignment required to hold the data of a tensor you create with a descriptor in a buffer.
+/// Determines the size and alignment required to hold the data plane of a tensor you create with a descriptor in a buffer.
 ///
+/// This method requires that `descriptor` does not configure any auxiliary planes.
+///
 /// - Parameters:
-///    - descriptor: A description of the properties for the new tensor.
-/// - Returns: The size and alignment required to hold the data of a tensor you create with `descriptor` in a buffer.
+///    - descriptor: The tensor descriptor configuring the data plane.
+/// - Returns: The size and alignment required to hold the data plane of a tensor you create with `descriptor` in a buffer.
 - (MTLSizeAndAlign)tensorSizeAndAlignWithDescriptor:(MTLTensorDescriptor *)descriptor API_AVAILABLE(macos(26.0), ios(26.0));
 
 /// Creates a tensor with the specified descriptor.

Clone this wiki locally