Class VRExtendedDisplay

java.lang.Object
org.lwjgl.openvr.VRExtendedDisplay

public class VRExtendedDisplay extends Object
  • Method Details

    • nVRExtendedDisplay_GetWindowBounds

      public static void nVRExtendedDisplay_GetWindowBounds(long pnX, long pnY, long pnWidth, long pnHeight)
      Unsafe version of: GetWindowBounds
    • VRExtendedDisplay_GetWindowBounds

      public static void VRExtendedDisplay_GetWindowBounds(IntBuffer pnX, IntBuffer pnY, IntBuffer pnWidth, IntBuffer pnHeight)
      Size and position that the window needs to be on the VR display.
    • nVRExtendedDisplay_GetEyeOutputViewport

      public static void nVRExtendedDisplay_GetEyeOutputViewport(int eEye, long pnX, long pnY, long pnWidth, long pnHeight)
      Unsafe version of: GetEyeOutputViewport
    • VRExtendedDisplay_GetEyeOutputViewport

      public static void VRExtendedDisplay_GetEyeOutputViewport(int eEye, IntBuffer pnX, IntBuffer pnY, IntBuffer pnWidth, IntBuffer pnHeight)
      Gets the viewport in the frame buffer to draw the output of the distortion into.
    • nVRExtendedDisplay_GetDXGIOutputInfo

      public static void nVRExtendedDisplay_GetDXGIOutputInfo(long pnAdapterIndex, long pnAdapterOutputIndex)
      Unsafe version of: GetDXGIOutputInfo
    • VRExtendedDisplay_GetDXGIOutputInfo

      public static void VRExtendedDisplay_GetDXGIOutputInfo(IntBuffer pnAdapterIndex, IntBuffer pnAdapterOutputIndex)

      D3D10/11 Only

      Returns the adapter index and output index that the user should pass into EnumAdapters and EnumOutputs to create the device and swap chain in DX10 and DX11. If an error occurs both indices will be set to -1.