Skip to content

enum SF::BlendMode::Equation #

Enumeration of the blending equations

The equations are mapped directly to their OpenGL equivalents, specified by gl_blend_equation() or gl_blend_equation_separate().

Members#

Add = 0 #

Pixel = Src * SrcFactor + Dst * DstFactor

Subtract = 1 #

Pixel = Src * SrcFactor - Dst * DstFactor

ReverseSubtract = 2 #

Pixel = Dst * DstFactor - Src * SrcFactor

Methods#

#add? #

View source

#reverse_subtract? #

View source

#subtract? #

View source