Class VkWin32SurfaceCreateInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkWin32SurfaceCreateInfoKHR
    extends Struct
    implements 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


    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – reserved for future use.
    • hinstance – the Win32 HINSTANCE for the window to associate the surface with.
    • hwnd – the Win32 HWND for the window to associate the surface with.


     struct VkWin32SurfaceCreateInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkWin32SurfaceCreateFlagsKHR flags;
         HINSTANCE hinstance;
         HWND hwnd;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • VkWin32SurfaceCreateInfoKHR

        public VkWin32SurfaceCreateInfoKHR​(java.nio.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.