C Specification
The VkColorBlendAdvancedEXT
structure is defined as:
// Provided by VK_EXT_extended_dynamic_state3, VK_EXT_shader_object
typedef struct VkColorBlendAdvancedEXT {
VkBlendOp advancedBlendOp;
VkBool32 srcPremultiplied;
VkBool32 dstPremultiplied;
VkBlendOverlapEXT blendOverlap;
VkBool32 clampResults;
} VkColorBlendAdvancedEXT;
Members
-
advancedBlendOp
selects which blend operation is used to calculate the RGB values to write to the color attachment. -
srcPremultiplied
specifies whether the source color of the blend operation is treated as premultiplied. -
dstPremultiplied
specifies whether the destination color of the blend operation is treated as premultiplied. -
blendOverlap
is a VkBlendOverlapEXT value specifying how the source and destination sample’s coverage is correlated. -
clampResults
specifies the results must be clamped to the [0,1] range before writing to the attachment, which is useful when the attachment format is not normalized fixed-point.
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.