Class XrInstanceCreateInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class XrInstanceCreateInfo extends Struct<XrInstanceCreateInfo> implements NativeResource

 struct XrInstanceCreateInfo {
     XrStructureType type;
     void const * next;
     XrInstanceCreateFlags createFlags;
     {@link XrApplicationInfo XrApplicationInfo} applicationInfo;
     uint32_t enabledApiLayerCount;
     char const * const * enabledApiLayerNames;
     uint32_t enabledExtensionCount;
     char const * const * enabledExtensionNames;
 }
  • 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.
    • APPLICATIONINFO

      public static final int APPLICATIONINFO
      The struct member offsets.
    • ENABLEDAPILAYERCOUNT

      public static final int ENABLEDAPILAYERCOUNT
      The struct member offsets.
    • ENABLEDAPILAYERNAMES

      public static final int ENABLEDAPILAYERNAMES
      The struct member offsets.
    • ENABLEDEXTENSIONCOUNT

      public static final int ENABLEDEXTENSIONCOUNT
      The struct member offsets.
    • ENABLEDEXTENSIONNAMES

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

    • XrInstanceCreateInfo

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