Package org.lwjgl.ovr

Class OVREyeRenderDesc

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class OVREyeRenderDesc
    extends Struct
    implements NativeResource
    rendering information for each eye. Computed by either GetRenderDesc based on the specified FOV. Note that the rendering viewport is not included here as it can be specified separately and modified per frame by passing different viewport values in the layer structure.

    Member documentation

    • Eye – the eye index this instance corresponds to. One of:
      Eye_LeftEye_Right
    • Fov – the field of view
    • DistortedViewport – distortion viewport
    • PixelsPerTanAngleAtCenter – wow many display pixels will fit in tan(angle) = 1
    • HmdToEyePose – transform of eye from the HMD center, in meters

    Layout

    
     struct ovrEyeRenderDesc {
         ovrEyeType Eye;
         ovrFovPort Fov;
         ovrRecti DistortedViewport;
         ovrVector2f PixelsPerTanAngleAtCenter;
         ovrPosef HmdToEyePose;
     }