VKDESTROYSURFACEKHR(3)

NAME
vkDestroySurfaceKHR - Destroy a VkSurfaceKHR object

C SPECIFICATION

To destroy a VkSurfaceKHR object, call:

PARAMETERS

    • instance is the instance used to create the surface.

    • surface is the surface to destroy.

    • pAllocator is the allocator used for host memory allocated for the surface object when there is no more specific allocator available (see Memory Allocation).

DESCRIPTION

Destroying a VkSurfaceKHR merely severs the connection between Vulkan and the native surface, and doesn’t imply destroying the native surface, closing a window, or similar behavior.

SEE ALSO

VkAllocationCallbacks, VkInstance, VkSurfaceKHR

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

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

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.