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

38 lines
762 B
Plaintext

vkFreeMemory(3)
================
Name
----
vkFreeMemory - Free GPU memory
C Specification
---------------
include::../protos/vkFreeMemory.txt[]
Parameters
----------
pname:device::
The logical device which owns the memory object.
pname:mem::
The memory object to free.
Description
-----------
fname:vkFreeMemory frees the memory object whose handle is given in pname:mem. After the memory is freed,
pname:mem becomes invalid and should no longer be used. Further, any resource to which the memory is
bound become invalid and should not be referenced. Such objects should be destroyed or rebound to a new
memory object (if allowed).
include::../validity/protos/vkFreeMemory.txt[]
See Also
--------
flink:vkAllocateMemory
include::footer.txt[]