VK_KHR_win32_surface extension is an instance extension. It provides a mechanism to create a VkSurfaceKHR object (defined by the VK_KHR_surface extension) that refers to a Win32 HWND, as well as a query to determine support for rendering to the windows desktop.
VK_KHR_win32_surfaceVK_KHR_surface| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_WIN32_SURFACE_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_WIN32_SURFACE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkCreateWin32SurfaceKHR(VkInstance instance, long pCreateInfo, long pAllocator, long pSurface)
Unsafe version of: |
| public static int | vkCreateWin32SurfaceKHR(VkInstance
the instance to associate the surface with. instance, VkWin32SurfaceCreateInfoKHR a pointer to a pCreateInfo, VkAllocationCallbacks VkWin32SurfaceCreateInfoKHR structure containing parameters affecting the creation of the surface object.the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation). pAllocator, LongBuffer a pointer to a pSurface)VkSurfaceKHR handle in which the created surface object is returned.Create a VkSurfaceKHR object for an Win32 native window. |
| public static int | vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, long[] pSurface)
Array version of: |
| public static boolean | vkGetPhysicalDeviceWin32PresentationSupportKHR(VkPhysicalDevice
the physical device. physicalDevice, int the queue family index. queueFamilyIndex)Query queue family support for presentation on a Win32 display. |
| VK_KHR_WIN32_SURFACE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_WIN32_SURFACE_EXTENSION_NAME The extension name. | |
| VK_KHR_WIN32_SURFACE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_WIN32_SURFACE_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR Extends | |
| KHRWin32Surface | back to summary |
|---|---|
| protected KHRWin32Surface() | |
| nvkCreateWin32SurfaceKHR | back to summary |
|---|---|
| public static int nvkCreateWin32SurfaceKHR(VkInstance instance, long pCreateInfo, long pAllocator, long pSurface) Unsafe version of: | |
| vkCreateWin32SurfaceKHR | back to summary |
|---|---|
| public static int vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, LongBuffer pSurface) Create a VkSurfaceKHR object for an Win32 native window. C SpecificationTo create a
Valid Usage (Implicit)
Return Codes
See Also
| |
| vkCreateWin32SurfaceKHR | back to summary |
|---|---|
| public static int vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks pAllocator, long[] pSurface) Array version of:
| |
| vkGetPhysicalDeviceWin32PresentationSupportKHR | back to summary |
|---|---|
| public static boolean vkGetPhysicalDeviceWin32PresentationSupportKHR(VkPhysicalDevice physicalDevice, int queueFamilyIndex) Query queue family support for presentation on a Win32 display. C SpecificationTo determine whether a queue family of a physical device supports presentation to the Microsoft Windows desktop, call:
DescriptionThis platform-specific function can be called prior to creating a surface. Valid Usage
Valid Usage (Implicit)
| |