Class VkAndroidSurfaceCreateInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkAndroidSurfaceCreateInfoKHR>
org.lwjgl.vulkan.VkAndroidSurfaceCreateInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkAndroidSurfaceCreateInfoKHR extends org.lwjgl.system.Struct<VkAndroidSurfaceCreateInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created Android surface object.
Valid Usage
  • window must point to a valid Android ANativeWindow
Valid Usage (Implicit)
See Also

CreateAndroidSurfaceKHR

Layout


 struct VkAndroidSurfaceCreateInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkAndroidSurfaceCreateFlagsKHR flags();
     ANativeWindow * window();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • WINDOW

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

    • VkAndroidSurfaceCreateInfoKHR

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