protected virtual void Dispose(bool disposing) { System.Diagnostics.Debug.WriteLine(String.Format("[OSVR] In Interface.Dispose({0})", disposing)); if (disposing) { if (mHandle != null && !mHandle.IsInvalid) { mHandle.Dispose(); mHandle = null; } } }
public extern static Byte osvrClientGetViewerEyeSurfaceProjectionClippingPlanes(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, SurfaceCount surface, out double left, out double right, out double bottom, out double top);
public extern static Byte osvrClientGetViewerEyeSurfaceDisplayInputIndex(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, SurfaceCount surface, out DisplayInputCount displayInput);
public extern static Byte osvrClientGetNumSurfacesForViewerEye(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, out SurfaceCount surfaces);
public extern static Byte osvrClientGetViewerEyePose(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, out Pose3 pose);
public extern static Byte osvrClientGetNumViewers(SafeDisplayConfigHandle display, out ViewerCount viewers);
public extern static Byte osvrClientGetNumDisplayInputs(SafeDisplayConfigHandle display, out DisplayInputCount numDisplayInputs);
public extern static Byte osvrClientCheckDisplayStartup(SafeDisplayConfigHandle context);
public extern static Byte osvrClientGetViewerEyeViewMatrixf(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, MatrixConventionsFlags flags, out Matrix44f mat);
public extern static Byte osvrClientGetNumEyesForViewer(SafeDisplayConfigHandle display, ViewerCount viewer, out EyeCount eyes);
public extern static Byte osvrClientGetDisplayDimensions(SafeDisplayConfigHandle display, DisplayInputCount displayInputIndex, out DisplayDimension width, out DisplayDimension height);
public extern static Byte osvrClientGetViewerEyeSurfaceRadialDistortionPriority(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, SurfaceCount surface, out DistortionPriority priority);
internal DisplayConfig(SafeDisplayConfigHandle handle) { mHandle = handle; }
public extern static Byte osvrClientGetRelativeViewportForViewerEyeSurface(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, SurfaceCount surface, out ViewportDimension left, out ViewportDimension bottom, out ViewportDimension width, out ViewportDimension height);
public extern static Byte osvrClientGetViewerEyeSurfaceProjectionMatrixf(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, SurfaceCount surface, float near, float far, MatrixConventionsFlags flags, out Matrix44f matrix);
public extern static Byte osvrClientDoesViewerEyeSurfaceWantDistortion(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, SurfaceCount surface, [MarshalAs(UnmanagedType.I1)] out bool distortionRequested);
public extern static Byte osvrClientGetViewerEyeSurfaceRadialDistortion(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, SurfaceCount surface, out RadialDistortionParameters distortionParams);
public extern static Byte osvrClientDoesViewerEyeSurfaceWantDistortion(SafeDisplayConfigHandle display, ViewerCount viewer, EyeCount eye, SurfaceCount surface, [MarshalAs(UnmanagedType.I1)]out bool distortionRequested);
public extern static Byte osvrClientGetDisplay(SafeClientContextHandle context, out SafeDisplayConfigHandle display);