Skip to content

Metal iOS xcode14.3 beta2

Alex Soto edited this page Feb 28, 2023 · 1 revision

#Metal.framework

diff -ruN /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h
--- /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h	2023-02-11 16:44:54
+++ /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h	2023-02-25 10:27:41
@@ -96,7 +96,7 @@
 - (void)refitAccelerationStructure:(id <MTLAccelerationStructure>)sourceAccelerationStructure
                         descriptor:(MTLAccelerationStructureDescriptor *)descriptor
                        destination:(nullable id <MTLAccelerationStructure>)destinationAccelerationStructure
-                     scratchBuffer:(id <MTLBuffer>)scratchBuffer
+                     scratchBuffer:(nullable id <MTLBuffer>)scratchBuffer
                scratchBufferOffset:(NSUInteger)scratchBufferOffset;
 
 /*!
@@ -129,7 +129,7 @@
 - (void)refitAccelerationStructure:(id <MTLAccelerationStructure>)sourceAccelerationStructure
                         descriptor:(MTLAccelerationStructureDescriptor *)descriptor
                        destination:(nullable id <MTLAccelerationStructure>)destinationAccelerationStructure
-                     scratchBuffer:(id <MTLBuffer>)scratchBuffer
+                     scratchBuffer:(nullable id <MTLBuffer>)scratchBuffer
                scratchBufferOffset:(NSUInteger)scratchBufferOffset
                            options:(MTLAccelerationStructureRefitOptions)options
                            API_AVAILABLE(macos(13.0), ios(16.0));
Clone this wiki locally