1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry 2.Valid Usage (Implicit) 3**** 4* [[VUID-vkCmdClearAttachments-commandBuffer-parameter]] pname:commandBuffer must: be a valid sname:VkCommandBuffer handle 5* [[VUID-vkCmdClearAttachments-pAttachments-parameter]] pname:pAttachments must: be a valid pointer to an array of pname:attachmentCount valid sname:VkClearAttachment structures 6* [[VUID-vkCmdClearAttachments-pRects-parameter]] pname:pRects must: be a valid pointer to an array of pname:rectCount sname:VkClearRect structures 7* [[VUID-vkCmdClearAttachments-commandBuffer-recording]] pname:commandBuffer must: be in the <<commandbuffers-lifecycle, recording state>> 8* [[VUID-vkCmdClearAttachments-commandBuffer-cmdpool]] The sname:VkCommandPool that pname:commandBuffer was allocated from must: support graphics operations 9* [[VUID-vkCmdClearAttachments-renderpass]] This command must: only be called inside of a render pass instance 10* [[VUID-vkCmdClearAttachments-attachmentCount-arraylength]] pname:attachmentCount must: be greater than `0` 11* [[VUID-vkCmdClearAttachments-rectCount-arraylength]] pname:rectCount must: be greater than `0` 12**** 13 14.Host Synchronization 15**** 16* Host access to pname:commandBuffer must: be externally synchronized 17* Host access to the sname:VkCommandPool that pname:commandBuffer was allocated from must: be externally synchronized 18**** 19 20.Command Properties 21**** 22[options="header", width="100%"] 23|==== 24|<<VkCommandBufferLevel,Command Buffer Levels>>|<<vkCmdBeginRenderPass,Render Pass Scope>>|<<VkQueueFlagBits,Supported Queue Types>>|<<synchronization-pipeline-stages-types,Pipeline Type>> 25|Primary + 26Secondary|Inside|Graphics|Graphics 27|==== 28**** 29 30