Class XrUuidMSFT

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  XrUuidMSFT.Buffer
      An array of XrUuidMSFT structs.
      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

        org.lwjgl.system.Pointer.Default
      • Nested classes/interfaces inherited from class org.lwjgl.system.Struct

        org.lwjgl.system.Struct.StructValidation
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ALIGNOF
      The struct alignment in bytes.
      static int BYTES
      The struct member offsets.
      static int SIZEOF
      The struct size in bytes.
      • Fields inherited from interface org.lwjgl.system.Pointer

        BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      XrUuidMSFT​(java.nio.ByteBuffer container)
      Creates a XrUuidMSFT instance at the current position of the specified ByteBuffer container.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer bytes()
      a 128-bit Variant-1 Universally Unique Identifier.
      byte bytes​(int index)
      a 128-bit Variant-1 Universally Unique Identifier.
      XrUuidMSFT bytes​(int index, byte value)
      Sets the specified value at the specified index of the bytes() field.
      XrUuidMSFT bytes​(java.nio.ByteBuffer value)
      Copies the specified ByteBuffer to the bytes() field.
      static XrUuidMSFT calloc()
      Returns a new XrUuidMSFT instance allocated with memCalloc.
      static XrUuidMSFT.Buffer calloc​(int capacity)
      Returns a new XrUuidMSFT.Buffer instance allocated with memCalloc.
      static XrUuidMSFT.Buffer calloc​(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new XrUuidMSFT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      static XrUuidMSFT calloc​(org.lwjgl.system.MemoryStack stack)
      Returns a new XrUuidMSFT instance allocated on the specified MemoryStack and initializes all its bits to zero.
      static XrUuidMSFT create()
      Returns a new XrUuidMSFT instance allocated with BufferUtils.
      static XrUuidMSFT.Buffer create​(int capacity)
      Returns a new XrUuidMSFT.Buffer instance allocated with BufferUtils.
      static XrUuidMSFT create​(long address)
      Returns a new XrUuidMSFT instance for the specified memory address.
      static XrUuidMSFT.Buffer create​(long address, int capacity)
      Create a XrUuidMSFT.Buffer instance at the specified memory.
      static XrUuidMSFT createSafe​(long address)
      Like create, but returns null if address is NULL.
      static XrUuidMSFT.Buffer createSafe​(long address, int capacity)
      Like create, but returns null if address is NULL.
      static XrUuidMSFT malloc()
      Returns a new XrUuidMSFT instance allocated with memAlloc.
      static XrUuidMSFT.Buffer malloc​(int capacity)
      Returns a new XrUuidMSFT.Buffer instance allocated with memAlloc.
      static XrUuidMSFT.Buffer malloc​(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new XrUuidMSFT.Buffer instance allocated on the specified MemoryStack.
      static XrUuidMSFT malloc​(org.lwjgl.system.MemoryStack stack)
      Returns a new XrUuidMSFT instance allocated on the specified MemoryStack.
      static java.nio.ByteBuffer nbytes​(long struct)
      Unsafe version of bytes().
      static byte nbytes​(long struct, int index)
      Unsafe version of bytes.
      static void nbytes​(long struct, int index, byte value)
      Unsafe version of bytes.
      static void nbytes​(long struct, java.nio.ByteBuffer value)
      Unsafe version of bytes.
      XrUuidMSFT set​(XrUuidMSFT src)
      Copies the specified struct data to this struct.
      int sizeof()  
      • Methods inherited from interface org.lwjgl.system.NativeResource

        close, free
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from class org.lwjgl.system.Pointer.Default

        address, equals, hashCode, toString
      • Methods inherited from class org.lwjgl.system.Struct

        clear, free, isNull, validate
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • BYTES

        The struct member offsets.
    • Constructor Detail

      • XrUuidMSFT

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

        public java.nio.ByteBuffer bytes()
        
        public byte bytes​(int index)
        
        a 128-bit Variant-1 Universally Unique Identifier.
      • bytes

        public XrUuidMSFT bytes​(java.nio.ByteBuffer value)
        Copies the specified ByteBuffer to the bytes() field.
      • bytes

        public XrUuidMSFT bytes​(int index,
                                byte value)
        Sets the specified value at the specified index of the bytes() field.
      • set

        public XrUuidMSFT set​(XrUuidMSFT src)
        Copies the specified struct data to this struct.
        Parameters:
        src - the source struct
        Returns:
        this struct
      • malloc

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

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

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

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

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

        public static XrUuidMSFT.Buffer malloc​(int capacity)
        Returns a new XrUuidMSFT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
        Parameters:
        capacity - the buffer capacity
      • calloc

        public static XrUuidMSFT.Buffer calloc​(int capacity)
        Returns a new XrUuidMSFT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
        Parameters:
        capacity - the buffer capacity
      • create

        public static XrUuidMSFT.Buffer create​(int capacity)
        Returns a new XrUuidMSFT.Buffer instance allocated with BufferUtils.
        Parameters:
        capacity - the buffer capacity
      • create

        public static XrUuidMSFT.Buffer create​(long address,
                                               int capacity)
        Create a XrUuidMSFT.Buffer instance at the specified memory.
        Parameters:
        address - the memory address
        capacity - the buffer capacity
      • createSafe

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

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

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

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

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

        public static java.nio.ByteBuffer nbytes​(long struct)
        Unsafe version of bytes().
      • nbytes

        public static byte nbytes​(long struct,
                                  int index)
        Unsafe version of bytes.
      • nbytes

        public static void nbytes​(long struct,
                                  java.nio.ByteBuffer value)
        Unsafe version of bytes.
      • nbytes

        public static void nbytes​(long struct,
                                  int index,
                                  byte value)
        Unsafe version of bytes.