Class XrSystemGraphicsProperties

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • MAXSWAPCHAINIMAGEHEIGHT, MAXSWAPCHAINIMAGEWIDTH, MAXLAYERCOUNT

        The struct member offsets.
    • Constructor Detail

      • XrSystemGraphicsProperties

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

        public int maxSwapchainImageHeight()
        the maximum swapchain image pixel height supported by this system.
      • maxSwapchainImageWidth

        public int maxSwapchainImageWidth()
        the maximum swapchain image pixel width supported by this system.
      • maxLayerCount

        public int maxLayerCount()
        the maximum number of composition layers supported by this system. The runtime must support at least MIN_COMPOSITION_LAYERS_SUPPORTED layers.
      • set

        public XrSystemGraphicsProperties set​(int maxSwapchainImageHeight,
                                              int maxSwapchainImageWidth,
                                              int maxLayerCount)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

        public static int nmaxSwapchainImageHeight​(long struct)
        Unsafe version of maxSwapchainImageHeight().
      • nmaxSwapchainImageWidth

        public static int nmaxSwapchainImageWidth​(long struct)
        Unsafe version of maxSwapchainImageWidth().
      • nmaxLayerCount

        public static int nmaxLayerCount​(long struct)
        Unsafe version of maxLayerCount().
      • nmaxSwapchainImageHeight

        public static void nmaxSwapchainImageHeight​(long struct,
                                                    int value)
        Unsafe version of maxSwapchainImageHeight.
      • nmaxSwapchainImageWidth

        public static void nmaxSwapchainImageWidth​(long struct,
                                                   int value)
        Unsafe version of maxSwapchainImageWidth.
      • nmaxLayerCount

        public static void nmaxLayerCount​(long struct,
                                          int value)
        Unsafe version of maxLayerCount.