Package io.github.libsdl4j.api.blendmode
Class SDL_BlendMode
- java.lang.Object
-
- io.github.libsdl4j.api.blendmode.SDL_BlendMode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SDL_BlendMode.Ref
-
Field Summary
Fields Modifier and Type Field Description static int
SDL_BLENDMODE_ADD
additive blendingstatic int
SDL_BLENDMODE_BLEND
alpha blendingstatic int
SDL_BLENDMODE_INVALID
static int
SDL_BLENDMODE_MOD
color modulatestatic int
SDL_BLENDMODE_MUL
color multiplystatic int
SDL_BLENDMODE_NONE
no blending
-
-
-
Field Detail
-
SDL_BLENDMODE_NONE
public static final int SDL_BLENDMODE_NONE
no blendingdstRGBA = srcRGBA
- See Also:
- Constant Field Values
-
SDL_BLENDMODE_BLEND
public static final int SDL_BLENDMODE_BLEND
alpha blendingdstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA)) dstA = srcA + (dstA * (1-srcA))
- See Also:
- Constant Field Values
-
SDL_BLENDMODE_ADD
public static final int SDL_BLENDMODE_ADD
additive blendingdstRGB = (srcRGB * srcA) + dstRGB dstA = dstA
- See Also:
- Constant Field Values
-
SDL_BLENDMODE_MOD
public static final int SDL_BLENDMODE_MOD
color modulatedstRGB = srcRGB * dstRGB dstA = dstA
- See Also:
- Constant Field Values
-
SDL_BLENDMODE_MUL
public static final int SDL_BLENDMODE_MUL
color multiplydstRGB = (srcRGB * dstRGB) + (dstRGB * (1-srcA)) dstA = (srcA * dstA) + (dstA * (1-srcA))
- See Also:
- Constant Field Values
-
SDL_BLENDMODE_INVALID
public static final int SDL_BLENDMODE_INVALID
- See Also:
- Constant Field Values
-
-