Class XrSceneFrustumBoundMSFT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • POSE, FOV, FARDISTANCE

        The struct member offsets.
    • Constructor Detail

      • XrSceneFrustumBoundMSFT

        public XrSceneFrustumBoundMSFT​(java.nio.ByteBuffer container)
        Creates a XrSceneFrustumBoundMSFT 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
      • pose

        public XrPosef pose()
        an XrPosef defining the position and orientation of the tip of the frustum bound within the reference frame of the corresponding XrSceneBoundsMSFT::space.
      • fov

        public XrFovf fov()
        an XrFovf for the four sides of the frustum bound where angleLeft and angleRight are along the X axis and angleUp and angleDown are along the Y axis of the frustum bound space.
      • farDistance

        public float farDistance()
        the positive distance of the far plane of the frustum bound along the -Z direction of the frustum bound space.
      • malloc

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

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

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

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

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

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

        public static XrSceneFrustumBoundMSFT.Buffer calloc​(int capacity,
                                                            org.lwjgl.system.MemoryStack stack)
        Returns a new XrSceneFrustumBoundMSFT.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
      • npose

        public static XrPosef npose​(long struct)
        Unsafe version of pose().
      • nfov

        public static XrFovf nfov​(long struct)
        Unsafe version of fov().
      • nfarDistance

        public static float nfarDistance​(long struct)
        Unsafe version of farDistance().
      • npose

        public static void npose​(long struct,
                                 XrPosef value)
        Unsafe version of pose.
      • nfov

        public static void nfov​(long struct,
                                XrFovf value)
        Unsafe version of fov.
      • nfarDistance

        public static void nfarDistance​(long struct,
                                        float value)
        Unsafe version of farDistance.