// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry ifndef::doctype-manpage[] .Valid Usage ******************************************************************************** endif::doctype-manpage[] ifdef::doctype-manpage[] Valid Usage ----------- endif::doctype-manpage[] * pname:device must: be a valid sname:VkDevice handle * pname:commandPool must: be a valid sname:VkCommandPool handle * pname:flags must: be a valid combination of elink:VkCommandPoolResetFlagBits values * pname:commandPool must: have been created, allocated or retrieved from pname:device * Each of pname:device and pname:commandPool must: have been created, allocated or retrieved from the same sname:VkPhysicalDevice * All sname:VkCommandBuffer objects allocated from pname:commandPool mustnot: currently be pending execution ifndef::doctype-manpage[] ******************************************************************************** endif::doctype-manpage[] ifndef::doctype-manpage[] .Host Synchronization ******************************************************************************** endif::doctype-manpage[] ifdef::doctype-manpage[] Host Synchronization -------------------- endif::doctype-manpage[] * Host access to pname:commandPool must: be externally synchronized ifndef::doctype-manpage[] ******************************************************************************** endif::doctype-manpage[] ifndef::doctype-manpage[] .Return Codes ******************************************************************************** endif::doctype-manpage[] ifdef::doctype-manpage[] Return Codes ------------ endif::doctype-manpage[] ifndef::doctype-manpage[] <>:: endif::doctype-manpage[] ifdef::doctype-manpage[] On success, this command returns:: endif::doctype-manpage[] * ename:VK_SUCCESS ifndef::doctype-manpage[] <>:: endif::doctype-manpage[] ifdef::doctype-manpage[] On failure, this command returns:: endif::doctype-manpage[] * ename:VK_ERROR_OUT_OF_HOST_MEMORY * ename:VK_ERROR_OUT_OF_DEVICE_MEMORY ifndef::doctype-manpage[] ******************************************************************************** endif::doctype-manpage[]