diff options
| author | Drew DeVault <sir@cmpwn.com> | 2021-12-11 12:58:26 +0100 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2021-12-11 12:58:26 +0100 |
| commit | b7bb74caa20dbb85ae22da8d74f0b8f2e657f5ad (patch) | |
| tree | 40b6d978b8dafe9a93488467bd0062657820beeb /sdl2/blendmode.ha | |
| parent | Add SetTextureAlphaMod wrapper (diff) | |
| download | hare-chip8-b7bb74caa20dbb85ae22da8d74f0b8f2e657f5ad.tar.gz | |
Add blend modes
Diffstat (limited to 'sdl2/blendmode.ha')
| -rw-r--r-- | sdl2/blendmode.ha | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sdl2/blendmode.ha b/sdl2/blendmode.ha new file mode 100644 index 0000000..a32e537 --- /dev/null +++ b/sdl2/blendmode.ha @@ -0,0 +1,11 @@ +// TODO: Flesh me out + +// The blend mode used in SDL_RenderCopy() and drawing operations. +export type blend_mode = enum { + NONE = 0x00000000, + BLEND = 0x00000001, + ADD = 0x00000002, + MOD = 0x00000004, + MUL = 0x00000008, + INVALID = 0x7FFFFFFF +}; |
