// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry .Valid Usage (Implicit) **** * [[VUID-vkCmdClearAttachments-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle * [[VUID-vkCmdClearAttachments-pAttachments-parameter]] pname:pAttachments must: be a valid pointer to an array of pname:attachmentCount valid sname:VkClearAttachment structures * [[VUID-vkCmdClearAttachments-pRects-parameter]] pname:pRects must: be a valid pointer to an array of pname:rectCount sname:VkClearRect structures * [[VUID-vkCmdClearAttachments-commandBuffer-recording]] pname:commandBuffer must: be in the <> * [[VUID-vkCmdClearAttachments-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support graphics operations * [[VUID-vkCmdClearAttachments-renderpass]] This command must: only be called inside of a render pass instance * [[VUID-vkCmdClearAttachments-attachmentCount-arraylength]] pname:attachmentCount must: be greater than `0` * [[VUID-vkCmdClearAttachments-rectCount-arraylength]] pname:rectCount must: be greater than `0` **** .Host Synchronization **** * Host access to pname:commandBuffer must: be externally synchronized * Host access to the sname:VkCommandPool that pname:commandBuffer was allocated from must: be externally synchronized **** .Command Properties **** [options="header", width="100%"] |==== |<>|<>|<>|<> |Primary + Secondary|Inside|Graphics|Graphics |==== ****