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