Skip to content

TSdlBlendOperation

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

Definition

Unit: Neslib.Sdl3.Video

type TSdlBlendOperation = (Add, Subtract, RevSubtract, Minimum, Maximum)

Enumeration Values

Add = SDL_BLENDOPERATION_ADD

dst + src: supported by all renderers


Subtract = SDL_BLENDOPERATION_SUBTRACT

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


RevSubtract = SDL_BLENDOPERATION_REV_SUBTRACT

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


Minimum = SDL_BLENDOPERATION_MINIMUM

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


Maximum = SDL_BLENDOPERATION_MAXIMUM

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