diff options
| author | megagrump <[email protected]> | 2022-02-13 18:42:24 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-13 18:42:24 +0100 |
| commit | f40eed5adf6a707250ac6c7783fe5eb097d29297 (patch) | |
| tree | cc8271f6284bcd1f5e095296f509d70af8c73367 /src/raylib.h | |
| parent | 4bc6e0d7de105820e2dbddb6e134539aa781ca86 (diff) | |
| download | raylib-f40eed5adf6a707250ac6c7783fe5eb097d29297.tar.gz raylib-f40eed5adf6a707250ac6c7783fe5eb097d29297.zip | |
add premultiplied alpha blend mode (#2342)
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 70384e28..31565891 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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; |
