Class XrPassthroughCreateInfoFB

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class XrPassthroughCreateInfoFB
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    A create structure for passthrough.
    Member Descriptions
    • type is the XrStructureType of this structure.
    • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.
    • flags is a bitmask of XrPassthroughFlagBitsFB that specify additional behavior.
    Valid Usage (Implicit)
    See Also

    CreatePassthroughFB

    Layout

    
     struct XrPassthroughCreateInfoFB {
         XrStructureType type;
         void const * next;
         XrPassthroughFlagsFB flags;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • XrPassthroughCreateInfoFB

        public XrPassthroughCreateInfoFB​(java.nio.ByteBuffer container)
        Creates a XrPassthroughCreateInfoFB 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()
        Returns:
        the value of the type field.
      • next

        public long next()
        Returns:
        the value of the next field.
      • flags

        public long flags()
        Returns:
        the value of the flags field.
      • set

        public XrPassthroughCreateInfoFB set​(int type,
                                             long next,
                                             long flags)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

        public static long nflags​(long struct)
        Unsafe version of flags().
      • 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.
      • nflags

        public static void nflags​(long struct,
                                  long value)
        Unsafe version of flags.