To attach memory to an image object, call:
VkResult vkBindImageMemory( VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset);
deviceis the logical device that owns the image and memory.
imageis the image.
VkDeviceMemoryobject describing the device memory to attach.
memoryOffsetis the start offset of the region of
memorywhich is to be bound to the image. The number of bytes returned in the
memory, starting from
memoryOffsetbytes, will be bound to the specified image.
For more information, see the Vulkan Specification at URL
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright (c) 2014-2018 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.