Class XrViewConfigurationView

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, RECOMMENDEDIMAGERECTWIDTH, MAXIMAGERECTWIDTH, RECOMMENDEDIMAGERECTHEIGHT, MAXIMAGERECTHEIGHT, RECOMMENDEDSWAPCHAINSAMPLECOUNT, MAXSWAPCHAINSAMPLECOUNT

        The struct member offsets.
    • Constructor Detail

      • XrViewConfigurationView

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

        public int recommendedImageRectWidth()
        the optimal width of imageRect to use when rendering this view into a swapchain.
      • maxImageRectWidth

        public int maxImageRectWidth()
        the maximum width of imageRect supported when rendering this view into a swapchain.
      • recommendedImageRectHeight

        public int recommendedImageRectHeight()
        the optimal height of imageRect to use when rendering this view into a swapchain.
      • maxImageRectHeight

        public int maxImageRectHeight()
        the maximum height of imageRect supported when rendering this view into a swapchain.
      • recommendedSwapchainSampleCount

        public int recommendedSwapchainSampleCount()
        the recommended number of sub-data element samples to create for each swapchain image that will be rendered into for this view.
      • maxSwapchainSampleCount

        public int maxSwapchainSampleCount()
        the maximum number of sub-data element samples supported for swapchain images that will be rendered into for this view.
      • set

        public XrViewConfigurationView set​(int type,
                                           long next,
                                           int recommendedImageRectWidth,
                                           int maxImageRectWidth,
                                           int recommendedImageRectHeight,
                                           int maxImageRectHeight,
                                           int recommendedSwapchainSampleCount,
                                           int maxSwapchainSampleCount)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

        public static int nrecommendedImageRectWidth​(long struct)
        Unsafe version of recommendedImageRectWidth().
      • nmaxImageRectWidth

        public static int nmaxImageRectWidth​(long struct)
        Unsafe version of maxImageRectWidth().
      • nrecommendedImageRectHeight

        public static int nrecommendedImageRectHeight​(long struct)
        Unsafe version of recommendedImageRectHeight().
      • nmaxImageRectHeight

        public static int nmaxImageRectHeight​(long struct)
        Unsafe version of maxImageRectHeight().
      • nmaxSwapchainSampleCount

        public static int nmaxSwapchainSampleCount​(long struct)
        Unsafe version of maxSwapchainSampleCount().
      • 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.
      • nrecommendedImageRectWidth

        public static void nrecommendedImageRectWidth​(long struct,
                                                      int value)
        Unsafe version of recommendedImageRectWidth.
      • nmaxImageRectWidth

        public static void nmaxImageRectWidth​(long struct,
                                              int value)
        Unsafe version of maxImageRectWidth.
      • nrecommendedImageRectHeight

        public static void nrecommendedImageRectHeight​(long struct,
                                                       int value)
        Unsafe version of recommendedImageRectHeight.
      • nmaxImageRectHeight

        public static void nmaxImageRectHeight​(long struct,
                                               int value)
        Unsafe version of maxImageRectHeight.
      • nrecommendedSwapchainSampleCount

        public static void nrecommendedSwapchainSampleCount​(long struct,
                                                            int value)
      • nmaxSwapchainSampleCount

        public static void nmaxSwapchainSampleCount​(long struct,
                                                    int value)
        Unsafe version of maxSwapchainSampleCount.