예제 #1
0
 private static extern Matrix ovrMatrix4f_Projection(FovPort fov, float znear, float zfar, bool rightHanded);
예제 #2
0
 private static extern Matrix ovrMatrix4f_Projection(FovPort fov, float znear, float zfar, bool rightHanded);
예제 #3
0
 public static Matrix MatrixProjection(FovPort fov, float znear, float zfar, bool rightHanded)
 {
     return(ovrMatrix4f_Projection(fov, znear, zfar, rightHanded));
 }
예제 #4
0
파일: HMD.cs 프로젝트: maral/Extensions
 private static extern EyeRenderDesc ovrHmd_GetRenderDesc(IntPtr hmd, EyeType eye, FovPort fov);
예제 #5
0
 public static Matrix MatrixProjection(FovPort fov, float znear, float zfar, bool rightHanded)
 {
     return ovrMatrix4f_Projection(fov, znear, zfar, rightHanded);
 }
예제 #6
0
파일: HMD.cs 프로젝트: maral/Extensions
 public EyeRenderDesc GetRenderDesc(EyeType eye, FovPort fov)
 {
     return(ovrHmd_GetRenderDesc(this._hmd, eye, fov));
 }
예제 #7
0
파일: HMD.cs 프로젝트: maral/Extensions
 private static extern Size2 ovrHmd_GetFovTextureSize(IntPtr hmd, EyeType eye, FovPort fov, float pixelsPerDisplayPixel);
예제 #8
0
 private static extern EyeRenderDesc ovrHmd_GetRenderDesc(IntPtr hmd, EyeType eye, FovPort fov);
예제 #9
0
파일: HMD.cs 프로젝트: maral/Extensions
 public Size2 GetFovTextureSize(EyeType eye, FovPort fov, float pixelsPerDisplayPixel)
 {
     return(ovrHmd_GetFovTextureSize(this._hmd, eye, fov, pixelsPerDisplayPixel));
 }
예제 #10
0
 private static extern Size2 ovrHmd_GetFovTextureSize(IntPtr hmd, EyeType eye, FovPort fov, float pixelsPerDisplayPixel);
예제 #11
0
 private static unsafe extern bool ovrHmd_ConfigureRendering(IntPtr hmd, D3D11ConfigData* apiConfig, DistortionCapabilities distortionCaps, FovPort[] eyeFovIn, EyeRenderDesc* eyeRenderDescOut);
예제 #12
0
 public EyeRenderDesc GetRenderDesc(EyeType eye, FovPort fov)
 {
     return ovrHmd_GetRenderDesc(this._hmd, eye, fov);
 }
예제 #13
0
 public Size2 GetFovTextureSize(EyeType eye, FovPort fov, float pixelsPerDisplayPixel)
 {
     return ovrHmd_GetFovTextureSize(this._hmd, eye, fov, pixelsPerDisplayPixel);
 }
예제 #14
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);
     }
 }