Package org.lwjgl.ovr

Class OVRLayerEyeFov

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<OVRLayerEyeFov>
org.lwjgl.ovr.OVRLayerEyeFov
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class OVRLayerEyeFov extends org.lwjgl.system.Struct<OVRLayerEyeFov> implements org.lwjgl.system.NativeResource
Describes a layer that specifies a monoscopic or stereoscopic view. This is the kind of layer that's typically used as layer 0 to SubmitFrame, as it is the kind of layer used to render a 3D stereoscopic view.

Layout


 struct ovrLayerEyeFov {
     ovrLayerHeader Header();
     ovrTextureSwapChain ColorTexture()[ovrEye_Count];
     ovrRecti Viewport()[ovrEye_Count];
     ovrFovPort Fov()[ovrEye_Count];
     ovrPosef RenderPose()[ovrEye_Count];
     double SensorSampleTime();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • COLORTEXTURE

      public static final int COLORTEXTURE
      The struct member offsets.
    • VIEWPORT

      public static final int VIEWPORT
      The struct member offsets.
    • FOV

      public static final int FOV
      The struct member offsets.
    • RENDERPOSE

      public static final int RENDERPOSE
      The struct member offsets.
    • SENSORSAMPLETIME

      public static final int SENSORSAMPLETIME
      The struct member offsets.
  • Constructor Details

    • OVRLayerEyeFov

      public OVRLayerEyeFov(ByteBuffer container)
      Creates a OVRLayerEyeFov instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details