SDL_BlendOperation - The blend operation used when combining source and destination pixel components.
Contents
Availability
This enum is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_BlendOperation(3type)
Name
SDL_BlendOperation - The blend operation used when combining source and destination pixel components.
Synopsis
#include<SDL3/SDL_blendmode.h>typedefenumSDL_BlendOperation{SDL_BLENDOPERATION_ADD=0x1,/**<dst+src:supportedbyallrenderers*/SDL_BLENDOPERATION_SUBTRACT=0x2,/**<src-dst:supportedbyD3D,OpenGL,OpenGLES,andVulkan*/SDL_BLENDOPERATION_REV_SUBTRACT=0x3,/**<dst-src:supportedbyD3D,OpenGL,OpenGLES,andVulkan*/SDL_BLENDOPERATION_MINIMUM=0x4,/**<min(dst,src):supportedbyD3D,OpenGL,OpenGLES,andVulkan*/SDL_BLENDOPERATION_MAXIMUM=0x5/**<max(dst,src):supportedbyD3D,OpenGL,OpenGLES,andVulkan*/}SDL_BlendOperation;