Class XrFrameEndInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, DISPLAYTIME, ENVIRONMENTBLENDMODE, LAYERCOUNT, LAYERS

        The struct member offsets.
    • Constructor Detail

      • XrFrameEndInfo

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

        public long displayTime()
        the XrTime at which this frame should be displayed.
      • environmentBlendMode

        public int environmentBlendMode()
        the XrEnvironmentBlendMode value representing the desired environment blend mode for this frame.
      • layerCount

        public int layerCount()
        the number of composition layers in this frame. The maximum supported layer count is identified by XrSystemGraphicsProperties::maxLayerCount. If layerCount is greater than the maximum supported layer count then ERROR_LAYER_LIMIT_EXCEEDED must be returned.
      • layers

        public XrFrameEndInfo layers​(@Nullable
                                     org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the layers() field.
      • set

        public XrFrameEndInfo set​(int type,
                                  long next,
                                  long displayTime,
                                  int environmentBlendMode,
                                  int layerCount,
                                  @Nullable
                                  org.lwjgl.PointerBuffer layers)
        Initializes this struct with the specified values.
      • set

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public static long ndisplayTime​(long struct)
        Unsafe version of displayTime().
      • nenvironmentBlendMode

        public static int nenvironmentBlendMode​(long struct)
        Unsafe version of environmentBlendMode().
      • nlayerCount

        public static int nlayerCount​(long struct)
        Unsafe version of layerCount().
      • nlayers

        @Nullable
        public static org.lwjgl.PointerBuffer nlayers​(long struct)
        Unsafe version of layers.
      • 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.
      • ndisplayTime

        public static void ndisplayTime​(long struct,
                                        long value)
        Unsafe version of displayTime.
      • nenvironmentBlendMode

        public static void nenvironmentBlendMode​(long struct,
                                                 int value)
        Unsafe version of environmentBlendMode.
      • nlayerCount

        public static void nlayerCount​(long struct,
                                       int value)
        Sets the specified value to the layerCount field of the specified struct.
      • nlayers

        public static void nlayers​(long struct,
                                   @Nullable
                                   org.lwjgl.PointerBuffer value)
        Unsafe version of layers.