---
name: "SDL_BlendFactor"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_BlendFactor"
---

# SDL\_BlendFactor(3type)

The normalized factor used to multiply pixel components.

## NAME

SDL\_BlendFactor - The normalized factor used to multiply pixel components.

## HEADER FILE

Defined in SDL3/SDL\_blendmode.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef enum SDL\_BlendFactor** **{**     **SDL\_BLENDFACTOR\_ZERO                = 0x1,  /\*\*\< 0, 0, 0, 0 \*/**     **SDL\_BLENDFACTOR\_ONE                 = 0x2,  /\*\*\< 1, 1, 1, 1 \*/**     **SDL\_BLENDFACTOR\_SRC\_COLOR           = 0x3,  /\*\*\< srcR, srcG, srcB, srcA \*/**     **SDL\_BLENDFACTOR\_ONE\_MINUS\_SRC\_COLOR = 0x4,  /\*\*\< 1-srcR, 1-srcG, 1-srcB, 1-srcA \*/**     **SDL\_BLENDFACTOR\_SRC\_ALPHA           = 0x5,  /\*\*\< srcA, srcA, srcA, srcA \*/**     **SDL\_BLENDFACTOR\_ONE\_MINUS\_SRC\_ALPHA = 0x6,  /\*\*\< 1-srcA, 1-srcA, 1-srcA, 1-srcA \*/**     **SDL\_BLENDFACTOR\_DST\_COLOR           = 0x7,  /\*\*\< dstR, dstG, dstB, dstA \*/**     **SDL\_BLENDFACTOR\_ONE\_MINUS\_DST\_COLOR = 0x8,  /\*\*\< 1-dstR, 1-dstG, 1-dstB, 1-dstA \*/**     **SDL\_BLENDFACTOR\_DST\_ALPHA           = 0x9,  /\*\*\< dstA, dstA, dstA, dstA \*/**     **SDL\_BLENDFACTOR\_ONE\_MINUS\_DST\_ALPHA = 0xA   /\*\*\< 1-dstA, 1-dstA, 1-dstA, 1-dstA \*/** **} SDL\_BlendFactor;**

## DESCRIPTION

The blend factors are multiplied with the pixels from a drawing operation (src) and the pixels from the render target (dst) before the blend operation. The comma-separated factors listed above are always applied in the component order red, green, blue, and alpha.

## AVAILABILITY

This enum is available since SDL 3.2.0.
