Class XrBindingModificationsKHR

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, BINDINGMODIFICATIONCOUNT, BINDINGMODIFICATIONS

        The struct member offsets.
    • Constructor Detail

      • XrBindingModificationsKHR

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

        public int type()
        the XrStructureType of this structure.
      • next

        public long next()
        NULL or a pointer to the next structure in a structure chain.
      • bindingModificationCount

        public int bindingModificationCount()
        the number of binding modifications in the array pointed to by bindingModifications.
      • bindingModifications

        @Nullable
        public org.lwjgl.PointerBuffer bindingModifications()
        a pointer to an array of pointers to binding modification structures based on XrBindingModificationBaseHeaderKHR, that define all of the application’s suggested binding modifications for the specified interaction profile.
      • set

        public XrBindingModificationsKHR set​(int type,
                                             long next,
                                             int bindingModificationCount,
                                             @Nullable
                                             org.lwjgl.PointerBuffer bindingModifications)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

        public static int ntype​(long struct)
        Unsafe version of type().
      • nnext

        public static long nnext​(long struct)
        Unsafe version of next().
      • nbindingModificationCount

        public static int nbindingModificationCount​(long struct)
        Unsafe version of bindingModificationCount().
      • nbindingModifications

        @Nullable
        public static org.lwjgl.PointerBuffer nbindingModifications​(long struct)
        Unsafe version of bindingModifications.
      • ntype

        public static void ntype​(long struct,
                                 int value)
        Unsafe version of type.
      • nnext

        public static void nnext​(long struct,
                                 long value)
        Unsafe version of next.
      • nbindingModificationCount

        public static void nbindingModificationCount​(long struct,
                                                     int value)
        Sets the specified value to the bindingModificationCount field of the specified struct.
      • nbindingModifications

        public static void nbindingModifications​(long struct,
                                                 @Nullable
                                                 org.lwjgl.PointerBuffer value)
        Unsafe version of bindingModifications.