61 lines
1.6 KiB
Plaintext
61 lines
1.6 KiB
Plaintext
// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a
|
|
// Creative Commons Attribution 4.0 International License; see
|
|
// http://creativecommons.org/licenses/by/4.0/
|
|
|
|
vkFlushMappedMemoryRanges(3)
|
|
============================
|
|
|
|
Name
|
|
----
|
|
vkFlushMappedMemoryRanges - Flush mapped memory ranges.
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
// refBegin vkFlushMappedMemoryRanges Flush mapped memory ranges.
|
|
|
|
To flush ranges of non-coherent memory from the host caches, call:
|
|
|
|
include::../protos/vkFlushMappedMemoryRanges.txt[]
|
|
|
|
|
|
Parameters
|
|
----------
|
|
|
|
* pname:device is the logical device that owns the memory ranges.
|
|
* pname:memoryRangeCount is the length of the pname:pMemoryRanges array.
|
|
* pname:pMemoryRanges is a pointer to an array of
|
|
slink:VkMappedMemoryRange structures describing the memory ranges to
|
|
flush.
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
fname:vkFlushMappedMemoryRanges must: be used to guarantee that host writes to
|
|
non-coherent memory are visible to the device. It must: be called after the host
|
|
writes to non-coherent memory have completed and before command buffers that will
|
|
read or write any of those memory locations are submitted to a queue.
|
|
|
|
include::../validity/protos/vkFlushMappedMemoryRanges.txt[]
|
|
|
|
|
|
See Also
|
|
--------
|
|
|
|
slink:VkDevice, slink:VkMappedMemoryRange
|
|
|
|
|
|
Document Notes
|
|
--------------
|
|
|
|
For more information, see the Vulkan Specification at URL
|
|
|
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkFlushMappedMemoryRanges
|
|
|
|
This page is extracted from the Vulkan Specification.
|
|
Fixes and changes should be made to the Specification,not directly.
|
|
|
|
include::footer.txt[]
|
|
|