Class XrDebugUtilsObjectNameInfoEXT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, OBJECTTYPE, OBJECTHANDLE, OBJECTNAME

        The struct member offsets.
    • Constructor Detail

      • XrDebugUtilsObjectNameInfoEXT

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

        public int objectType()
        an XrObjectType specifying the type of the object to be named.
      • objectHandle

        public long objectHandle()
        the object to be named.
      • objectName, objectNameString

        @Nullable
        public java.nio.ByteBuffer objectName()
        
        @Nullable
        public java.lang.String objectNameString()
        
        a NULL terminated UTF-8 string specifying the name to apply to objectHandle.
      • set

        public XrDebugUtilsObjectNameInfoEXT set​(int type,
                                                 long next,
                                                 int objectType,
                                                 long objectHandle,
                                                 @Nullable
                                                 java.nio.ByteBuffer objectName)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

        public static int nobjectType​(long struct)
        Unsafe version of objectType().
      • nobjectHandle

        public static long nobjectHandle​(long struct)
        Unsafe version of objectHandle().
      • nobjectName

        @Nullable
        public static java.nio.ByteBuffer nobjectName​(long struct)
        Unsafe version of objectName().
      • nobjectNameString

        @Nullable
        public static java.lang.String nobjectNameString​(long struct)
        Unsafe version of objectNameString().
      • 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.
      • nobjectType

        public static void nobjectType​(long struct,
                                       int value)
        Unsafe version of objectType.
      • nobjectHandle

        public static void nobjectHandle​(long struct,
                                         long value)
        Unsafe version of objectHandle.
      • nobjectName

        public static void nobjectName​(long struct,
                                       @Nullable
                                       java.nio.ByteBuffer value)
        Unsafe version of objectName.