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

# SDL\_SetGPUBlendConstants(3)

Sets the current blend constants on a command buffer.

## NAME

SDL\_SetGPUBlendConstants - Sets the current blend constants on a command buffer.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**void SDL\_SetGPUBlendConstants(**     **SDL\_GPURenderPass \*render\_pass,**     **SDL\_FColor blend\_constants);**

## FUNCTION PARAMETERS

- *render\_pass*

  a render pass handle.

- *blend\_constants*

  the blend constant color.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), **SDL\_GPU\_BLENDFACTOR\_CONSTANT\_COLOR**(3), **•**(3), **SDL\_GPU\_BLENDFACTOR\_ONE\_MINUS\_CONSTANT\_COLOR**(3)
