logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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;

See Also