Class VkWin32SurfaceCreateInfoKHR

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

public class VkWin32SurfaceCreateInfoKHR extends org.lwjgl.system.Struct<VkWin32SurfaceCreateInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created Win32 surface object.
Valid Usage
  • hinstance must be a valid Win32 HINSTANCE
  • hwnd must be a valid Win32 HWND
Valid Usage (Implicit)
See Also

CreateWin32SurfaceKHR

Layout


 struct VkWin32SurfaceCreateInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkWin32SurfaceCreateFlagsKHR flags();
     HINSTANCE hinstance();
     HWND hwnd();
 }
  • 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.
    • HINSTANCE

      public static final int HINSTANCE
      The struct member offsets.
    • HWND

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

    • VkWin32SurfaceCreateInfoKHR

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