Jump to content
 

Search the Community

Showing results for tags 'il2cpp'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • VIVE
    • Vive Community Forums
    • Vive Technical Support
    • Developer Forums

Blogs

  • Viveport Blog
  • Viveport Reviews
  • Viveport SDKs and Downloads
  • Developer Blog
  • Vive Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. To All, Here is the patch if you have encountered the issue that Foveated Rendering doesn't work when using IL2CPP builds. Attached the patch file. Modify the 2 files(Assets/WaveVR/Platform/WVR_Android.cs, Assets/WaveVR/Platform/wvr.cs b/plugin/Assets/WaveVR/Platform/wvr.cs). --- a/plugin/Assets/WaveVR/Platform/WVR_Android.cs +++ b/plugin/Assets/WaveVR/Platform/WVR_Android.cs @@ -520,8 +520,8 @@ public class WVR_Android : wvr.Interop.WVR_Base } [DllImportAttribute("wvr_api", EntryPoint = "WVR_PreRenderEye", CallingConvention = CallingConvention.Cdecl)] - public static extern void WVR_PreRenderEye_Android(WVR_Eye eye, [Out] WVR_TextureParams_t[] param, [Out] WVR_RenderFoveationParams[] foveationParams); - public override void PreRenderEye(WVR_Eye eye, [Out] WVR_TextureParams_t[] param, [Out] WVR_RenderFoveationParams[] foveationParams) + public static extern void WVR_PreRenderEye_Android(WVR_Eye eye, [In, Out] WVR_TextureParams_t[] param, [In, Out] WVR_RenderFoveationParams[] foveationParams); + public override void PreRenderEye(WVR_Eye eye, [In, Out] WVR_TextureParams_t[] param, [In, Out] WVR_RenderFoveationParams[] foveationParams) { WVR_PreRenderEye_Android(eye, param, foveationParams); } diff --git a/plugin/Assets/WaveVR/Platform/wvr.cs b/plugin/Assets/WaveVR/Platform/wvr.cs index 0c4a779..9529879 100644 --- a/plugin/Assets/WaveVR/Platform/wvr.cs +++ b/plugin/Assets/WaveVR/Platform/wvr.cs @@ -1054,7 +1054,7 @@ namespace wvr return WVR_Base.Instance.SubmitFrame(eye, param, pose, extendMethod); } - public static void WVR_PreRenderEye(WVR_Eye eye, [Out] WVR_TextureParams_t[] param, [Out] WVR_RenderFoveationParams[] foveationParams) + public static void WVR_PreRenderEye(WVR_Eye eye, [In, Out] WVR_TextureParams_t[] param, [In, Out] WVR_RenderFoveationParams[] foveationParams) { WVR_Base.Instance.PreRenderEye(eye, param, foveationParams); } forveation.zip
×
×
  • Create New...