C Specification
Alternatively, to update push constants, call:
// Provided by VK_VERSION_1_4
void vkCmdPushConstants2(
VkCommandBuffer commandBuffer,
const VkPushConstantsInfo* pPushConstantsInfo);
or the equivalent command
// Provided by VK_KHR_maintenance6
void vkCmdPushConstants2KHR(
VkCommandBuffer commandBuffer,
const VkPushConstantsInfo* pPushConstantsInfo);
Parameters
-
commandBuffer
is the command buffer in which the push constant update will be recorded. -
pPushConstantsInfo
is a pointer to a VkPushConstantsInfo structure.
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.