mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-25 04:28:30 +00:00
add premultiplied alpha blend mode (#2342)
This commit is contained in:
@@ -839,6 +839,7 @@ typedef enum {
|
||||
BLEND_MULTIPLIED, // Blend textures multiplying colors
|
||||
BLEND_ADD_COLORS, // Blend textures adding colors (alternative)
|
||||
BLEND_SUBTRACT_COLORS, // Blend textures subtracting colors (alternative)
|
||||
BLEND_ALPHA_PREMUL, // Blend premultiplied textures considering alpha
|
||||
BLEND_CUSTOM // Blend textures using custom src/dst factors (use rlSetBlendMode())
|
||||
} BlendMode;
|
||||
|
||||
|
Reference in New Issue
Block a user