BlendOp

sg_blend_op

Describes how the source and destination values are combined in the fragment blending operation. It is used in the following struct items when creating a pipeline object:

sg_pipeline_desc .colorsi .blend .op_rgb .op_alpha

The default value is SG_BLENDOP_ADD

Values

ValueMeaning
Default
Add
Subtract
Reverse_subtract
Num

Meta