Class XrSystemGraphicsProperties.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<XrSystemGraphicsProperties>, NativeResource, Pointer
Enclosing class:
XrSystemGraphicsProperties

public static class XrSystemGraphicsProperties.Buffer extends StructBuffer<XrSystemGraphicsProperties,XrSystemGraphicsProperties.Buffer> implements NativeResource
An array of XrSystemGraphicsProperties structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new XrSystemGraphicsProperties.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by XrSystemGraphicsProperties.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • maxSwapchainImageHeight

      public int maxSwapchainImageHeight()
      Returns:
      the value of the maxSwapchainImageHeight field.
    • maxSwapchainImageWidth

      public int maxSwapchainImageWidth()
      Returns:
      the value of the maxSwapchainImageWidth field.
    • maxLayerCount

      public int maxLayerCount()
      Returns:
      the value of the maxLayerCount field.
    • maxSwapchainImageHeight

      public XrSystemGraphicsProperties.Buffer maxSwapchainImageHeight(int value)
      Sets the specified value to the maxSwapchainImageHeight field.
    • maxSwapchainImageWidth

      public XrSystemGraphicsProperties.Buffer maxSwapchainImageWidth(int value)
      Sets the specified value to the maxSwapchainImageWidth field.
    • maxLayerCount

      public XrSystemGraphicsProperties.Buffer maxLayerCount(int value)
      Sets the specified value to the maxLayerCount field.