Package org.lwjgl.ovr

Class OVRFovStencilDesc

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

public class OVRFovStencilDesc extends org.lwjgl.system.Struct<OVRFovStencilDesc> implements org.lwjgl.system.NativeResource
Fov-stencil mesh descriptor passed into the function GetFovStencil.

Layout


 struct ovrFovStencilDesc {
     ovrFovStencilType StencilType();
     uint32_t StencilFlags();
     ovrEyeType Eye;
     ovrFovPort FovPort();
     ovrQuatf HmdToEyeRotation();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int STENCILTYPE
      The struct member offsets.
    • STENCILFLAGS

      public static final int STENCILFLAGS
      The struct member offsets.
    • EYE

      public static final int EYE
      The struct member offsets.
    • FOVPORT

      public static final int FOVPORT
      The struct member offsets.
    • HMDTOEYEROTATION

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

    • OVRFovStencilDesc

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