Package org.lwjgl.ovr

Class OVRTimewarpProjectionDesc

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

    public class OVRTimewarpProjectionDesc
    extends org.lwjgl.system.Struct
    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 Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • PROJECTION22, PROJECTION23, PROJECTION32

        The struct member offsets.
    • Constructor Detail

      • OVRTimewarpProjectionDesc

        public OVRTimewarpProjectionDesc​(java.nio.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.