To dynamically set and change the blend constants, call:
// Provided by VK_VERSION_1_0 void vkCmdSetBlendConstants( VkCommandBuffer commandBuffer, const float blendConstants);
commandBufferis the command buffer into which the command will be recorded.
blendConstantsis a pointer to an array of four values specifying the Rc, Gc, Bc, and Ac components of the blend constant color used in blending, depending on the blend factor.
This command sets blend constants for subsequent drawing commands when the
graphics pipeline is created with
Otherwise, this state is specified by the
blendConstants values used
to create the currently active pipeline.
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.