Vulkan-Docs/doc/specs/vulkan/man/vkDestroyInstance.txt

36 lines
890 B
Plaintext
Raw Normal View History

2016-02-16 09:53:44 +00:00
vkDestroyInstance(3)
====================
Name
----
vkDestroyInstance - Destroy an instance of Vulkan.
C Specification
---------------
include::../protos/vkDestroyInstance.txt[]
Parameters
----------
pname:instance::
Vulkan instance to release.
Description
-----------
fname:vkDestroyInstance destroys an instance of Vulkan. After destruction of the instance,
all devices (logical and physical) and any objects created by those devices become in valid
and should not be accessed. However, objects allocated directly or indirectly through
the instance are not destroyed automatically and so may be leaked. Applications should destroy
all objects created through pname:instance before destroying the instance itself.
include::../validity/protos/vkDestroyInstance.txt[]
See Also
--------
flink:vkCreateInstance, flink:vkCreateDevice, flink:vkDestroyDevice
include::footer.txt[]