Class XrSwapchainSubImage

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XrSwapchainSubImage extends Struct<XrSwapchainSubImage> implements NativeResource

 struct XrSwapchainSubImage {
     XrSwapchain swapchain;
     {@link XrRect2Di XrRect2Di} imageRect;
     uint32_t imageArrayIndex;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • SWAPCHAIN

      public static final int SWAPCHAIN
      The struct member offsets.
    • IMAGERECT

      public static final int IMAGERECT
      The struct member offsets.
    • IMAGEARRAYINDEX

      public static final int IMAGEARRAYINDEX
      The struct member offsets.
  • Constructor Details

    • XrSwapchainSubImage

      public XrSwapchainSubImage(ByteBuffer container)
      Creates a XrSwapchainSubImage 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 Details