diff --git a/src/SceneKit/Defs.cs b/src/SceneKit/Defs.cs index 84534a340878..e6c6ac762948 100644 --- a/src/SceneKit/Defs.cs +++ b/src/SceneKit/Defs.cs @@ -10,6 +10,7 @@ using System; +using Foundation; using ObjCRuntime; using Vector3 = global::OpenTK.Vector3; @@ -364,6 +365,7 @@ public enum SCNRenderingApi : ulong { Metal, #if !MONOMAC + [Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using UIKit on macOS.")] OpenGLES2, #else OpenGLLegacy, @@ -458,4 +460,28 @@ public enum SCNNodeFocusBehavior : long Occluding, Focusable, } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Native] + public enum SCNLightProbeType : long + { + Irradiance = 0, + Radiance = 1, + } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Native] + public enum SCNLightProbeUpdateType : long + { + Never = 0, + Realtime = 1, + } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Native] + public enum SCNLightAreaType : long + { + Rectangle = 1, + Polygon = 4, + } } diff --git a/src/scenekit.cs b/src/scenekit.cs index b3a849aa435b..5378eb9dedff 100644 --- a/src/scenekit.cs +++ b/src/scenekit.cs @@ -36,6 +36,7 @@ using NMatrix4 = global::OpenTK.NMatrix4; using NVector3 = global::OpenTK.NVector3; +using Vector3 = global::OpenTK.NVector3; using Vector4 = global::OpenTK.Vector4; using Quaternion = global::OpenTK.Quaternion; @@ -597,8 +598,39 @@ interface SCNCamera : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCod [Watch (4, 0), TV (11, 0), Mac (10, 13), iOS (11, 0)] [Export ("screenSpaceAmbientOcclusionNormalThreshold")] nfloat ScreenSpaceAmbientOcclusionNormalThreshold { get; set; } - #endif + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("projectionTransformWithViewportSize:")] + SCNMatrix4 GetProjectionTransform (CGSize viewportSize); + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("bloomIterationCount")] + nint BloomIterationCount { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("bloomIterationSpread")] + nfloat BloomIterationSpread { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("grainIntensity")] + nfloat GrainIntensity { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("grainScale")] + nfloat GrainScale { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("grainIsColored")] + bool GrainIsColored { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("whiteBalanceTemperature")] + nfloat WhiteBalanceTemperature { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("whiteBalanceTint")] + nfloat WhiteBalanceTint { get; set; } } interface ISCNCameraControlConfiguration {} @@ -1135,6 +1167,10 @@ interface SCNHitTest { [Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] [Field ("SCNHitTestOptionSearchMode")] NSString SearchModeKey { get; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Field ("SCNHitTestOptionIgnoreLightArea")] + NSString IgnoreLightAreaKey { get; } } [Watch (3,0)] @@ -1177,6 +1213,8 @@ interface SCNHitTestResult { #if MONOMAC [iOS (8,0)] + [Deprecated (PlatformName.MacOSX, 10, 14, message: "OpenGL API deprecated, please use Metal instead.")] + [Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using UIKit on macOS.")] [BaseType (typeof (CAOpenGLLayer))] interface SCNLayer : SCNSceneRenderer, SCNTechniqueSupport { // We already pull in the Scene property from the SCNSceneRenderer protocol, no need to redefine it here. @@ -1340,6 +1378,83 @@ interface SCNLight : SCNAnimatable, SCNTechniqueSupport, NSCopying, NSSecureCodi [Export ("lightWithMDLLight:")] SCNLight FromModelLight (MDLLight mdllight); #endif + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("probeType", ArgumentSemantic.Assign)] + SCNLightProbeType ProbeType { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("probeUpdateType", ArgumentSemantic.Assign)] + SCNLightProbeUpdateType ProbeUpdateType { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("probeExtents", ArgumentSemantic.Assign)] + Vector3 ProbeExtents { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + get; + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + set; + } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("probeOffset", ArgumentSemantic.Assign)] + Vector3 ProbeOffset { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + get; + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + set; + } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("parallaxCorrectionEnabled")] + bool ParallaxCorrectionEnabled { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("parallaxExtentsFactor", ArgumentSemantic.Assign)] + Vector3 ParallaxExtentsFactor { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + get; + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + set; + } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("parallaxCenterOffset", ArgumentSemantic.Assign)] + Vector3 ParallaxCenterOffset { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + get; + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + set; + } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [NullAllowed, Export ("probeEnvironment")] + SCNMaterialProperty ProbeEnvironment { get; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("areaType", ArgumentSemantic.Assign)] + SCNLightAreaType AreaType { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("areaExtents", ArgumentSemantic.Assign)] + Vector3 AreaExtents { + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + get; + [MarshalDirective (NativePrefix = "xamarin_simd__", Library = "__Internal")] + set; + } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [NullAllowed, Export ("areaPolygonVertices", ArgumentSemantic.Copy)] + NSValue[] AreaPolygonVertices { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("drawsArea")] + bool DrawsArea { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("doubleSided")] + bool DoubleSided { get; set; } } [Watch (3,0)] @@ -1365,6 +1480,10 @@ interface SCNLightType { [TV (10, 0), Mac (10, 12), iOS (10, 0)] [Field ("SCNLightTypeProbe")] NSString Probe { get; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Field ("SCNLightTypeArea")] + NSString Area { get; } } #if MONOMAC @@ -1413,6 +1532,10 @@ interface SCNLightingModel { [TV (10, 0), Mac (10, 12), iOS (10, 0)] [Field ("SCNLightingModelPhysicallyBased")] NSString PhysicallyBased { get; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Field ("SCNLightingModelShadowOnly")] + NSString ShadowOnly { get; } } [Watch (3,0)] @@ -1525,6 +1648,18 @@ interface SCNMaterial : SCNAnimatable, SCNShadable, NSCopying, NSSecureCoding { SCNColorMask ColorBufferWriteMask { get; set; } #endif + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("clearCoat")] + SCNMaterialProperty ClearCoat { get; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("clearCoatRoughness")] + SCNMaterialProperty ClearCoatRoughness { get; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("clearCoatNormal")] + SCNMaterialProperty ClearCoatNormal { get; } } [Watch (3,0)] @@ -1552,6 +1687,7 @@ interface SCNMaterialProperty : SCNAnimatable, NSSecureCoding { [Deprecated (PlatformName.iOS, 10, 0)] [Deprecated (PlatformName.MacOSX, 10, 12)] + [Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using UIKit on macOS.")] [NoWatch, NoTV] [NullAllowed, Export ("borderColor", ArgumentSemantic.Retain)] NSObject BorderColor { get; set; } @@ -1625,6 +1761,8 @@ interface SCNHitTestOptions { bool IgnoreHiddenNodes { get; set; } SCNNode RootNode { get; set; } SCNHitTestSearchMode SearchMode { get; set; } + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + bool IgnoreLightArea { get; set; } } [Watch (3,0)] @@ -2362,6 +2500,7 @@ interface SCNProgramDelegate { [NoTV, NoWatch] #endif [Availability (Deprecated = Platform.Mac_10_10, Message = "Use the SCNProgram's Opaque property instead.")] + [Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using UIKit on macOS.")] [Export ("programIsOpaque:")] bool IsProgramOpaque (SCNProgram program); #endif @@ -2418,6 +2557,7 @@ interface SCNRenderer : SCNSceneRenderer, SCNTechniqueSupport { [Export ("render")] [Deprecated (PlatformName.MacOSX, 10, 11)] [Deprecated (PlatformName.iOS, 9, 0)] + [Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using UIKit on macOS.")] void Render (); [Mac (10,10)] @@ -2620,6 +2760,22 @@ bool WriteToUrl (NSUrl url, [Export ("sceneWithMDLAsset:")] SCNScene FromAsset (MDLAsset asset); #endif + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("wantsScreenSpaceReflection")] + bool WantsScreenSpaceReflection { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("screenSpaceReflectionSampleCount")] + nint ScreenSpaceReflectionSampleCount { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("screenSpaceReflectionMaximumDistance")] + nfloat ScreenSpaceReflectionMaximumDistance { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("screenSpaceReflectionStride")] + nfloat ScreenSpaceReflectionStride { get; set; } } interface ISCNSceneExportDelegate { } @@ -3082,6 +3238,27 @@ interface SCNSceneRenderer { [NullAllowed, Export ("audioListener", ArgumentSemantic.Retain)] [DebuggerBrowsable (DebuggerBrowsableState.Never)] SCNNode AudioListener { get; set; } + +#if XAMCORE_4_0 + [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) +#endif + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("temporalAntialiasingEnabled")] + bool TemporalAntialiasingEnabled { [Bind ("isTemporalAntialiasingEnabled")] get; set; } + +#if XAMCORE_4_0 + [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) +#endif + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("currentViewport")] + CGRect CurrentViewport { get; } + +#if XAMCORE_4_0 + [Abstract] // this protocol existed before iOS 9 (or OSX 10.11) and we cannot add abstract members to it (breaking changes) +#endif + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("usesReverseZ")] + bool UsesReverseZ { get; set; } } [Watch (3,0)] @@ -3287,6 +3464,7 @@ interface SCNTube { [Internal] // we'll make it public if there's a need for them (beside the strong dictionary we provide) interface SCNRenderingOptionsKeys { + [Unavailable (PlatformName.MacCatalyst)][Advice ("This API is not available when using UIKit on macOS.")] [Field ("SCNPreferredRenderingAPIKey")] NSString RenderingApiKey { get; } @@ -3329,12 +3507,16 @@ interface SCNView : SCNSceneRenderer, SCNTechniqueSupport { bool AllowsCameraControl { get; set; } #if MONOMAC + [Deprecated (PlatformName.MacOSX, 10, 14, message: "OpenGL API deprecated, please use Metal instead.")] [Export ("openGLContext", ArgumentSemantic.Retain)] NSOpenGLContext OpenGLContext { get; set; } + [Deprecated (PlatformName.MacOSX, 10, 14, message: "OpenGL API deprecated, please use Metal instead.")] [Export ("pixelFormat", ArgumentSemantic.Retain)] NSOpenGLPixelFormat PixelFormat { get; set; } #elif !WATCH + [Deprecated (PlatformName.iOS, 12, 0, message: "OpenGL API deprecated, please use Metal instead.")] + [Deprecated (PlatformName.TvOS, 12, 0, message: "OpenGL API deprecated, please use Metal instead.")] [Export ("eaglContext", ArgumentSemantic.Retain)] #if XAMCORE_2_0 EAGLContext EAGLContext { get; set; } @@ -3388,6 +3570,10 @@ interface SCNView : SCNSceneRenderer, SCNTechniqueSupport { [Watch (4,0), TV (11,0), Mac (10,13), iOS (11,0)] [Export ("rendersContinuously")] bool RendersContinuously { get; set; } + + [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] + [Export ("drawableResizesAsynchronously")] + bool DrawableResizesAsynchronously { get; set; } } #if XAMCORE_4_0 @@ -3894,6 +4080,13 @@ interface SCNTechnique : SCNAnimatable, NSCopying, NSSecureCoding { [iOS (9,0)][Mac (10,11)] [Internal, Export ("setObject:forKeyedSubscript:")] void _SetObject ([NullAllowed] NSObject obj, INSCopying key); + +#if XAMCORE_2_0 // Metal is 64 bit only + [NoWatch] + [TV (13,0), Mac (10,15), iOS (13,0)] + [NullAllowed, Export ("library", ArgumentSemantic.Strong)] + IMTLLibrary Library { get; set; } +#endif } [Watch (3,0)] diff --git a/tests/xtro-sharpie/common-SceneKit.ignore b/tests/xtro-sharpie/common-SceneKit.ignore index ccf026df7679..39a5aad7388c 100644 --- a/tests/xtro-sharpie/common-SceneKit.ignore +++ b/tests/xtro-sharpie/common-SceneKit.ignore @@ -19,6 +19,11 @@ !incorrect-protocol-member! SCNSceneRenderer::depthPixelFormat is REQUIRED and should be abstract !incorrect-protocol-member! SCNSceneRenderer::device is REQUIRED and should be abstract !incorrect-protocol-member! SCNSceneRenderer::stencilPixelFormat is REQUIRED and should be abstract +!incorrect-protocol-member! SCNSceneRenderer::currentViewport is REQUIRED and should be abstract +!incorrect-protocol-member! SCNSceneRenderer::isTemporalAntialiasingEnabled is REQUIRED and should be abstract +!incorrect-protocol-member! SCNSceneRenderer::setTemporalAntialiasingEnabled: is REQUIRED and should be abstract +!incorrect-protocol-member! SCNSceneRenderer::setUsesReverseZ: is REQUIRED and should be abstract +!incorrect-protocol-member! SCNSceneRenderer::usesReverseZ is REQUIRED and should be abstract ## same for SCNActionable, it is required member of a protocol added to XAMCORE_4_0 !incorrect-protocol-member! SCNActionable::actionKeys is REQUIRED and should be abstract @@ -80,6 +85,11 @@ !missing-selector! SCNNode::simdWorldRight not bound !missing-selector! SCNNode::simdWorldTransform not bound !missing-selector! SCNNode::simdWorldUp not bound +!missing-selector! SCNHitTestResult::simdLocalCoordinates not bound +!missing-selector! SCNHitTestResult::simdLocalNormal not bound +!missing-selector! SCNHitTestResult::simdModelTransform not bound +!missing-selector! SCNHitTestResult::simdWorldCoordinates not bound +!missing-selector! SCNHitTestResult::simdWorldNormal not bound ## untyped enum (SceneKitTypes.h) but described as the value of `code` for `NSError` which is an NSInteger !unknown-native-enum! SCNErrorCode bound diff --git a/tests/xtro-sharpie/iOS-SceneKit.todo b/tests/xtro-sharpie/iOS-SceneKit.todo deleted file mode 100644 index 84fbc6287877..000000000000 --- a/tests/xtro-sharpie/iOS-SceneKit.todo +++ /dev/null @@ -1,71 +0,0 @@ -!deprecated-attribute-missing! SCNView::eaglContext missing a [Deprecated] attribute -!deprecated-attribute-missing! SCNView::setEaglContext: missing a [Deprecated] attribute -!missing-enum! SCNLightAreaType not bound -!missing-enum! SCNLightProbeType not bound -!missing-enum! SCNLightProbeUpdateType not bound -!missing-field! SCNHitTestOptionIgnoreLightArea not bound -!missing-field! SCNLightingModelShadowOnly not bound -!missing-field! SCNLightTypeArea not bound -!missing-protocol-member! SCNSceneRenderer::currentViewport not found -!missing-protocol-member! SCNSceneRenderer::isTemporalAntialiasingEnabled not found -!missing-protocol-member! SCNSceneRenderer::setTemporalAntialiasingEnabled: not found -!missing-protocol-member! SCNSceneRenderer::setUsesReverseZ: not found -!missing-protocol-member! SCNSceneRenderer::usesReverseZ not found -!missing-selector! SCNCamera::bloomIterationCount not bound -!missing-selector! SCNCamera::bloomIterationSpread not bound -!missing-selector! SCNCamera::grainIntensity not bound -!missing-selector! SCNCamera::grainIsColored not bound -!missing-selector! SCNCamera::grainScale not bound -!missing-selector! SCNCamera::projectionTransformWithViewportSize: not bound -!missing-selector! SCNCamera::setBloomIterationCount: not bound -!missing-selector! SCNCamera::setBloomIterationSpread: not bound -!missing-selector! SCNCamera::setGrainIntensity: not bound -!missing-selector! SCNCamera::setGrainIsColored: not bound -!missing-selector! SCNCamera::setGrainScale: not bound -!missing-selector! SCNCamera::setWhiteBalanceTemperature: not bound -!missing-selector! SCNCamera::setWhiteBalanceTint: not bound -!missing-selector! SCNCamera::whiteBalanceTemperature not bound -!missing-selector! SCNCamera::whiteBalanceTint not bound -!missing-selector! SCNHitTestResult::simdLocalCoordinates not bound -!missing-selector! SCNHitTestResult::simdLocalNormal not bound -!missing-selector! SCNHitTestResult::simdModelTransform not bound -!missing-selector! SCNHitTestResult::simdWorldCoordinates not bound -!missing-selector! SCNHitTestResult::simdWorldNormal not bound -!missing-selector! SCNLight::areaExtents not bound -!missing-selector! SCNLight::areaPolygonVertices not bound -!missing-selector! SCNLight::areaType not bound -!missing-selector! SCNLight::doubleSided not bound -!missing-selector! SCNLight::drawsArea not bound -!missing-selector! SCNLight::parallaxCenterOffset not bound -!missing-selector! SCNLight::parallaxCorrectionEnabled not bound -!missing-selector! SCNLight::parallaxExtentsFactor not bound -!missing-selector! SCNLight::probeEnvironment not bound -!missing-selector! SCNLight::probeExtents not bound -!missing-selector! SCNLight::probeOffset not bound -!missing-selector! SCNLight::probeType not bound -!missing-selector! SCNLight::probeUpdateType not bound -!missing-selector! SCNLight::setAreaExtents: not bound -!missing-selector! SCNLight::setAreaPolygonVertices: not bound -!missing-selector! SCNLight::setAreaType: not bound -!missing-selector! SCNLight::setDoubleSided: not bound -!missing-selector! SCNLight::setDrawsArea: not bound -!missing-selector! SCNLight::setParallaxCenterOffset: not bound -!missing-selector! SCNLight::setParallaxCorrectionEnabled: not bound -!missing-selector! SCNLight::setParallaxExtentsFactor: not bound -!missing-selector! SCNLight::setProbeExtents: not bound -!missing-selector! SCNLight::setProbeOffset: not bound -!missing-selector! SCNLight::setProbeType: not bound -!missing-selector! SCNLight::setProbeUpdateType: not bound -!missing-selector! SCNMaterial::clearCoat not bound -!missing-selector! SCNMaterial::clearCoatNormal not bound -!missing-selector! SCNMaterial::clearCoatRoughness not bound -!missing-selector! SCNScene::screenSpaceReflectionMaximumDistance not bound -!missing-selector! SCNScene::screenSpaceReflectionSampleCount not bound -!missing-selector! SCNScene::screenSpaceReflectionStride not bound -!missing-selector! SCNScene::setScreenSpaceReflectionMaximumDistance: not bound -!missing-selector! SCNScene::setScreenSpaceReflectionSampleCount: not bound -!missing-selector! SCNScene::setScreenSpaceReflectionStride: not bound -!missing-selector! SCNScene::setWantsScreenSpaceReflection: not bound -!missing-selector! SCNScene::wantsScreenSpaceReflection not bound -!missing-selector! SCNTechnique::library not bound -!missing-selector! SCNTechnique::setLibrary: not bound diff --git a/tests/xtro-sharpie/macOS-SceneKit.todo b/tests/xtro-sharpie/macOS-SceneKit.todo deleted file mode 100644 index 87471994f4de..000000000000 --- a/tests/xtro-sharpie/macOS-SceneKit.todo +++ /dev/null @@ -1,76 +0,0 @@ -!deprecated-attribute-missing! SCNLayer missing a [Deprecated] attribute -!deprecated-attribute-missing! SCNView::openGLContext missing a [Deprecated] attribute -!deprecated-attribute-missing! SCNView::pixelFormat missing a [Deprecated] attribute -!deprecated-attribute-missing! SCNView::setOpenGLContext: missing a [Deprecated] attribute -!deprecated-attribute-missing! SCNView::setPixelFormat: missing a [Deprecated] attribute -!missing-enum! SCNLightAreaType not bound -!missing-enum! SCNLightProbeType not bound -!missing-enum! SCNLightProbeUpdateType not bound -!missing-field! SCNHitTestOptionIgnoreLightArea not bound -!missing-field! SCNLightingModelShadowOnly not bound -!missing-field! SCNLightTypeArea not bound -!missing-protocol-member! SCNSceneRenderer::currentViewport not found -!missing-protocol-member! SCNSceneRenderer::isTemporalAntialiasingEnabled not found -!missing-protocol-member! SCNSceneRenderer::setTemporalAntialiasingEnabled: not found -!missing-protocol-member! SCNSceneRenderer::setUsesReverseZ: not found -!missing-protocol-member! SCNSceneRenderer::usesReverseZ not found -!missing-selector! SCNCamera::bloomIterationCount not bound -!missing-selector! SCNCamera::bloomIterationSpread not bound -!missing-selector! SCNCamera::grainIntensity not bound -!missing-selector! SCNCamera::grainIsColored not bound -!missing-selector! SCNCamera::grainScale not bound -!missing-selector! SCNCamera::projectionTransformWithViewportSize: not bound -!missing-selector! SCNCamera::setBloomIterationCount: not bound -!missing-selector! SCNCamera::setBloomIterationSpread: not bound -!missing-selector! SCNCamera::setGrainIntensity: not bound -!missing-selector! SCNCamera::setGrainIsColored: not bound -!missing-selector! SCNCamera::setGrainScale: not bound -!missing-selector! SCNCamera::setWhiteBalanceTemperature: not bound -!missing-selector! SCNCamera::setWhiteBalanceTint: not bound -!missing-selector! SCNCamera::whiteBalanceTemperature not bound -!missing-selector! SCNCamera::whiteBalanceTint not bound -!missing-selector! SCNHitTestResult::simdLocalCoordinates not bound -!missing-selector! SCNHitTestResult::simdLocalNormal not bound -!missing-selector! SCNHitTestResult::simdModelTransform not bound -!missing-selector! SCNHitTestResult::simdWorldCoordinates not bound -!missing-selector! SCNHitTestResult::simdWorldNormal not bound -!missing-selector! SCNLight::areaExtents not bound -!missing-selector! SCNLight::areaPolygonVertices not bound -!missing-selector! SCNLight::areaType not bound -!missing-selector! SCNLight::doubleSided not bound -!missing-selector! SCNLight::drawsArea not bound -!missing-selector! SCNLight::parallaxCenterOffset not bound -!missing-selector! SCNLight::parallaxCorrectionEnabled not bound -!missing-selector! SCNLight::parallaxExtentsFactor not bound -!missing-selector! SCNLight::probeEnvironment not bound -!missing-selector! SCNLight::probeExtents not bound -!missing-selector! SCNLight::probeOffset not bound -!missing-selector! SCNLight::probeType not bound -!missing-selector! SCNLight::probeUpdateType not bound -!missing-selector! SCNLight::setAreaExtents: not bound -!missing-selector! SCNLight::setAreaPolygonVertices: not bound -!missing-selector! SCNLight::setAreaType: not bound -!missing-selector! SCNLight::setDoubleSided: not bound -!missing-selector! SCNLight::setDrawsArea: not bound -!missing-selector! SCNLight::setParallaxCenterOffset: not bound -!missing-selector! SCNLight::setParallaxCorrectionEnabled: not bound -!missing-selector! SCNLight::setParallaxExtentsFactor: not bound -!missing-selector! SCNLight::setProbeExtents: not bound -!missing-selector! SCNLight::setProbeOffset: not bound -!missing-selector! SCNLight::setProbeType: not bound -!missing-selector! SCNLight::setProbeUpdateType: not bound -!missing-selector! SCNMaterial::clearCoat not bound -!missing-selector! SCNMaterial::clearCoatNormal not bound -!missing-selector! SCNMaterial::clearCoatRoughness not bound -!missing-selector! SCNScene::screenSpaceReflectionMaximumDistance not bound -!missing-selector! SCNScene::screenSpaceReflectionSampleCount not bound -!missing-selector! SCNScene::screenSpaceReflectionStride not bound -!missing-selector! SCNScene::setScreenSpaceReflectionMaximumDistance: not bound -!missing-selector! SCNScene::setScreenSpaceReflectionSampleCount: not bound -!missing-selector! SCNScene::setScreenSpaceReflectionStride: not bound -!missing-selector! SCNScene::setWantsScreenSpaceReflection: not bound -!missing-selector! SCNScene::wantsScreenSpaceReflection not bound -!missing-selector! SCNTechnique::library not bound -!missing-selector! SCNTechnique::setLibrary: not bound -!missing-selector! SCNView::drawableResizesAsynchronously not bound -!missing-selector! SCNView::setDrawableResizesAsynchronously: not bound diff --git a/tests/xtro-sharpie/tvOS-SceneKit.todo b/tests/xtro-sharpie/tvOS-SceneKit.todo deleted file mode 100644 index 84fbc6287877..000000000000 --- a/tests/xtro-sharpie/tvOS-SceneKit.todo +++ /dev/null @@ -1,71 +0,0 @@ -!deprecated-attribute-missing! SCNView::eaglContext missing a [Deprecated] attribute -!deprecated-attribute-missing! SCNView::setEaglContext: missing a [Deprecated] attribute -!missing-enum! SCNLightAreaType not bound -!missing-enum! SCNLightProbeType not bound -!missing-enum! SCNLightProbeUpdateType not bound -!missing-field! SCNHitTestOptionIgnoreLightArea not bound -!missing-field! SCNLightingModelShadowOnly not bound -!missing-field! SCNLightTypeArea not bound -!missing-protocol-member! SCNSceneRenderer::currentViewport not found -!missing-protocol-member! SCNSceneRenderer::isTemporalAntialiasingEnabled not found -!missing-protocol-member! SCNSceneRenderer::setTemporalAntialiasingEnabled: not found -!missing-protocol-member! SCNSceneRenderer::setUsesReverseZ: not found -!missing-protocol-member! SCNSceneRenderer::usesReverseZ not found -!missing-selector! SCNCamera::bloomIterationCount not bound -!missing-selector! SCNCamera::bloomIterationSpread not bound -!missing-selector! SCNCamera::grainIntensity not bound -!missing-selector! SCNCamera::grainIsColored not bound -!missing-selector! SCNCamera::grainScale not bound -!missing-selector! SCNCamera::projectionTransformWithViewportSize: not bound -!missing-selector! SCNCamera::setBloomIterationCount: not bound -!missing-selector! SCNCamera::setBloomIterationSpread: not bound -!missing-selector! SCNCamera::setGrainIntensity: not bound -!missing-selector! SCNCamera::setGrainIsColored: not bound -!missing-selector! SCNCamera::setGrainScale: not bound -!missing-selector! SCNCamera::setWhiteBalanceTemperature: not bound -!missing-selector! SCNCamera::setWhiteBalanceTint: not bound -!missing-selector! SCNCamera::whiteBalanceTemperature not bound -!missing-selector! SCNCamera::whiteBalanceTint not bound -!missing-selector! SCNHitTestResult::simdLocalCoordinates not bound -!missing-selector! SCNHitTestResult::simdLocalNormal not bound -!missing-selector! SCNHitTestResult::simdModelTransform not bound -!missing-selector! SCNHitTestResult::simdWorldCoordinates not bound -!missing-selector! SCNHitTestResult::simdWorldNormal not bound -!missing-selector! SCNLight::areaExtents not bound -!missing-selector! SCNLight::areaPolygonVertices not bound -!missing-selector! SCNLight::areaType not bound -!missing-selector! SCNLight::doubleSided not bound -!missing-selector! SCNLight::drawsArea not bound -!missing-selector! SCNLight::parallaxCenterOffset not bound -!missing-selector! SCNLight::parallaxCorrectionEnabled not bound -!missing-selector! SCNLight::parallaxExtentsFactor not bound -!missing-selector! SCNLight::probeEnvironment not bound -!missing-selector! SCNLight::probeExtents not bound -!missing-selector! SCNLight::probeOffset not bound -!missing-selector! SCNLight::probeType not bound -!missing-selector! SCNLight::probeUpdateType not bound -!missing-selector! SCNLight::setAreaExtents: not bound -!missing-selector! SCNLight::setAreaPolygonVertices: not bound -!missing-selector! SCNLight::setAreaType: not bound -!missing-selector! SCNLight::setDoubleSided: not bound -!missing-selector! SCNLight::setDrawsArea: not bound -!missing-selector! SCNLight::setParallaxCenterOffset: not bound -!missing-selector! SCNLight::setParallaxCorrectionEnabled: not bound -!missing-selector! SCNLight::setParallaxExtentsFactor: not bound -!missing-selector! SCNLight::setProbeExtents: not bound -!missing-selector! SCNLight::setProbeOffset: not bound -!missing-selector! SCNLight::setProbeType: not bound -!missing-selector! SCNLight::setProbeUpdateType: not bound -!missing-selector! SCNMaterial::clearCoat not bound -!missing-selector! SCNMaterial::clearCoatNormal not bound -!missing-selector! SCNMaterial::clearCoatRoughness not bound -!missing-selector! SCNScene::screenSpaceReflectionMaximumDistance not bound -!missing-selector! SCNScene::screenSpaceReflectionSampleCount not bound -!missing-selector! SCNScene::screenSpaceReflectionStride not bound -!missing-selector! SCNScene::setScreenSpaceReflectionMaximumDistance: not bound -!missing-selector! SCNScene::setScreenSpaceReflectionSampleCount: not bound -!missing-selector! SCNScene::setScreenSpaceReflectionStride: not bound -!missing-selector! SCNScene::setWantsScreenSpaceReflection: not bound -!missing-selector! SCNScene::wantsScreenSpaceReflection not bound -!missing-selector! SCNTechnique::library not bound -!missing-selector! SCNTechnique::setLibrary: not bound diff --git a/tests/xtro-sharpie/watchOS-SceneKit.ignore b/tests/xtro-sharpie/watchOS-SceneKit.ignore index 4966cb315df8..d950d5de3125 100644 --- a/tests/xtro-sharpie/watchOS-SceneKit.ignore +++ b/tests/xtro-sharpie/watchOS-SceneKit.ignore @@ -9,3 +9,6 @@ !missing-selector! SCNNode::rendererDelegate not bound !missing-selector! SCNNode::setRendererDelegate: not bound !missing-selector! SCNTechnique::handleBindingOfSymbol:usingBlock: not bound + +## obsoleted (removed from headers) in watchOS 6 +!extra-protocol-member! unexpected selector SCNSceneRenderer::context found \ No newline at end of file diff --git a/tests/xtro-sharpie/watchOS-SceneKit.todo b/tests/xtro-sharpie/watchOS-SceneKit.todo deleted file mode 100644 index 2487f850c3b8..000000000000 --- a/tests/xtro-sharpie/watchOS-SceneKit.todo +++ /dev/null @@ -1,68 +0,0 @@ -!extra-protocol-member! unexpected selector SCNSceneRenderer::context found -!missing-enum! SCNLightAreaType not bound -!missing-enum! SCNLightProbeType not bound -!missing-enum! SCNLightProbeUpdateType not bound -!missing-field! SCNHitTestOptionIgnoreLightArea not bound -!missing-field! SCNLightingModelShadowOnly not bound -!missing-field! SCNLightTypeArea not bound -!missing-protocol-member! SCNSceneRenderer::currentViewport not found -!missing-protocol-member! SCNSceneRenderer::isTemporalAntialiasingEnabled not found -!missing-protocol-member! SCNSceneRenderer::setTemporalAntialiasingEnabled: not found -!missing-protocol-member! SCNSceneRenderer::setUsesReverseZ: not found -!missing-protocol-member! SCNSceneRenderer::usesReverseZ not found -!missing-selector! SCNCamera::bloomIterationCount not bound -!missing-selector! SCNCamera::bloomIterationSpread not bound -!missing-selector! SCNCamera::grainIntensity not bound -!missing-selector! SCNCamera::grainIsColored not bound -!missing-selector! SCNCamera::grainScale not bound -!missing-selector! SCNCamera::projectionTransformWithViewportSize: not bound -!missing-selector! SCNCamera::setBloomIterationCount: not bound -!missing-selector! SCNCamera::setBloomIterationSpread: not bound -!missing-selector! SCNCamera::setGrainIntensity: not bound -!missing-selector! SCNCamera::setGrainIsColored: not bound -!missing-selector! SCNCamera::setGrainScale: not bound -!missing-selector! SCNCamera::setWhiteBalanceTemperature: not bound -!missing-selector! SCNCamera::setWhiteBalanceTint: not bound -!missing-selector! SCNCamera::whiteBalanceTemperature not bound -!missing-selector! SCNCamera::whiteBalanceTint not bound -!missing-selector! SCNHitTestResult::simdLocalCoordinates not bound -!missing-selector! SCNHitTestResult::simdLocalNormal not bound -!missing-selector! SCNHitTestResult::simdModelTransform not bound -!missing-selector! SCNHitTestResult::simdWorldCoordinates not bound -!missing-selector! SCNHitTestResult::simdWorldNormal not bound -!missing-selector! SCNLight::areaExtents not bound -!missing-selector! SCNLight::areaPolygonVertices not bound -!missing-selector! SCNLight::areaType not bound -!missing-selector! SCNLight::doubleSided not bound -!missing-selector! SCNLight::drawsArea not bound -!missing-selector! SCNLight::parallaxCenterOffset not bound -!missing-selector! SCNLight::parallaxCorrectionEnabled not bound -!missing-selector! SCNLight::parallaxExtentsFactor not bound -!missing-selector! SCNLight::probeEnvironment not bound -!missing-selector! SCNLight::probeExtents not bound -!missing-selector! SCNLight::probeOffset not bound -!missing-selector! SCNLight::probeType not bound -!missing-selector! SCNLight::probeUpdateType not bound -!missing-selector! SCNLight::setAreaExtents: not bound -!missing-selector! SCNLight::setAreaPolygonVertices: not bound -!missing-selector! SCNLight::setAreaType: not bound -!missing-selector! SCNLight::setDoubleSided: not bound -!missing-selector! SCNLight::setDrawsArea: not bound -!missing-selector! SCNLight::setParallaxCenterOffset: not bound -!missing-selector! SCNLight::setParallaxCorrectionEnabled: not bound -!missing-selector! SCNLight::setParallaxExtentsFactor: not bound -!missing-selector! SCNLight::setProbeExtents: not bound -!missing-selector! SCNLight::setProbeOffset: not bound -!missing-selector! SCNLight::setProbeType: not bound -!missing-selector! SCNLight::setProbeUpdateType: not bound -!missing-selector! SCNMaterial::clearCoat not bound -!missing-selector! SCNMaterial::clearCoatNormal not bound -!missing-selector! SCNMaterial::clearCoatRoughness not bound -!missing-selector! SCNScene::screenSpaceReflectionMaximumDistance not bound -!missing-selector! SCNScene::screenSpaceReflectionSampleCount not bound -!missing-selector! SCNScene::screenSpaceReflectionStride not bound -!missing-selector! SCNScene::setScreenSpaceReflectionMaximumDistance: not bound -!missing-selector! SCNScene::setScreenSpaceReflectionSampleCount: not bound -!missing-selector! SCNScene::setScreenSpaceReflectionStride: not bound -!missing-selector! SCNScene::setWantsScreenSpaceReflection: not bound -!missing-selector! SCNScene::wantsScreenSpaceReflection not bound