Class XrDebugUtilsLabelEXT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, LABELNAME

        The struct member offsets.
    • Constructor Detail

      • XrDebugUtilsLabelEXT

        public XrDebugUtilsLabelEXT​(java.nio.ByteBuffer container)
        Creates a XrDebugUtilsLabelEXT 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. No such structures are defined in core OpenXR or this extension.
      • labelName, labelNameString

        public java.nio.ByteBuffer labelName()
        
        public java.lang.String labelNameString()
        
        a NULL terminated UTF-8 string specifying the label name.
      • labelName

        public XrDebugUtilsLabelEXT labelName​(java.nio.ByteBuffer value)
        Sets the address of the specified encoded string to the labelName() field.
      • set

        public XrDebugUtilsLabelEXT set​(int type,
                                        long next,
                                        java.nio.ByteBuffer labelName)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

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

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

        public static java.nio.ByteBuffer nlabelName​(long struct)
        Unsafe version of labelName().
      • nlabelNameString

        public static java.lang.String nlabelNameString​(long struct)
        Unsafe version of labelNameString().
      • 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.
      • nlabelName

        public static void nlabelName​(long struct,
                                      java.nio.ByteBuffer value)
        Unsafe version of labelName.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate