Package org.lwjgl.ovr

Class OVRFovStencilDesc

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

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

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STENCILTYPE, STENCILFLAGS, EYE, FOVPORT, HMDTOEYEROTATION

        The struct member offsets.
    • Constructor Detail

      • OVRFovStencilDesc

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