diff --git a/.gitignore b/.gitignore index 127dfc5..b331511 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,5 @@ crashlytics-build.properties TJURP_BurstDebugInformation_DoNotShip/ UserSettings/ + +**/.DS_Store \ No newline at end of file diff --git a/Assets/Plugins/iOS.meta b/Assets/Plugins/iOS.meta new file mode 100644 index 0000000..d80b09f --- /dev/null +++ b/Assets/Plugins/iOS.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: DigdsiypBntkIGjYWr/lNCnMHSLZ68PUXpepr1/9PL0GHp8HjiLc37A= +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins/iOS/libGfxPluginNativeRender.a b/Assets/Plugins/iOS/libGfxPluginNativeRender.a new file mode 100644 index 0000000..e359f6a Binary files /dev/null and b/Assets/Plugins/iOS/libGfxPluginNativeRender.a differ diff --git a/Assets/Plugins/iOS/libGfxPluginNativeRender.a.meta b/Assets/Plugins/iOS/libGfxPluginNativeRender.a.meta new file mode 100644 index 0000000..df5f9c6 --- /dev/null +++ b/Assets/Plugins/iOS/libGfxPluginNativeRender.a.meta @@ -0,0 +1,73 @@ +fileFormatVersion: 2 +guid: XHlJsC2uB38xAIi0lDpkCshxqvlTjn8VMSnmslbwsBuz6ljxkThu6So= +PluginImporter: + externalObjects: {} + serializedVersion: 2 + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 1 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 1 + platformData: + - first: + : Any + second: + enabled: 0 + settings: + Exclude Editor: 1 + Exclude Linux64: 1 + Exclude OSXUniversal: 1 + Exclude Win: 1 + Exclude Win64: 1 + Exclude iOS: 0 + - first: + Any: + second: + enabled: 0 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + CPU: AnyCPU + DefaultValueInitialized: true + OS: AnyOS + - first: + Standalone: Linux64 + second: + enabled: 0 + settings: + CPU: AnyCPU + - first: + Standalone: OSXUniversal + second: + enabled: 0 + settings: + CPU: AnyCPU + - first: + Standalone: Win + second: + enabled: 0 + settings: + CPU: AnyCPU + - first: + Standalone: Win64 + second: + enabled: 0 + settings: + CPU: AnyCPU + - first: + iPhone: iOS + second: + enabled: 1 + settings: + AddToEmbeddedBinaries: false + CPU: ARM64 + CompileFlags: + FrameworkDependencies: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/com.unity.render-pipelines.universal@14.0.11/Runtime/SuperRendering/NatvieHelper/RenderingPlugin.cs b/Packages/com.unity.render-pipelines.universal@14.0.11/Runtime/SuperRendering/NatvieHelper/RenderingPlugin.cs index 9f4d953..add87df 100644 --- a/Packages/com.unity.render-pipelines.universal@14.0.11/Runtime/SuperRendering/NatvieHelper/RenderingPlugin.cs +++ b/Packages/com.unity.render-pipelines.universal@14.0.11/Runtime/SuperRendering/NatvieHelper/RenderingPlugin.cs @@ -7,28 +7,28 @@ namespace X.Rendering.Feature { public static class RenderingPlugin { -#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX) && !UNITY_EDITOR +#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX ) && (!UNITY_EDITOR || UNITY_EDITOR_OSX) [DllImport("__Internal")] #else [DllImport("GfxPluginNativeRender")] #endif public static extern void SetTimeFromUnity(float t); -#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX) && !UNITY_EDITOR +#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX ) && (!UNITY_EDITOR || UNITY_EDITOR_OSX) [DllImport("__Internal")] #else [DllImport("GfxPluginNativeRender")] #endif public static extern IntPtr GetRenderEventAndDataFunc(); -#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX) && !UNITY_EDITOR +#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX ) && (!UNITY_EDITOR || UNITY_EDITOR_OSX) [DllImport("__Internal")] #else [DllImport("GfxPluginNativeRender")] #endif private static extern bool GetFeatureSupport(int feature); -#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX) && !UNITY_EDITOR +#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX ) && (!UNITY_EDITOR || UNITY_EDITOR_OSX) [DllImport("__Internal")] #else [DllImport("GfxPluginNativeRender")]