Clear Commands
Clearing Images Outside a Render Pass Instance
Color and depth/stencil images can be cleared outside a render pass instance using vkCmdClearColorImage or vkCmdClearDepthStencilImage, respectively. These commands are only allowed outside of a render pass instance.
Clears outside render pass instances are treated as transfer operations for the purposes of memory barriers.
Clearing Images Inside a Render Pass Instance
Clear Values
Filling Buffers
Updating Buffers
The pData
parameter was of type uint32_t*
instead of void*
prior to version 1.0.19 of the Specification and VK_HEADER_VERSION 19
of the Vulkan Header Files.
This was a historical anomaly, as the source data may be of other types.