Example #1
0
 /// <inheritdoc />
 public override EyeRenderDesc GetRenderDesc(IntPtr sessionPtr, EyeType eyeType, FovPort fov)
 {
     return(SafeNativeMethods.ovr_GetRenderDesc(sessionPtr, eyeType, fov));
 }
Example #2
0
 /// <inheritdoc />
 public override Matrix4f Matrix4f_Projection(FovPort fov, float zNear, float zFar, ProjectionModifier projectionModFlags)
 {
     return(SafeNativeMethods.ovrMatrix4f_Projection(fov, zNear, zFar, projectionModFlags));
 }
Example #3
0
 /// <inheritdoc />
 public override Sizei GetFovTextureSize(IntPtr sessionPtr, EyeType eye, FovPort fov, float pixelsPerDisplayPixel)
 {
     return(SafeNativeMethods.ovr_GetFovTextureSize(sessionPtr, eye, fov, pixelsPerDisplayPixel));
 }