示例#1
0
文件: HMD.cs 项目: maral/Extensions
 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));
     }
 }
示例#2
0
 private static unsafe extern bool ovrHmd_ConfigureRendering(IntPtr hmd, D3D11ConfigData* apiConfig, DistortionCapabilities distortionCaps, FovPort[] eyeFovIn, EyeRenderDesc* eyeRenderDescOut);
示例#3
0
文件: HMD.cs 项目: maral/Extensions
 private static extern unsafe bool ovrHmd_ConfigureRendering(IntPtr hmd, D3D11ConfigData *apiConfig, DistortionCapabilities distortionCaps, FovPort[] eyeFovIn, EyeRenderDesc *eyeRenderDescOut);
示例#4
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);
     }
 }