Class XrSystemTrackingProperties

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • ORIENTATIONTRACKING, POSITIONTRACKING

        The struct member offsets.
    • Constructor Detail

      • XrSystemTrackingProperties

        public XrSystemTrackingProperties​(java.nio.ByteBuffer container)
        Creates a XrSystemTrackingProperties 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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • orientationTracking

        public boolean orientationTracking()
        set to TRUE to indicate the system supports orientational tracking of the view pose(s), FALSE otherwise.
      • positionTracking

        public boolean positionTracking()
        set to TRUE to indicate the system supports positional tracking of the view pose(s), FALSE otherwise.
      • set

        public XrSystemTrackingProperties set​(boolean orientationTracking,
                                              boolean positionTracking)
        Initializes this struct with the specified values.
      • malloc

        public static XrSystemTrackingProperties malloc()
        Returns a new XrSystemTrackingProperties instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static XrSystemTrackingProperties calloc()
        Returns a new XrSystemTrackingProperties instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static XrSystemTrackingProperties create()
        Returns a new XrSystemTrackingProperties instance allocated with BufferUtils.
      • create

        public static XrSystemTrackingProperties create​(long address)
        Returns a new XrSystemTrackingProperties instance for the specified memory address.
      • malloc

        public static XrSystemTrackingProperties malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrSystemTrackingProperties instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static XrSystemTrackingProperties calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrSystemTrackingProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static XrSystemTrackingProperties.Buffer calloc​(int capacity,
                                                               org.lwjgl.system.MemoryStack stack)
        Returns a new XrSystemTrackingProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • norientationTracking

        public static int norientationTracking​(long struct)
        Unsafe version of orientationTracking().
      • npositionTracking

        public static int npositionTracking​(long struct)
        Unsafe version of positionTracking().
      • norientationTracking

        public static void norientationTracking​(long struct,
                                                int value)
        Unsafe version of orientationTracking.
      • npositionTracking

        public static void npositionTracking​(long struct,
                                             int value)
        Unsafe version of positionTracking.