VKWIN32SURFACECREATE(3)

NAME
VkWin32SurfaceCreateInfoKHR - Structure specifying parameters of a newly created Win32 surface object

C SPECIFICATION

The VkWin32SurfaceCreateInfoKHR structure is defined as:

    typedef struct VkWin32SurfaceCreateInfoKHR {
        VkStructureType                 sType;
        const void*                     pNext;
        VkWin32SurfaceCreateFlagsKHR    flags;
        HINSTANCE                       hinstance;
        HWND                            hwnd;
    } VkWin32SurfaceCreateInfoKHR;

MEMBERS

    • sType is the type of this structure and must be VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR.

    • pNext is NULL or a pointer to an extension-specific structure.

    • flags is reserved for future use.

    • hinstance and hwnd are the Win32 HINSTANCE and HWND for the window to associate the surface with.

DESCRIPTION

VALID USAGE

    • sType must be VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR

    • pNext must be NULL

    • flags must be 0

SEE ALSO

VkStructureType, VkWin32SurfaceCreateFlagsKHR, vkCreateWin32SurfaceKHR

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkWin32SurfaceCreateInfoKHR

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.