Class XrSpaceUuidFilterInfoFB

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSpaceUuidFilterInfoFB>
org.lwjgl.openxr.XrSpaceUuidFilterInfoFB
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrSpaceUuidFilterInfoFB extends org.lwjgl.system.Struct<XrSpaceUuidFilterInfoFB> implements org.lwjgl.system.NativeResource
Filters for entities with specific unique identifiers.
Description

The XrSpaceUuidFilterInfoFB structure is a filter an application can use to find XrSpace entities that match specified UUIDs, to include or exclude them from a query.

Valid Usage (Implicit)
See Also

XrSpaceFilterInfoBaseHeaderFB, XrSpaceQueryInfoFB, XrUuidEXT

Layout


 struct XrSpaceUuidFilterInfoFB {
     XrStructureType type();
     void const * next();
     uint32_t uuidCount();
     XrUuidEXT * uuids();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • TYPE

      public static final int TYPE
      The struct member offsets.
    • NEXT

      public static final int NEXT
      The struct member offsets.
    • UUIDCOUNT

      public static final int UUIDCOUNT
      The struct member offsets.
    • UUIDS

      public static final int UUIDS
      The struct member offsets.
  • Constructor Details

    • XrSpaceUuidFilterInfoFB

      public XrSpaceUuidFilterInfoFB(ByteBuffer container)
      Creates a XrSpaceUuidFilterInfoFB 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 Details

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<XrSpaceUuidFilterInfoFB>
    • 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.
    • uuidCount

      public int uuidCount()
      the number of UUIDs to be matched.
    • uuids

      public XrUuidEXT.Buffer uuids()
      an array of XrUuidEXT that contains the UUIDs to be matched.
    • type

      public XrSpaceUuidFilterInfoFB type(int value)
      Sets the specified value to the type() field.
    • type$Default

      public XrSpaceUuidFilterInfoFB type$Default()
      Sets the TYPE_SPACE_UUID_FILTER_INFO_FB value to the type() field.
    • next

      public XrSpaceUuidFilterInfoFB next(long value)
      Sets the specified value to the next() field.
    • uuids

      Sets the address of the specified XrUuidEXT.Buffer to the uuids() field.
    • set

      public XrSpaceUuidFilterInfoFB set(int type, long next, XrUuidEXT.Buffer uuids)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

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

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

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

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

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

      Downcasts the specified XrSpaceFilterInfoBaseHeaderFB instance to XrSpaceUuidFilterInfoFB.
    • malloc

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

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

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

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

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

      Downcasts the specified XrSpaceFilterInfoBaseHeaderFB.Buffer instance to XrSpaceUuidFilterInfoFB.Buffer.
    • malloc

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

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

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

      public static XrSpaceUuidFilterInfoFB.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new XrSpaceUuidFilterInfoFB.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      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().
    • nuuidCount

      public static int nuuidCount(long struct)
      Unsafe version of uuidCount().
    • nuuids

      public static XrUuidEXT.Buffer nuuids(long struct)
      Unsafe version of uuids().
    • 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.
    • nuuidCount

      public static void nuuidCount(long struct, int value)
      Sets the specified value to the uuidCount field of the specified struct.
    • nuuids

      public static void nuuids(long struct, XrUuidEXT.Buffer value)
      Unsafe version of uuids.
    • validate

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