add premultiplied alpha blend mode (#2342)
This commit is contained in:
parent
4bc6e0d7de
commit
f40eed5adf
2 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue