Skip to content

SceneKit iOS xcode27.0 b5

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

#SceneKit.framework

diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/scn_metal /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/scn_metal
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/scn_metal	2026-07-08 06:29:37
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SceneKit.framework/Headers/scn_metal	2026-08-04 12:36:38
@@ -1,6 +1,10 @@
 #ifndef __SCNMetalDefines__
 #define __SCNMetalDefines__
-
+#if defined(__METAL_VERSION__)
+#define SCN_METAL_HAS_SIMD_TYPES 1
+#else
+#define SCN_METAL_HAS_SIMD_TYPES 0
+#endif
 enum {
     SCNVertexSemanticPosition,
     SCNVertexSemanticNormal,
@@ -18,6 +22,8 @@
     SCNVertexSemanticTexcoord7
 };
 
+#if SCN_METAL_HAS_SIMD_TYPES
+
 // This structure hold all the informations that are constant through a render pass
 // In a shader modifier, it is given both in vertex and fragment stage through an argument named "scn_frame".
 struct SCNSceneBuffer {
@@ -63,5 +69,7 @@
 // float4x4 inverseModelViewProjectionTransform;
 // float2x3 boundingBox;
 // float2x3 worldBoundingBox;
+
+#endif
 
 #endif /* defined(__SCNMetalDefines__) */

Clone this wiki locally