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 is NULL 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.

Description

Valid Usage (Implicit)
  • VUID-VkCommandPoolMemoryConsumption-sType-sType
    sType must be VK_STRUCTURE_TYPE_COMMAND_POOL_MEMORY_CONSUMPTION

  • VUID-VkCommandPoolMemoryConsumption-pNext-pNext
    pNext must be NULL

See Also

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.

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0