If the bound graphics pipeline state was created with the
VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT dynamic state enabled then
the viewport count and viewport transformation parameters are set
dynamically by calling:
// Provided by VK_EXT_extended_dynamic_state void vkCmdSetViewportWithCountEXT( VkCommandBuffer commandBuffer, uint32_t viewportCount, const VkViewport* pViewports);
commandBufferis the command buffer into which the command will be recorded.
viewportCountspecifies the viewport count.
pViewportsspecifies the viewports to use for drawing.
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.