Class XrFoveationConfigurationHTC

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

public class XrFoveationConfigurationHTC extends org.lwjgl.system.Struct<XrFoveationConfigurationHTC> implements org.lwjgl.system.NativeResource
Configuration of foveation.
Valid Usage (Implicit)
See Also

XrFoveationCustomModeInfoHTC, XrVector2f

Layout


 struct XrFoveationConfigurationHTC {
     XrFoveationLevelHTC level();
     float clearFovDegree();
     XrVector2f focalCenterOffset();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int LEVEL
      The struct member offsets.
    • CLEARFOVDEGREE

      public static final int CLEARFOVDEGREE
      The struct member offsets.
    • FOCALCENTEROFFSET

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

    • XrFoveationConfigurationHTC

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