A structure specifying the blend state of a color target.
Defined in <SDL3/SDL_gpu.h>
typedef struct SDL_GPUColorTargetBlendState
{/**< The value to be multiplied by the source RGB value. */
SDL_GPUBlendFactor src_color_blendfactor; /**< The value to be multiplied by the destination RGB value. */
SDL_GPUBlendFactor dst_color_blendfactor; /**< The blend operation for the RGB components. */
SDL_GPUBlendOp color_blend_op; /**< The value to be multiplied by the source alpha. */
SDL_GPUBlendFactor src_alpha_blendfactor; /**< The value to be multiplied by the destination alpha. */
SDL_GPUBlendFactor dst_alpha_blendfactor; /**< The blend operation for the alpha component. */
SDL_GPUBlendOp alpha_blend_op; /**< A bitmask specifying which of the RGBA components are enabled for writing. Writes to all channels if enable_color_write_mask is false. */
SDL_GPUColorComponentFlags color_write_mask; bool enable_blend; /**< Whether blending is enabled for the color target. */
bool enable_color_write_mask; /**< Whether the color write mask is enabled. */
Uint8 padding1;
Uint8 padding2; } SDL_GPUColorTargetBlendState;
This struct is available since SDL 3.1.3