C Specification
To get memory usage information for a command pool object, call:
// Provided by VKSC_VERSION_1_0
void vkGetCommandPoolMemoryConsumption(
VkDevice device,
VkCommandPool commandPool,
VkCommandBuffer commandBuffer,
VkCommandPoolMemoryConsumption* pConsumption);
Parameters
-
deviceis the logical device that owns the command pool. -
commandPoolis the command pool from which to query the memory usage. -
commandBufferis an optional command buffer from which to query the memory usage. -
pConsumptionis a pointer to aVkCommandPoolMemoryConsumptionstructure where the memory usage is written.
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.