Skip to content

Metal tvOS 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/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h
--- /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h	2023-02-11 22:25:38
+++ /Applications/Xcode_14.3.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLAccelerationStructureCommandEncoder.h	2023-02-24 09:44:27
@@ -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