Beispiel #1
0
 private static unsafe extern bool ovrHmd_ConfigureRendering(IntPtr hmd, D3D11ConfigData* apiConfig, DistortionCapabilities distortionCaps, FovPort[] eyeFovIn, EyeRenderDesc* eyeRenderDescOut);
Beispiel #2
0
 public unsafe bool ConfigureRendering(D3D11ConfigData apiConfig, DistortionCapabilities distortionCaps, FovPort[] eyeFovIn, EyeRenderDesc[] eyeRenderDescOut)
 {
     fixed (EyeRenderDesc* descRef = eyeRenderDescOut)
     {
         return ovrHmd_ConfigureRendering(this._hmd, &apiConfig, distortionCaps, eyeFovIn, descRef);
     }
 }