2 * Copyright 2007 Henri Verbeet
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_WINED3D_CAPS_H
20 #define __WINE_WINED3D_CAPS_H
22 #define WINED3DLINECAPS_TEXTURE 0x00000001
23 #define WINED3DLINECAPS_ZTEST 0x00000002
24 #define WINED3DLINECAPS_BLEND 0x00000004
25 #define WINED3DLINECAPS_ALPHACMP 0x00000008
26 #define WINED3DLINECAPS_FOG 0x00000010
28 #define WINED3DPBLENDCAPS_ZERO 0x00000001
29 #define WINED3DPBLENDCAPS_ONE 0x00000002
30 #define WINED3DPBLENDCAPS_SRCCOLOR 0x00000004
31 #define WINED3DPBLENDCAPS_INVSRCCOLOR 0x00000008
32 #define WINED3DPBLENDCAPS_SRCALPHA 0x00000010
33 #define WINED3DPBLENDCAPS_INVSRCALPHA 0x00000020
34 #define WINED3DPBLENDCAPS_DESTALPHA 0x00000040
35 #define WINED3DPBLENDCAPS_INVDESTALPHA 0x00000080
36 #define WINED3DPBLENDCAPS_DESTCOLOR 0x00000100
37 #define WINED3DPBLENDCAPS_INVDESTCOLOR 0x00000200
38 #define WINED3DPBLENDCAPS_SRCALPHASAT 0x00000400
39 #define WINED3DPBLENDCAPS_BOTHSRCALPHA 0x00000800
40 #define WINED3DPBLENDCAPS_BOTHINVSRCALPHA 0x00001000
41 #define WINED3DPBLENDCAPS_BLENDFACTOR 0x00002000
43 #define WINED3DPCMPCAPS_NEVER 0x00000001
44 #define WINED3DPCMPCAPS_LESS 0x00000002
45 #define WINED3DPCMPCAPS_EQUAL 0x00000004
46 #define WINED3DPCMPCAPS_LESSEQUAL 0x00000008
47 #define WINED3DPCMPCAPS_GREATER 0x00000010
48 #define WINED3DPCMPCAPS_NOTEQUAL 0x00000020
49 #define WINED3DPCMPCAPS_GREATEREQUAL 0x00000040
50 #define WINED3DPCMPCAPS_ALWAYS 0x00000080
52 #define WINED3DPMISCCAPS_MASKZ 0x00000002
53 #define WINED3DPMISCCAPS_LINEPATTERNREP 0x00000004
54 #define WINED3DPMISCCAPS_CULLNONE 0x00000010
55 #define WINED3DPMISCCAPS_CULLCW 0x00000020
56 #define WINED3DPMISCCAPS_CULLCCW 0x00000040
57 #define WINED3DPMISCCAPS_COLORWRITEENABLE 0x00000080
58 #define WINED3DPMISCCAPS_CLIPPLANESCALEDPOINTS 0x00000100
59 #define WINED3DPMISCCAPS_CLIPTLVERTS 0x00000200
60 #define WINED3DPMISCCAPS_TSSARGTEMP 0x00000400
61 #define WINED3DPMISCCAPS_BLENDOP 0x00000800
62 #define WINED3DPMISCCAPS_NULLREFERENCE 0x00001000
63 #define WINED3DPMISCCAPS_INDEPENDENTWRITEMASKS 0x00004000
64 #define WINED3DPMISCCAPS_PERSTAGECONSTANT 0x00008000
65 #define WINED3DPMISCCAPS_FOGANDSPECULARALPHA 0x00010000
66 #define WINED3DPMISCCAPS_SEPARATEALPHABLEND 0x00020000
67 #define WINED3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS 0x00040000
68 #define WINED3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING 0x00080000
69 #define WINED3DPMISCCAPS_FOGVERTEXCLAMPED 0x00100000
71 #define WINED3DPTADDRESSCAPS_WRAP 0x00000001
72 #define WINED3DPTADDRESSCAPS_MIRROR 0x00000002
73 #define WINED3DPTADDRESSCAPS_CLAMP 0x00000004
74 #define WINED3DPTADDRESSCAPS_BORDER 0x00000008
75 #define WINED3DPTADDRESSCAPS_INDEPENDENTUV 0x00000010
76 #define WINED3DPTADDRESSCAPS_MIRRORONCE 0x00000020
78 #define WINED3DSTENCILCAPS_KEEP 0x00000001
79 #define WINED3DSTENCILCAPS_ZERO 0x00000002
80 #define WINED3DSTENCILCAPS_REPLACE 0x00000004
81 #define WINED3DSTENCILCAPS_INCRSAT 0x00000008
82 #define WINED3DSTENCILCAPS_DECRSAT 0x00000010
83 #define WINED3DSTENCILCAPS_INVERT 0x00000020
84 #define WINED3DSTENCILCAPS_INCR 0x00000040
85 #define WINED3DSTENCILCAPS_DECR 0x00000080
86 #define WINED3DSTENCILCAPS_TWOSIDED 0x00000100
88 #define WINED3DTEXOPCAPS_DISABLE 0x00000001
89 #define WINED3DTEXOPCAPS_SELECTARG1 0x00000002
90 #define WINED3DTEXOPCAPS_SELECTARG2 0x00000004
91 #define WINED3DTEXOPCAPS_MODULATE 0x00000008
92 #define WINED3DTEXOPCAPS_MODULATE2X 0x00000010
93 #define WINED3DTEXOPCAPS_MODULATE4X 0x00000020
94 #define WINED3DTEXOPCAPS_ADD 0x00000040
95 #define WINED3DTEXOPCAPS_ADDSIGNED 0x00000080
96 #define WINED3DTEXOPCAPS_ADDSIGNED2X 0x00000100
97 #define WINED3DTEXOPCAPS_SUBTRACT 0x00000200
98 #define WINED3DTEXOPCAPS_ADDSMOOTH 0x00000400
99 #define WINED3DTEXOPCAPS_BLENDDIFFUSEALPHA 0x00000800
100 #define WINED3DTEXOPCAPS_BLENDTEXTUREALPHA 0x00001000
101 #define WINED3DTEXOPCAPS_BLENDFACTORALPHA 0x00002000
102 #define WINED3DTEXOPCAPS_BLENDTEXTUREALPHAPM 0x00004000
103 #define WINED3DTEXOPCAPS_BLENDCURRENTALPHA 0x00008000
104 #define WINED3DTEXOPCAPS_PREMODULATE 0x00010000
105 #define WINED3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR 0x00020000
106 #define WINED3DTEXOPCAPS_MODULATECOLOR_ADDALPHA 0x00040000
107 #define WINED3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR 0x00080000
108 #define WINED3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA 0x00100000
109 #define WINED3DTEXOPCAPS_BUMPENVMAP 0x00200000
110 #define WINED3DTEXOPCAPS_BUMPENVMAPLUMINANCE 0x00400000
111 #define WINED3DTEXOPCAPS_DOTPRODUCT3 0x00800000
112 #define WINED3DTEXOPCAPS_MULTIPLYADD 0x01000000
113 #define WINED3DTEXOPCAPS_LERP 0x02000000
115 #endif /* __WINE_WINED3D_CAPS_H */