private static extern Matrix ovrMatrix4f_Projection(FovPort fov, float znear, float zfar, bool rightHanded);
public static Matrix MatrixProjection(FovPort fov, float znear, float zfar, bool rightHanded) { return(ovrMatrix4f_Projection(fov, znear, zfar, rightHanded)); }
private static extern EyeRenderDesc ovrHmd_GetRenderDesc(IntPtr hmd, EyeType eye, FovPort fov);
public static Matrix MatrixProjection(FovPort fov, float znear, float zfar, bool rightHanded) { return ovrMatrix4f_Projection(fov, znear, zfar, rightHanded); }
public EyeRenderDesc GetRenderDesc(EyeType eye, FovPort fov) { return(ovrHmd_GetRenderDesc(this._hmd, eye, fov)); }
private static extern Size2 ovrHmd_GetFovTextureSize(IntPtr hmd, EyeType eye, FovPort fov, float pixelsPerDisplayPixel);
public Size2 GetFovTextureSize(EyeType eye, FovPort fov, float pixelsPerDisplayPixel) { return(ovrHmd_GetFovTextureSize(this._hmd, eye, fov, pixelsPerDisplayPixel)); }
private static unsafe extern bool ovrHmd_ConfigureRendering(IntPtr hmd, D3D11ConfigData* apiConfig, DistortionCapabilities distortionCaps, FovPort[] eyeFovIn, EyeRenderDesc* eyeRenderDescOut);
public EyeRenderDesc GetRenderDesc(EyeType eye, FovPort fov) { return ovrHmd_GetRenderDesc(this._hmd, eye, fov); }
public Size2 GetFovTextureSize(EyeType eye, FovPort fov, float pixelsPerDisplayPixel) { return ovrHmd_GetFovTextureSize(this._hmd, eye, fov, pixelsPerDisplayPixel); }
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); } }