Package org.lwjgl.ovr

Class OVRLayerEyeFovMultires

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

public class OVRLayerEyeFovMultires extends org.lwjgl.system.Struct<OVRLayerEyeFovMultires> implements org.lwjgl.system.NativeResource
Describes a layer that specifies a monoscopic or stereoscopic view with support for optional multiresolution textures. This struct is the same as OVRLayerEyeFov plus texture layout parameters.

Three options exist with respect to mono/stereo texture usage:

  • ColorTexture[0] and ColorTexture[1] contain the left and right stereo renderings, respectively. Viewport[0] and Viewport[1] refer to ColorTexture[0] and ColorTexture[1], respectively.
  • ColorTexture[0] contains both the left and right renderings, ColorTexture[1] is NULL, and Viewport[0] and Viewport[1] refer to sub-rects with ColorTexture[0].
  • ColorTexture[0] contains a single monoscopic rendering, and Viewport[0] and Viewport[1] both refer to that rendering.

Layout


 struct ovrLayerEyeFovMultires {
     ovrLayerHeader Header();
     ovrTextureSwapChain ColorTexture()[ovrEye_Count];
     ovrRecti Viewport()[ovrEye_Count];
     ovrFovPort Fov()[ovrEye_Count];
     ovrPosef RenderPose()[ovrEye_Count];
     double SensorSampleTime();
     ovrTextureLayout TextureLayout();
     ovrTextureLayoutDesc_Union TextureLayoutDesc();
 }