Package org.lwjgl.ovr

Class OVRTimewarpProjectionDesc

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

public class OVRTimewarpProjectionDesc extends org.lwjgl.system.Struct<OVRTimewarpProjectionDesc> implements org.lwjgl.system.NativeResource
Projection information for OVRLayerEyeFovDepth.

Use the utility function TimewarpProjectionDesc_FromProjection to generate this structure from the application's projection matrix.

Layout


 struct ovrTimewarpProjectionDesc {
     float Projection22();
     float Projection23();
     float Projection32();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int PROJECTION22
      The struct member offsets.
    • PROJECTION23

      public static final int PROJECTION23
      The struct member offsets.
    • PROJECTION32

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

    • OVRTimewarpProjectionDesc

      public OVRTimewarpProjectionDesc(ByteBuffer container)
      Creates a OVRTimewarpProjectionDesc 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