Class XrSwapchainCreateInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XrSwapchainCreateInfo extends Struct<XrSwapchainCreateInfo> implements NativeResource
struct XrSwapchainCreateInfo {
    XrStructureType type;
    void const * next;
    XrSwapchainCreateFlags createFlags;
    XrSwapchainUsageFlags usageFlags;
    int64_t format;
    uint32_t sampleCount;
    uint32_t width;
    uint32_t height;
    uint32_t faceCount;
    uint32_t arraySize;
    uint32_t mipCount;
}
  • Field Details

    • SIZEOF

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

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

      public static final int TYPE
      The struct member offsets.
    • NEXT

      public static final int NEXT
      The struct member offsets.
    • CREATEFLAGS

      public static final int CREATEFLAGS
      The struct member offsets.
    • USAGEFLAGS

      public static final int USAGEFLAGS
      The struct member offsets.
    • FORMAT

      public static final int FORMAT
      The struct member offsets.
    • SAMPLECOUNT

      public static final int SAMPLECOUNT
      The struct member offsets.
    • WIDTH

      public static final int WIDTH
      The struct member offsets.
    • HEIGHT

      public static final int HEIGHT
      The struct member offsets.
    • FACECOUNT

      public static final int FACECOUNT
      The struct member offsets.
    • ARRAYSIZE

      public static final int ARRAYSIZE
      The struct member offsets.
    • MIPCOUNT

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

    • XrSwapchainCreateInfo

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