SDL_GPUColorTargetBlendState

A structure specifying the blend state of a color target.

Members

Variables

alpha_blend_op
SDL_GPUBlendOp alpha_blend_op;

The blend operation for the alpha component.

color_blend_op
SDL_GPUBlendOp color_blend_op;

The blend operation for the RGB components.

color_write_mask
SDL_GPUColorComponentFlags color_write_mask;

A bitmask specifying which of the RGBA components are enabled for writing. Writes to all channels if enable_color_write_mask is false.

dst_alpha_blendfactor
SDL_GPUBlendFactor dst_alpha_blendfactor;

The value to be multiplied by the destination alpha.

dst_color_blendfactor
SDL_GPUBlendFactor dst_color_blendfactor;

The value to be multiplied by the destination RGB value.

enable_blend
bool enable_blend;

Whether blending is enabled for the color target.

enable_color_write_mask
bool enable_color_write_mask;

Whether the color write mask is enabled.

padding1
Uint8 padding1;
Undocumented in source.
padding2
Uint8 padding2;
Undocumented in source.
src_alpha_blendfactor
SDL_GPUBlendFactor src_alpha_blendfactor;

The value to be multiplied by the source alpha.

src_color_blendfactor
SDL_GPUBlendFactor src_color_blendfactor;

The value to be multiplied by the source RGB value.

See Also

Meta