Class XrSceneComponentMSFT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • COMPONENTTYPE, ID, PARENTID, UPDATETIME

        The struct member offsets.
    • Constructor Detail

      • XrSceneComponentMSFT

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

        public int componentType()
        the XrSceneComponentTypeMSFT of the scene component.
      • parentId

        public XrUuidMSFT parentId()
        the XrUuidMSFT of the parent scene object. If the scene component does not have a parent, then parentId will be equal to zero.
      • updateTime

        public long updateTime()
        the XrTime that this scene component was last updated.
      • malloc

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

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

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

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

        @Nullable
        public static XrSceneComponentMSFT createSafe​(long address)
        Like create, but returns null if address is NULL.
      • malloc

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

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

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

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

        public static int ncomponentType​(long struct)
        Unsafe version of componentType().
      • nid

        public static XrUuidMSFT nid​(long struct)
        Unsafe version of id().
      • nupdateTime

        public static long nupdateTime​(long struct)
        Unsafe version of updateTime().
      • ncomponentType

        public static void ncomponentType​(long struct,
                                          int value)
        Unsafe version of componentType.
      • nid

        public static void nid​(long struct,
                               XrUuidMSFT value)
        Unsafe version of id.
      • nparentId

        public static void nparentId​(long struct,
                                     XrUuidMSFT value)
        Unsafe version of parentId.
      • nupdateTime

        public static void nupdateTime​(long struct,
                                       long value)
        Unsafe version of updateTime.