sync
This commit is contained in:
parent
392791caf8
commit
33111148d2
2
.gitignore
vendored
2
.gitignore
vendored
@ -56,3 +56,5 @@ crashlytics-build.properties
|
|||||||
|
|
||||||
TJURP_BurstDebugInformation_DoNotShip/
|
TJURP_BurstDebugInformation_DoNotShip/
|
||||||
UserSettings/
|
UserSettings/
|
||||||
|
|
||||||
|
**/.DS_Store
|
||||||
8
Assets/Plugins/iOS.meta
Normal file
8
Assets/Plugins/iOS.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: DigdsiypBntkIGjYWr/lNCnMHSLZ68PUXpepr1/9PL0GHp8HjiLc37A=
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Plugins/iOS/libGfxPluginNativeRender.a
Normal file
BIN
Assets/Plugins/iOS/libGfxPluginNativeRender.a
Normal file
Binary file not shown.
73
Assets/Plugins/iOS/libGfxPluginNativeRender.a.meta
Normal file
73
Assets/Plugins/iOS/libGfxPluginNativeRender.a.meta
Normal file
@ -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:
|
||||||
@ -7,28 +7,28 @@ namespace X.Rendering.Feature
|
|||||||
{
|
{
|
||||||
public static class RenderingPlugin
|
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")]
|
[DllImport("__Internal")]
|
||||||
#else
|
#else
|
||||||
[DllImport("GfxPluginNativeRender")]
|
[DllImport("GfxPluginNativeRender")]
|
||||||
#endif
|
#endif
|
||||||
public static extern void SetTimeFromUnity(float t);
|
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")]
|
[DllImport("__Internal")]
|
||||||
#else
|
#else
|
||||||
[DllImport("GfxPluginNativeRender")]
|
[DllImport("GfxPluginNativeRender")]
|
||||||
#endif
|
#endif
|
||||||
public static extern IntPtr GetRenderEventAndDataFunc();
|
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")]
|
[DllImport("__Internal")]
|
||||||
#else
|
#else
|
||||||
[DllImport("GfxPluginNativeRender")]
|
[DllImport("GfxPluginNativeRender")]
|
||||||
#endif
|
#endif
|
||||||
private static extern bool GetFeatureSupport(int feature);
|
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")]
|
[DllImport("__Internal")]
|
||||||
#else
|
#else
|
||||||
[DllImport("GfxPluginNativeRender")]
|
[DllImport("GfxPluginNativeRender")]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user