SDL_BlendOperation

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

\since This enum is available since SDL 3.2.0.

Values

ValueMeaning
SDL_BLENDOPERATION_ADD0x1

dst + src: supported by all renderers

SDL_BLENDOPERATION_SUBTRACT0x2

src - dst : supported by D3D, OpenGL, OpenGLES, and Vulkan

SDL_BLENDOPERATION_REV_SUBTRACT0x3

dst - src : supported by D3D, OpenGL, OpenGLES, and Vulkan

SDL_BLENDOPERATION_MINIMUM0x4

min(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan

SDL_BLENDOPERATION_MAXIMUM0x5

max(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan

Meta