-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSDL_blendmode.fth
44 lines (39 loc) · 1.7 KB
/
SDL_blendmode.fth
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
\ This file has been generated using SWIG and fsi,
\ and is already platform dependent, search for the corresponding
\ fsi-file to compile it where no one has compiled it before ;)
\ Forth systems have their own own dynamic loader and don't need addional C-Code.
\ That's why this file will just print normal forth-code once compiled
\ and can be used directly with include or require.
\ As all comments are stripped during the compilation, please
\ insert the copyright notice of the original file here.
\ ----===< prefix >===-----
c-library sdl_blendmode
s" SDL2" add-lib
\c #include <SDL2/SDL_blendmode.h>
\ ----===< int constants >===-----
\ --------===< enums >===---------
#0 constant SDL_BLENDMODE_NONE
#1 constant SDL_BLENDMODE_BLEND
#2 constant SDL_BLENDMODE_ADD
#4 constant SDL_BLENDMODE_MOD
#8 constant SDL_BLENDMODE_MUL
#2147483647 constant SDL_BLENDMODE_INVALID
#1 constant SDL_BLENDOPERATION_ADD
#2 constant SDL_BLENDOPERATION_SUBTRACT
#3 constant SDL_BLENDOPERATION_REV_SUBTRACT
#4 constant SDL_BLENDOPERATION_MINIMUM
#5 constant SDL_BLENDOPERATION_MAXIMUM
#1 constant SDL_BLENDFACTOR_ZERO
#2 constant SDL_BLENDFACTOR_ONE
#3 constant SDL_BLENDFACTOR_SRC_COLOR
#4 constant SDL_BLENDFACTOR_ONE_MINUS_SRC_COLOR
#5 constant SDL_BLENDFACTOR_SRC_ALPHA
#6 constant SDL_BLENDFACTOR_ONE_MINUS_SRC_ALPHA
#7 constant SDL_BLENDFACTOR_DST_COLOR
#8 constant SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR
#9 constant SDL_BLENDFACTOR_DST_ALPHA
#10 constant SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA
\ ------===< functions >===-------
c-function SDL_ComposeCustomBlendMode SDL_ComposeCustomBlendMode n n n n n n -- n ( srcColorFactor dstColorFactor colorOperation srcAlphaFactor dstAlphaFactor alphaOperation -- )
\ ----===< postfix >===-----
end-c-library