C Specification
To fill a memory range with a fixed 4-byte bit pattern, call:
// Provided by VK_KHR_device_address_commands
void vkCmdFillMemoryKHR(
VkCommandBuffer commandBuffer,
const VkDeviceAddressRangeKHR* pDstRange,
VkAddressCommandFlagsKHR dstFlags,
uint32_t data);
Parameters
-
commandBufferis the command buffer into which the command will be recorded. -
pDstRangeis a pointer to the VkDeviceAddressRangeKHR selecting the memory range to be filled. -
dstFlagsis a VkAddressCommandFlagsKHR value defining the copy flags for the destination address range. -
datais the 4-byte word written repeatedly to the destination range to fillsizebytes of data.
Description
|
Note
|
The bit pattern of |
Document Notes
For more information, see the Vulkan Specification.
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.