Enum sdl2_sys::SDL_BlendOperation [−][src]
#[repr(u32)]
pub enum SDL_BlendOperation {
SDL_BLENDOPERATION_ADD,
SDL_BLENDOPERATION_SUBTRACT,
SDL_BLENDOPERATION_REV_SUBTRACT,
SDL_BLENDOPERATION_MINIMUM,
SDL_BLENDOPERATION_MAXIMUM,
}
Expand description
\brief The blend operation used when combining source and destination pixel components
Variants
< dst + src: supported by all renderers
< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES
< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES
< min(dst, src) : supported by D3D11
< max(dst, src) : supported by D3D11