C Specification
The VkPhysicalDeviceNestedCommandBufferFeaturesEXT structure is
defined as:
// Provided by VK_EXT_nested_command_buffer
typedef struct VkPhysicalDeviceNestedCommandBufferFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 nestedCommandBuffer;
VkBool32 nestedCommandBufferRendering;
VkBool32 nestedCommandBufferSimultaneousUse;
} VkPhysicalDeviceNestedCommandBufferFeaturesEXT;
Description
-
nestedCommandBufferindicates the implementation supports nested command buffers, which allows Secondary Command Buffers to execute other Secondary Command Buffers. -
nestedCommandBufferRenderingindicates that it is valid to call vkCmdExecuteCommands inside a Secondary Command Buffer recorded withVK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT. -
nestedCommandBufferSimultaneousUseindicates that the implementation supports nested command buffers with command buffers that are recorded withVK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT.
If the VkPhysicalDeviceNestedCommandBufferFeaturesEXT structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
VkPhysicalDeviceNestedCommandBufferFeaturesEXT can also be used in the pNext chain of
VkDeviceCreateInfo to selectively enable these features.
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.