C Specification
The VkCommandPoolMemoryConsumption structure is defined as:
// Provided by VKSC_VERSION_1_0
typedef struct VkCommandPoolMemoryConsumption {
VkStructureType sType;
void* pNext;
VkDeviceSize commandPoolAllocated;
VkDeviceSize commandPoolReservedSize;
VkDeviceSize commandBufferAllocated;
} VkCommandPoolMemoryConsumption;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
commandPoolAllocatedis the number of bytes currently allocated from this pool for command buffer data. -
commandPoolReservedSizeis the total number of bytes available for all command buffer data recorded into this pool. This is equal to the value requested in VkCommandPoolMemoryReservationCreateInfo::commandPoolReservedSize. -
commandBufferAllocatedis the number of bytes currently allocated from this pool for the specified command buffer’s data. This number will be less than or equal to VkPhysicalDeviceVulkanSC10Properties::maxCommandBufferSize. If no command buffer is specified, thencommandBufferAllocatedwill be zero.
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.