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
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
commandPoolAllocated
is the number of bytes currently allocated from this pool for command buffer data. -
commandPoolReservedSize
is 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
. -
commandBufferAllocated
is 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, then this is set to 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.