sg_blend_factor
The source and destination factors in blending operations. This is used in the following members when creating a pipeline object:
sg_pipeline_desc .colorsi .blend .src_factor_rgb .dst_factor_rgb .src_factor_alpha .dst_factor_alpha
The default value is SG_BLENDFACTOR_ONE for source factors, and for the destination SG_BLENDFACTOR_ZERO if the associated blend-op is ADD, SUBTRACT or REVERSE_SUBTRACT or SG_BLENDFACTOR_ONE if the associated blend-op is MIN or MAX.
See Implementation
sg_blend_factor
The source and destination factors in blending operations. This is used in the following members when creating a pipeline object:
sg_pipeline_desc .colorsi .blend .src_factor_rgb .dst_factor_rgb .src_factor_alpha .dst_factor_alpha
The default value is SG_BLENDFACTOR_ONE for source factors, and for the destination SG_BLENDFACTOR_ZERO if the associated blend-op is ADD, SUBTRACT or REVERSE_SUBTRACT or SG_BLENDFACTOR_ONE if the associated blend-op is MIN or MAX.