@@ -975,6 +975,11 @@ interface SCNGeometry : SCNAnimatable, SCNBoundingVolume, SCNShadable, NSCopying
975975 [ Export ( "geometryWithSources:elements:" ) ]
976976 SCNGeometry Create ( SCNGeometrySource [ ] sources , [ NullAllowed ] SCNGeometryElement [ ] elements ) ;
977977
978+ [ Watch ( 11 , 0 ) , TV ( 18 , 0 ) , Mac ( 15 , 0 ) , iOS ( 18 , 0 ) , MacCatalyst ( 18 , 0 ) ]
979+ [ Static ]
980+ [ Export ( "geometryWithSources:elements:sourceChannels:" ) ]
981+ SCNGeometry Create ( SCNGeometrySource [ ] sources , [ NullAllowed ] SCNGeometryElement [ ] elements , [ NullAllowed ] [ BindAs ( typeof ( int [ ] ) ) ] NSNumber [ ] sourceChannels ) ;
982+
978983 [ Export ( "geometrySourcesForSemantic:" ) ]
979984 SCNGeometrySource [ ] GetGeometrySourcesForSemantic ( string semantic ) ;
980985
@@ -1019,6 +1024,11 @@ interface SCNGeometry : SCNAnimatable, SCNBoundingVolume, SCNShadable, NSCopying
10191024 [ MacCatalyst ( 13 , 1 ) ]
10201025 [ NullAllowed , Export ( "tessellator" , ArgumentSemantic . Retain ) ]
10211026 SCNGeometryTessellator Tessellator { get ; set ; }
1027+
1028+ [ Watch ( 11 , 0 ) , TV ( 18 , 0 ) , Mac ( 15 , 0 ) , iOS ( 18 , 0 ) , MacCatalyst ( 18 , 0 ) ]
1029+ [ Export ( "geometrySourceChannels" ) , NullAllowed ]
1030+ [ BindAs ( typeof ( int [ ] ) ) ]
1031+ NSNumber [ ] GeometrySourceChannels { get ; }
10221032 }
10231033
10241034 /// <include file="../docs/api/SceneKit/SCNGeometrySource.xml" path="/Documentation/Docs[@DocId='T:SceneKit.SCNGeometrySource']/*" />
@@ -1131,6 +1141,11 @@ interface SCNGeometryElement : NSSecureCoding {
11311141 [ Export ( "geometryElementWithData:primitiveType:primitiveCount:bytesPerIndex:" ) ]
11321142 SCNGeometryElement FromData ( [ NullAllowed ] NSData data , SCNGeometryPrimitiveType primitiveType , nint primitiveCount , nint bytesPerIndex ) ;
11331143
1144+ [ Watch ( 11 , 0 ) , TV ( 18 , 0 ) , Mac ( 15 , 0 ) , iOS ( 18 , 0 ) , MacCatalyst ( 18 , 0 ) ]
1145+ [ Static ]
1146+ [ Export ( "geometryElementWithData:primitiveType:primitiveCount:indicesChannelCount:interleavedIndicesChannels:bytesPerIndex:" ) ]
1147+ SCNGeometryElement FromData ( [ NullAllowed ] NSData data , SCNGeometryPrimitiveType primitiveType , nint primitiveCount , nint indicesChannelCount , bool interleavedIndicesChannels , nint bytesPerIndex ) ;
1148+
11341149 [ MacCatalyst ( 13 , 1 ) ]
11351150 [ Export ( "primitiveRange" , ArgumentSemantic . Assign ) ]
11361151 NSRange PrimitiveRange { get ; set ; }
@@ -1159,6 +1174,20 @@ interface SCNGeometryElement : NSSecureCoding {
11591174 [ Static ]
11601175 [ Export ( "geometryElementWithBuffer:primitiveType:primitiveCount:bytesPerIndex:" ) ]
11611176 SCNGeometryElement FromBuffer ( IMTLBuffer buffer , SCNGeometryPrimitiveType primitiveType , nint primitiveCount , nint bytesPerIndex ) ;
1177+
1178+ [ NoWatch ] // marked as 11.0 but there's no Metal support on the platform
1179+ [ TV ( 18 , 0 ) , Mac ( 15 , 0 ) , iOS ( 18 , 0 ) , MacCatalyst ( 18 , 0 ) ]
1180+ [ Static ]
1181+ [ Export ( "geometryElementWithBuffer:primitiveType:primitiveCount:indicesChannelCount:interleavedIndicesChannels:bytesPerIndex:" ) ]
1182+ SCNGeometryElement FromBuffer ( IMTLBuffer data , SCNGeometryPrimitiveType primitiveType , nint primitiveCount , nint indicesChannelCount , bool interleavedIndicesChannels , nint bytesPerIndex ) ;
1183+
1184+ [ TV ( 18 , 0 ) , Mac ( 15 , 0 ) , iOS ( 18 , 0 ) , MacCatalyst ( 18 , 0 ) ]
1185+ [ Export ( "interleavedIndicesChannels" ) ]
1186+ bool InterleavedIndicesChannels { [ Bind ( "hasInterleavedIndicesChannels" ) ] get ; }
1187+
1188+ [ TV ( 18 , 0 ) , Mac ( 15 , 0 ) , iOS ( 18 , 0 ) , MacCatalyst ( 18 , 0 ) ]
1189+ [ Export ( "indicesChannelCount" ) ]
1190+ nint IndicesChannelCount { get ; }
11621191 }
11631192
11641193#if ! WATCH
@@ -1838,6 +1867,25 @@ interface SCNMaterialProperty : SCNAnimatable, NSSecureCoding {
18381867 [ MacCatalyst ( 13 , 1 ) ]
18391868 [ Static , Export ( "materialPropertyWithContents:" ) ]
18401869 SCNMaterialProperty Create ( NSObject contents ) ;
1870+
1871+ [ Static ]
1872+ [ TV ( 17 , 0 ) , Mac ( 14 , 0 ) , iOS ( 17 , 0 ) , MacCatalyst ( 17 , 0 ) , Watch ( 10 , 0 ) ]
1873+ [ return : NullAllowed ]
1874+ [ Export ( "precomputedLightingEnvironmentContentsWithURL:error:" ) ]
1875+ NSObject GetPrecomputedLightingEnvironmentContents ( NSUrl url , out NSError error ) ;
1876+
1877+ [ Static ]
1878+ [ TV ( 17 , 0 ) , Mac ( 14 , 0 ) , iOS ( 17 , 0 ) , MacCatalyst ( 17 , 0 ) , Watch ( 10 , 0 ) ]
1879+ [ return : NullAllowed ]
1880+ [ Export ( "precomputedLightingEnvironmentContentsWithData:error:" ) ]
1881+ NSObject GetPrecomputedLightingEnvironmentContents ( NSData url , out NSError error ) ;
1882+
1883+ [ Static ]
1884+ [ NoWatch ] // headers claim watchOS 10.0, but watchOS doesn't have Metal
1885+ [ TV ( 17 , 0 ) , Mac ( 14 , 0 ) , iOS ( 17 , 0 ) , MacCatalyst ( 17 , 0 ) ]
1886+ [ return : NullAllowed ]
1887+ [ Export ( "precomputedLightingEnvironmentDataForContents:device:error:" ) ]
1888+ NSData GetPrecomputedLightingEnvironmentData ( NSObject contents , [ NullAllowed ] IMTLDevice device , out NSError error ) ;
18411889 }
18421890
18431891#if ! WATCH
0 commit comments