fix marco
This commit is contained in:
parent
3ccfaf4dc7
commit
baca7740d4
@ -7,35 +7,35 @@ namespace X.Rendering.Feature
|
||||
{
|
||||
public static class RenderingPlugin
|
||||
{
|
||||
#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || PLATFORM_SWITCH) && !UNITY_EDITOR
|
||||
#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX) && !UNITY_EDITOR
|
||||
[DllImport("__Internal")]
|
||||
#else
|
||||
[DllImport("GfxPluginNativeRender")]
|
||||
#endif
|
||||
public static extern void SetTimeFromUnity(float t);
|
||||
|
||||
#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || PLATFORM_SWITCH) && !UNITY_EDITOR
|
||||
#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX) && !UNITY_EDITOR
|
||||
[DllImport("__Internal")]
|
||||
#else
|
||||
[DllImport("GfxPluginNativeRender")]
|
||||
#endif
|
||||
public static extern IntPtr GetRenderEventAndDataFunc();
|
||||
|
||||
#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || PLATFORM_SWITCH) && !UNITY_EDITOR
|
||||
#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX) && !UNITY_EDITOR
|
||||
[DllImport("__Internal")]
|
||||
#else
|
||||
[DllImport("GfxPluginNativeRender")]
|
||||
#endif
|
||||
private static extern bool GetFeatureSupport(int feature);
|
||||
|
||||
#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || PLATFORM_SWITCH) && !UNITY_EDITOR
|
||||
#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX) && !UNITY_EDITOR
|
||||
[DllImport("__Internal")]
|
||||
#else
|
||||
[DllImport("GfxPluginNativeRender")]
|
||||
#endif
|
||||
public static extern bool GetInputResolution(int outw, int outh, int quality,ref int width, ref int height);
|
||||
|
||||
//#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || PLATFORM_SWITCH) && !UNITY_EDITOR
|
||||
public static extern bool GetInputResolution(int outw, int outh, int quality, ref int width, ref int height);
|
||||
|
||||
//#if (PLATFORM_IOS || PLATFORM_TVOS || PLATFORM_BRATWURST || UNITY_STANDALONE_OSX) && !UNITY_EDITOR
|
||||
// [DllImport("__Internal")]
|
||||
//#else
|
||||
// [DllImport("GfxPluginNativeRender")]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user