VKUNMAPMEMORY(3)

NAME
vkUnmapMemory - Unmap a previously mapped memory object.

C SPECIFICATION

To unmap a memory object once host access to it is no longer needed by the application, call:

    void vkUnmapMemory(
        VkDevice                                    device,
        VkDeviceMemory                              memory);

PARAMETERS

    • device is the logical device that owns the memory.

    • memory is the memory object to be unmapped.

DESCRIPTION

VALID USAGE

    • device must be a valid VkDevice handle

    • memory must be a valid VkDeviceMemory handle

    • memory must have been created, allocated or retrieved from device

    • Each of device and memory must have been created, allocated or retrieved from the same VkPhysicalDevice

    • memory must currently be mapped

HOST SYNCHRONIZATION

    • Host access to memory must be externally synchronized

SEE ALSO

VkDevice, VkDeviceMemory

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

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

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.