---
name: "SDL_BlendOperation"
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_BlendOperation"
---

# SDL\_BlendOperation(3type)

The blend operation used when combining source and destination pixel components.

## NAME

SDL\_BlendOperation - The blend operation used when combining source and destination pixel components.

## HEADER FILE

Defined in SDL3/SDL\_blendmode.h

## SYNOPSIS

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

**typedef enum SDL\_BlendOperation** **{**     **SDL\_BLENDOPERATION\_ADD              = 0x1,  /\*\*\< dst + src: supported by all renderers \*/**     **SDL\_BLENDOPERATION\_SUBTRACT         = 0x2,  /\*\*\< src - dst : supported by D3D, OpenGL, OpenGLES, and Vulkan \*/**     **SDL\_BLENDOPERATION\_REV\_SUBTRACT     = 0x3,  /\*\*\< dst - src : supported by D3D, OpenGL, OpenGLES, and Vulkan \*/**     **SDL\_BLENDOPERATION\_MINIMUM          = 0x4,  /\*\*\< min(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan \*/**     **SDL\_BLENDOPERATION\_MAXIMUM          = 0x5   /\*\*\< max(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan \*/** **} SDL\_BlendOperation;**

## AVAILABILITY

This enum is available since SDL 3.2.0.
