//TODO: ovrHmd_ConfigureRendering(). public ovrEyeRenderDesc? ConfigureRendering(ovrEyeDesc[] eyeDescIn, uint distortionCaps) { ovrEyeRenderDesc[] eyeRenderDesc = new ovrEyeRenderDesc[] { new ovrEyeRenderDesc(), new ovrEyeRenderDesc() }; ovrRenderAPIConfig renderAPIConfig = new ovrRenderAPIConfig(); if (ovrHmd_ConfigureRendering(HmdPtr, renderAPIConfig, distortionCaps, eyeDescIn, eyeRenderDesc)) return eyeRenderDesc; return null; }
private static extern bool ovrHmd_ConfigureRendering(IntPtr hmd, ref ovrRenderAPIConfig apiConfig, uint distortionCaps, ovrFovPort[] eyeFovIn, ovrEyeRenderDesc[] eyeRenderDescOut);