ReactOS  0.4.13-dev-242-g611e6d7
d3d9types.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2003 Jason Edmeades
3  * Copyright (C) 2002-2003 Raphael Junqueira
4  * Copyright (C) 2005 Oliver Stieber
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 
21 #ifndef __WINE_D3D9TYPES_H
22 #define __WINE_D3D9TYPES_H
23 
24 #ifdef __i386__
25 #include <pshpack4.h>
26 #endif
27 
28 /*****************************************************************************
29  * Direct 3D v9 #defines
30  */
31 #define D3DCLEAR_TARGET 0x00000001L
32 #define D3DCLEAR_ZBUFFER 0x00000002L
33 #define D3DCLEAR_STENCIL 0x00000004L
34 
35 #define D3DCLIPPLANE0 (1 << 0)
36 #define D3DCLIPPLANE1 (1 << 1)
37 #define D3DCLIPPLANE2 (1 << 2)
38 #define D3DCLIPPLANE3 (1 << 3)
39 #define D3DCLIPPLANE4 (1 << 4)
40 #define D3DCLIPPLANE5 (1 << 5)
41 
42 #define D3DCOLOR_ARGB(a,r,g,b) ((D3DCOLOR)((((a)&0xffu)<<24)|(((r)&0xffu)<<16)|(((g)&0xffu)<<8)|((b)&0xffu)))
43 #define D3DCOLOR_COLORVALUE(r,g,b,a) D3DCOLOR_RGBA((DWORD)((r)*255.f),(DWORD)((g)*255.f),(DWORD)((b)*255.f),(DWORD)((a)*255.f))
44 #define D3DCOLOR_RGBA(r,g,b,a) D3DCOLOR_ARGB(a,r,g,b)
45 #define D3DCOLOR_XRGB(r,g,b) D3DCOLOR_ARGB(0xff,r,g,b)
46 #define D3DCOLOR_XYUV(y,u,v) D3DCOLOR_ARGB(0xFF,y,u,v)
47 #define D3DCOLOR_AYUV(a,y,u,v) D3DCOLOR_ARGB(a,y,u,v)
48 
49 #define D3DCS_LEFT 0x001L
50 #define D3DCS_RIGHT 0x002L
51 #define D3DCS_TOP 0x004L
52 #define D3DCS_BOTTOM 0x008L
53 #define D3DCS_FRONT 0x010L
54 #define D3DCS_BACK 0x020L
55 #define D3DCS_PLANE0 0x040L
56 #define D3DCS_PLANE1 0x080L
57 #define D3DCS_PLANE2 0x100L
58 #define D3DCS_PLANE3 0x200L
59 #define D3DCS_PLANE4 0x400L
60 #define D3DCS_PLANE5 0x800L
61 #define D3DCS_ALL 0xFFFL
62 
63 #define D3DFVF_TEXTUREFORMAT1 3u
64 #define D3DFVF_TEXTUREFORMAT2 0u
65 #define D3DFVF_TEXTUREFORMAT3 1u
66 #define D3DFVF_TEXTUREFORMAT4 2u
67 #define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
68 #define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2)
69 #define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
70 #define D3DFVF_TEXCOORDSIZE4(CoordIndex) (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))
71 
72 #define D3DLOCK_READONLY 0x0010
73 #define D3DLOCK_NOSYSLOCK 0x0800
74 #define D3DLOCK_NOOVERWRITE 0x1000
75 #define D3DLOCK_DISCARD 0x2000
76 #define D3DLOCK_DONOTWAIT 0x4000
77 #define D3DLOCK_NO_DIRTY_UPDATE 0x8000
78 
79 #define D3DMAXUSERCLIPPLANES 32
80 #define D3DCLIPPLANE0 (1 << 0)
81 #define D3DCLIPPLANE1 (1 << 1)
82 #define D3DCLIPPLANE2 (1 << 2)
83 #define D3DCLIPPLANE3 (1 << 3)
84 #define D3DCLIPPLANE4 (1 << 4)
85 #define D3DCLIPPLANE5 (1 << 5)
86 
87 
88 #define D3DRENDERSTATE_WRAPBIAS 128UL
89 
90 /* MSDN has this in d3d9caps.h, but it should be here */
91 #define D3DTSS_TCI_PASSTHRU 0x00000
92 #define D3DTSS_TCI_CAMERASPACENORMAL 0x10000
93 #define D3DTSS_TCI_CAMERASPACEPOSITION 0x20000
94 #define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR 0x30000
95 #define D3DTSS_TCI_SPHEREMAP 0x40000
96 
97 
98 #define D3DTS_WORLD D3DTS_WORLDMATRIX(0)
99 #define D3DTS_WORLD1 D3DTS_WORLDMATRIX(1)
100 #define D3DTS_WORLD2 D3DTS_WORLDMATRIX(2)
101 #define D3DTS_WORLD3 D3DTS_WORLDMATRIX(3)
102 #define D3DTS_WORLDMATRIX(index) (D3DTRANSFORMSTATETYPE)(index + 256)
103 
104 #define D3DUSAGE_RENDERTARGET 0x00000001L
105 #define D3DUSAGE_DEPTHSTENCIL 0x00000002L
106 #define D3DUSAGE_WRITEONLY 0x00000008L
107 #define D3DUSAGE_SOFTWAREPROCESSING 0x00000010L
108 #define D3DUSAGE_DONOTCLIP 0x00000020L
109 #define D3DUSAGE_POINTS 0x00000040L
110 #define D3DUSAGE_RTPATCHES 0x00000080L
111 #define D3DUSAGE_NPATCHES 0x00000100L
112 #define D3DUSAGE_DYNAMIC 0x00000200L
113 #define D3DUSAGE_AUTOGENMIPMAP 0x00000400L
114 #define D3DUSAGE_DMAP 0x00004000L
115 
116 #define D3DUSAGE_QUERY_FILTER 0x00020000L
117 #define D3DUSAGE_QUERY_LEGACYBUMPMAP 0x00008000L
118 #define D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING 0x00080000L
119 #define D3DUSAGE_QUERY_SRGBREAD 0x00010000L
120 #define D3DUSAGE_QUERY_SRGBWRITE 0x00040000L
121 #define D3DUSAGE_QUERY_VERTEXTEXTURE 0x00100000L
122 #define D3DUSAGE_QUERY_WRAPANDMIP 0x00200000L
123 
124 #define D3DWRAP_U 1
125 #define D3DWRAP_V 2
126 #define D3DWRAP_W 4
127 #define D3DWRAPCOORD_0 1
128 #define D3DWRAPCOORD_1 2
129 #define D3DWRAPCOORD_2 4
130 #define D3DWRAPCOORD_3 8
131 
132 #define MAX_DEVICE_IDENTIFIER_STRING 512
133 
134 #define D3DFVF_RESERVED0 0x0001
135 #define D3DFVF_POSITION_MASK 0x400E
136 #define D3DFVF_XYZ 0x0002
137 #define D3DFVF_XYZRHW 0x0004
138 #define D3DFVF_XYZB1 0x0006
139 #define D3DFVF_XYZB2 0x0008
140 #define D3DFVF_XYZB3 0x000a
141 #define D3DFVF_XYZB4 0x000c
142 #define D3DFVF_XYZB5 0x000e
143 #define D3DFVF_XYZW 0x4002
144 #define D3DFVF_NORMAL 0x0010
145 #define D3DFVF_PSIZE 0x0020
146 #define D3DFVF_DIFFUSE 0x0040
147 #define D3DFVF_SPECULAR 0x0080
148 #define D3DFVF_TEXCOUNT_MASK 0x0f00
149 #define D3DFVF_TEXCOUNT_SHIFT 8
150 #define D3DFVF_TEX0 0x0000
151 #define D3DFVF_TEX1 0x0100
152 #define D3DFVF_TEX2 0x0200
153 #define D3DFVF_TEX3 0x0300
154 #define D3DFVF_TEX4 0x0400
155 #define D3DFVF_TEX5 0x0500
156 #define D3DFVF_TEX6 0x0600
157 #define D3DFVF_TEX7 0x0700
158 #define D3DFVF_TEX8 0x0800
159 #define D3DFVF_LASTBETA_UBYTE4 0x1000
160 #define D3DFVF_LASTBETA_D3DCOLOR 0x8000
161 #define D3DFVF_RESERVED2 0x6000
162 
163 #define D3DTA_SELECTMASK 0x0000000f
164 #define D3DTA_DIFFUSE 0x00000000
165 #define D3DTA_CURRENT 0x00000001
166 #define D3DTA_TEXTURE 0x00000002
167 #define D3DTA_TFACTOR 0x00000003
168 #define D3DTA_SPECULAR 0x00000004
169 #define D3DTA_TEMP 0x00000005
170 #define D3DTA_CONSTANT 0x00000006
171 #define D3DTA_COMPLEMENT 0x00000010
172 #define D3DTA_ALPHAREPLICATE 0x00000020
173 
174 #define D3DCOLORWRITEENABLE_RED (1L<<0)
175 #define D3DCOLORWRITEENABLE_GREEN (1L<<1)
176 #define D3DCOLORWRITEENABLE_BLUE (1L<<2)
177 #define D3DCOLORWRITEENABLE_ALPHA (1L<<3)
178 
179 #define D3DPV_DONOTCOPYDATA (1 << 0)
180 
181 #define D3DSTREAMSOURCE_INDEXEDDATA (1u << 30)
182 #define D3DSTREAMSOURCE_INSTANCEDATA (2u << 30)
183 
184 #define D3D_MAX_SIMULTANEOUS_RENDERTARGETS 4
185 
186 #define MAXD3DDECLLENGTH 64 /* +end marker */
187 #define MAXD3DDECLMETHOD D3DDECLMETHOD_LOOKUPPRESAMPLED
188 #define MAXD3DDECLTYPE D3DDECLTYPE_UNUSED
189 #define MAXD3DDECLUSAGE D3DDECLUSAGE_SAMPLE
190 #define MAXD3DDECLUSAGEINDEX 15
191 
192 #define D3DDMAPSAMPLER 256
193 #define D3DVERTEXTEXTURESAMPLER0 (D3DDMAPSAMPLER+1)
194 #define D3DVERTEXTEXTURESAMPLER1 (D3DDMAPSAMPLER+2)
195 #define D3DVERTEXTEXTURESAMPLER2 (D3DDMAPSAMPLER+3)
196 #define D3DVERTEXTEXTURESAMPLER3 (D3DDMAPSAMPLER+4)
197 
198 #ifndef MAKEFOURCC
199 #define MAKEFOURCC(ch0, ch1, ch2, ch3) \
200  ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
201  ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
202 #endif
203 
204 /* Constants used by D3DPRESENT_PARAMETERS. when creating a device or swapchain */
205 
206 #define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x00000001 /* Create a lockable backbuffer */
207 #define D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 0x00000002 /* Discard Z buffer */
208 #define D3DPRESENTFLAG_DEVICECLIP 0x00000004 /* Clip the window blited into the client area 2k + xp only */
209 #define D3DPRESENTFLAG_VIDEO 0x00000010 /* backbuffer 'may' contain video data */
210 #define D3DPRESENTFLAG_NOAUTOROTATE 0x00000020 /* d3d9ex, ignore display rotation */
211 #define D3DPRESENTFLAG_UNPRUNEDMODE 0x00000040 /* d3d9ex, specify invalid display modes */
212 
213 #define D3DPRESENT_RATE_DEFAULT 0x00000000
214 
215 /****************************
216  * Vertex Shaders Declaration
217  */
218 
219 typedef enum _D3DDECLUSAGE {
234 } D3DDECLUSAGE;
235 
236 #define D3DMAXDECLUSAGE D3DDECLUSAGE_SAMPLE
237 #define D3DMAXDECLUSAGEINDEX 15
238 #define D3DMAXDECLLENGTH 18
239 #define D3DMAXDECLUSAGE_DX8 D3DDECLUSAGE_TEXCOORD
240 
241 typedef enum _D3DDECLMETHOD {
249 } D3DDECLMETHOD;
250 
251 
252 #define D3DMAXDECLMETHOD D3DDECLMETHOD_LOOKUPPRESAMPLED
253 
254 typedef enum _D3DDECLTYPE {
263  /* VS 2.0 */
274 } D3DDECLTYPE;
275 
276 #define D3DMAXDECLTYPE D3DDECLTYPE_UNUSED
277 
278 typedef struct _D3DVERTEXELEMENT9 {
286 
287 
288 typedef enum _D3DQUERYTYPE {
304 } D3DQUERYTYPE;
305 
306 #define D3DISSUE_BEGIN (1 << 1)
307 #define D3DISSUE_END (1 << 0)
308 #define D3DGETDATA_FLUSH (1 << 0)
309 
310 
311 #define D3DDECL_END() {0xFF,0,D3DDECLTYPE_UNUSED,0,0,0}
312 #define D3DDP_MAXTEXCOORD 8
313 
314 
315 #define D3DVSD_MAKETOKENTYPE(TokenType) \
316  ((TokenType << D3DVSD_TOKENTYPESHIFT) & D3DVSD_TOKENTYPEMASK)
317 
318 #define D3DVSD_CONST(ConstantAddress, Count) \
319  (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_CONSTMEM) | ((Count) << D3DVSD_CONSTCOUNTSHIFT) | (ConstantAddress))
320 
321 #define D3DVSD_END() 0xFFFFFFFF
322 
323 #define D3DVSD_NOP() 0x00000000
324 
325 #define D3DVSD_REG(VertexRegister, Type) \
326  (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | ((Type) << D3DVSD_DATATYPESHIFT) | (VertexRegister))
327 
328 #define D3DVSD_SKIP(Count) \
329  (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAMDATA) | 0x10000000 | ((Count) << D3DVSD_SKIPCOUNTSHIFT))
330 
331 #define D3DVSD_STREAM(StreamNumber) \
332  (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (StreamNumber))
333 
334 #define D3DVSD_STREAM_TESS() \
335  (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_STREAM) | (D3DVSD_STREAMTESSMASK))
336 
337 #define D3DVSD_TESSNORMAL(RegisterIn, RegisterOut) \
338  (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | ((RegisterIn) << D3DVSD_VERTEXREGINSHIFT) | ((0x02) << D3DVSD_DATATYPESHIFT) | (RegisterOut))
339 
340 #define D3DVSD_TESSUV(Register) \
341  (D3DVSD_MAKETOKENTYPE(D3DVSD_TOKEN_TESSELLATOR) | 0x10000000 | ((0x01) << D3DVSD_DATATYPESHIFT) | (Register))
342 
343 
344 /********************************
345  * Pixel/Vertex Shaders Functions
346  */
347 
349 #define D3DDP_MAXTEXCOORD 8
350 
352 #define D3DSI_OPCODE_MASK 0x0000FFFF
353 #define D3DSI_INSTLENGTH_MASK 0x0F000000
354 #define D3DSI_INSTLENGTH_SHIFT 24
355 
398  D3DSIO_IF = 40,
407 
441 
442  D3DSIO_PHASE = 0xFFFD,
443  D3DSIO_COMMENT = 0xFFFE,
444  D3DSIO_END = 0XFFFF,
445 
446  D3DSIO_FORCE_DWORD = 0X7FFFFFFF
448 
449 #define D3DSINCOSCONST1 -1.5500992e-006f, -2.1701389e-005f, 0.0026041667f, 0.00026041668f
450 #define D3DSINCOSCONST2 -0.020833334f, -0.12500000f, 1.0f, 0.50000000f
451 
452 #define D3DSHADER_INSTRUCTION_PREDICATED (1 << 28)
453 
454 #define D3DSI_TEXLD_PROJECT 0x00010000
455 #define D3DSI_TEXLD_BIAS 0x00020000
456 
458 #define D3DSI_COISSUE 0x40000000
459 
460 #define D3DSP_DCL_USAGE_SHIFT 0
461 #define D3DSP_DCL_USAGE_MASK 0x0000000f
462 
463 #define D3DSP_DCL_USAGEINDEX_SHIFT 16
464 #define D3DSP_DCL_USAGEINDEX_MASK 0x000f0000
465 
466 #define D3DSP_TEXTURETYPE_SHIFT 27
467 #define D3DSP_TEXTURETYPE_MASK 0x78000000
468 
475 
476  D3DSTT_FORCE_DWORD = 0x7FFFFFFF
478 
479 #define D3DSP_REGNUM_MASK 0x000007FF
480 
482 #define D3DSP_WRITEMASK_0 0x00010000 /* .x r */
483 #define D3DSP_WRITEMASK_1 0x00020000 /* .y g */
484 #define D3DSP_WRITEMASK_2 0x00040000 /* .z b */
485 #define D3DSP_WRITEMASK_3 0x00080000 /* .w a */
486 #define D3DSP_WRITEMASK_ALL 0x000F0000 /* all */
487 
488 #define D3DSP_DSTMOD_SHIFT 20
489 #define D3DSP_DSTMOD_MASK (0xF << D3DSP_DSTMOD_SHIFT)
490 
496 
497  D3DSPDM_FORCE_DWORD = 0x7FFFFFFF
499 
501 #define D3DSP_DSTSHIFT_SHIFT 24
502 #define D3DSP_DSTSHIFT_MASK (0xF << D3DSP_DSTSHIFT_SHIFT)
503 
505 #define D3DSP_REGTYPE_SHIFT 28
506 #define D3DSP_REGTYPE_SHIFT2 8
507 #define D3DSP_REGTYPE_MASK (0x7 << D3DSP_REGTYPE_SHIFT)
508 #define D3DSP_REGTYPE_MASK2 0x00001800
509 
533 
534  D3DSPR_FORCE_DWORD = 0x7FFFFFFF
536 
541 
546 
547  D3DSRO_FORCE_DWORD = 0x7FFFFFFF
549 
550 #define D3DVS_ADDRESSMODE_SHIFT 13
551 #define D3DVS_ADDRESSMODE_MASK (0x1 << D3DVS_ADDRESSMODE_SHIFT)
552 
556 
559 
560 #define D3DSHADER_ADDRESSMODE_SHIFT 13
561 #define D3DSHADER_ADDRESSMODE_MASK (1 << D3DSHADER_ADDRESSMODE_SHIFT)
562 
566 
569 
570 
571 #define D3DVS_SWIZZLE_SHIFT 16
572 #define D3DVS_SWIZZLE_MASK (0xFF << D3DVS_SWIZZLE_SHIFT)
573 
574 #define D3DSP_SWIZZLE_SHIFT 16
575 #define D3DSP_SWIZZLE_MASK (0xFF << D3DSP_SWIZZLE_SHIFT)
576 
577 #define D3DVS_X_X (0 << D3DVS_SWIZZLE_SHIFT)
578 #define D3DVS_X_Y (1 << D3DVS_SWIZZLE_SHIFT)
579 #define D3DVS_X_Z (2 << D3DVS_SWIZZLE_SHIFT)
580 #define D3DVS_X_W (3 << D3DVS_SWIZZLE_SHIFT)
581 
582 #define D3DVS_Y_X (0 << (D3DVS_SWIZZLE_SHIFT + 2))
583 #define D3DVS_Y_Y (1 << (D3DVS_SWIZZLE_SHIFT + 2))
584 #define D3DVS_Y_Z (2 << (D3DVS_SWIZZLE_SHIFT + 2))
585 #define D3DVS_Y_W (3 << (D3DVS_SWIZZLE_SHIFT + 2))
586 
587 #define D3DVS_Z_X (0 << (D3DVS_SWIZZLE_SHIFT + 4))
588 #define D3DVS_Z_Y (1 << (D3DVS_SWIZZLE_SHIFT + 4))
589 #define D3DVS_Z_Z (2 << (D3DVS_SWIZZLE_SHIFT + 4))
590 #define D3DVS_Z_W (3 << (D3DVS_SWIZZLE_SHIFT + 4))
591 
592 #define D3DVS_W_X (0 << (D3DVS_SWIZZLE_SHIFT + 6))
593 #define D3DVS_W_Y (1 << (D3DVS_SWIZZLE_SHIFT + 6))
594 #define D3DVS_W_Z (2 << (D3DVS_SWIZZLE_SHIFT + 6))
595 #define D3DVS_W_W (3 << (D3DVS_SWIZZLE_SHIFT + 6))
596 
597 #define D3DVS_NOSWIZZLE (D3DVS_X_X | D3DVS_Y_Y | D3DVS_Z_Z | D3DVS_W_W)
598 
599 #define D3DSP_NOSWIZZLE \
600  ((0 << (D3DSP_SWIZZLE_SHIFT + 0)) | (1 << (D3DSP_SWIZZLE_SHIFT + 2)) | (2 << (D3DSP_SWIZZLE_SHIFT + 4)) | (3 << (D3DSP_SWIZZLE_SHIFT + 6)))
601 
602 #define D3DSP_SRCMOD_SHIFT 24
603 #define D3DSP_SRCMOD_MASK (0xF << D3DSP_SRCMOD_SHIFT)
604 
620 
621  D3DSPSM_FORCE_DWORD = 0x7FFFFFFF
623 
624 #define D3DPS_VERSION(major, minor) (0xFFFF0000 | ((major) << 8) | (minor))
625 #define D3DVS_VERSION(major, minor) (0xFFFE0000 | ((major) << 8) | (minor))
626 #define D3DSHADER_VERSION_MAJOR(version) (((version) >> 8) & 0xFF)
627 #define D3DSHADER_VERSION_MINOR(version) (((version) >> 0) & 0xFF)
628 
629 #define D3DSI_COMMENTSIZE_SHIFT 16
630 #define D3DSI_COMMENTSIZE_MASK (0x7FFF << D3DSI_COMMENTSIZE_SHIFT)
631 
632 #define D3DSHADER_COMMENT(commentSize) \
633  ((((commentSize) << D3DSI_COMMENTSIZE_SHIFT) & D3DSI_COMMENTSIZE_MASK) | D3DSIO_COMMENT)
634 
635 #define D3DPS_END() 0x0000FFFF
636 #define D3DVS_END() 0x0000FFFF
637 
638 
639 /*****************************************************************************
640  * Direct 3D v8 enumerated types
641  */
642 typedef enum _D3DBACKBUFFER_TYPE {
646 
649 
650 typedef enum _D3DBASISTYPE {
654 
655  D3DBASIS_FORCE_DWORD = 0x7fffffff
656 } D3DBASISTYPE;
657 
658 typedef enum _D3DBLEND {
674  D3DBLEND_FORCE_DWORD = 0x7fffffff
675 } D3DBLEND;
676 
677 typedef enum _D3DBLENDOP {
683 
685 } D3DBLENDOP;
686 
687 typedef enum _D3DCMPFUNC {
696 
697  D3DCMP_FORCE_DWORD = 0x7fffffff
698 } D3DCMPFUNC;
699 
700 typedef enum _D3DCUBEMAP_FACES {
707 
710 
711 typedef enum _D3DCULL {
715 
716  D3DCULL_FORCE_DWORD = 0x7fffffff
717 } D3DCULL;
718 
722 
723  D3DDMT_FORCE_DWORD = 0x7fffffff
725 
726 typedef enum _D3DDEGREETYPE {
731 
733 } D3DDEGREETYPE;
734 
735 typedef enum _D3DDEVTYPE {
740 
742 } D3DDEVTYPE;
743 
744 typedef enum _D3DFILLMODE {
748 
749  D3DFILL_FORCE_DWORD = 0x7fffffff
750 } D3DFILLMODE;
751 
752 typedef enum _D3DFOGMODE {
757 
758  D3DFOG_FORCE_DWORD = 0x7fffffff
759 } D3DFOGMODE;
760 
761 typedef enum _D3DFORMAT {
763 
772  D3DFMT_A8 = 28,
781 
782 
784  D3DFMT_P8 = 41,
785 
786  D3DFMT_L8 = 50,
789 
796 
797  D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'),
798  D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'),
799  D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'),
800  D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'),
801  D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'),
802  D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'),
803  D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'),
804  D3DFMT_MULTI2_ARGB8 = MAKEFOURCC('M', 'E', 'T', '1'),
805  D3DFMT_G8R8_G8B8 = MAKEFOURCC('G', 'R', 'G', 'B'),
806  D3DFMT_R8G8_B8G8 = MAKEFOURCC('R', 'G', 'B', 'G'),
807 
818 
819 #ifndef D3D_DISABLE_9EX
822 #endif
823 
828  /* Floating point formats */
829  D3DFMT_R16F = 111,
832 
833  /* IEEE formats */
834  D3DFMT_R32F = 114,
837 
839 
840 
841  D3DFMT_FORCE_DWORD = 0xFFFFFFFF
842 } D3DFORMAT;
843 
844 typedef enum _D3DLIGHTTYPE {
848 
849  D3DLIGHT_FORCE_DWORD = 0x7fffffff
850 } D3DLIGHTTYPE;
851 
856 
857  D3DMCS_FORCE_DWORD = 0x7fffffff
859 
860 typedef enum _D3DMULTISAMPLE_TYPE {
878 
881 
882 #if 0
883 typedef enum _D3DORDERTYPE {
884  D3DORDER_LINEAR = 1,
885  D3DORDER_QUADRATIC = 2,
886  D3DORDER_CUBIC = 3,
887  D3DORDER_QUINTIC = 5,
888 
889  D3DORDER_FORCE_DWORD = 0x7fffffff
890 } D3DORDERTYPE;
891 #endif
892 typedef enum _D3DPATCHEDGESTYLE {
895 
898 
899 typedef enum _D3DPOOL {
904 
905  D3DPOOL_FORCE_DWORD = 0x7fffffff
906 } D3DPOOL;
907 
908 typedef enum _D3DPRIMITIVETYPE {
915 
916  D3DPT_FORCE_DWORD = 0x7fffffff
918 
919 typedef enum _D3DRENDERSTATETYPE {
951  D3DRS_WRAP0 = 128,
952  D3DRS_WRAP1 = 129,
953  D3DRS_WRAP2 = 130,
954  D3DRS_WRAP3 = 131,
955  D3DRS_WRAP4 = 132,
956  D3DRS_WRAP5 = 133,
957  D3DRS_WRAP6 = 134,
958  D3DRS_WRAP7 = 135,
1023 
1024  D3DRS_FORCE_DWORD = 0x7fffffff
1026 
1027 typedef enum _D3DRESOURCETYPE {
1035 
1037 } D3DRESOURCETYPE;
1038 
1039 #define D3DRTYPECOUNT (D3DRTYPE_INDEXBUFFER+1)
1040 
1041 typedef enum _D3DSHADEMODE {
1045 
1047 } D3DSHADEMODE;
1048 
1049 typedef enum _D3DSTATEBLOCKTYPE {
1053 
1054  D3DSBT_FORCE_DWORD = 0xffffffff
1056 
1057 typedef enum _D3DSTENCILOP {
1066 
1068 } D3DSTENCILOP;
1069 
1070 typedef enum _D3DSWAPEFFECT {
1077 } D3DSWAPEFFECT;
1078 
1079 typedef enum _D3DTEXTUREADDRESS {
1085 
1088 
1098  D3DTEXF_FORCE_DWORD = 0x7fffffff
1100 
1101 typedef enum _D3DTEXTUREOP {
1128 
1129  D3DTOP_FORCE_DWORD = 0x7fffffff,
1130 } D3DTEXTUREOP;
1131 
1151 
1152  D3DTSS_FORCE_DWORD = 0x7fffffff
1154 
1162 
1163  D3DTTFF_FORCE_DWORD = 0x7fffffff
1165 
1177 
1178  D3DTS_FORCE_DWORD = 0x7fffffff
1180 
1181 typedef enum _D3DVERTEXBLENDFLAGS {
1189 
1190 typedef enum _D3DZBUFFERTYPE {
1194 
1195  D3DZB_FORCE_DWORD = 0x7fffffff
1196 } D3DZBUFFERTYPE;
1197 
1198 typedef enum _D3DSAMPLERSTATETYPE {
1212 
1213  D3DSAMP_FORCE_DWORD = 0x7fffffff,
1215 
1216 
1217 /*****************************************************************************
1218  * Direct 3D v9 typedefs
1219  */
1220 #ifndef D3DCOLOR_DEFINED
1221 typedef DWORD D3DCOLOR;
1222 #define D3DCOLOR_DEFINED
1223 #endif
1224 
1225 /*****************************************************************************
1226  * Direct 3D v9 structures
1227  */
1228 typedef struct _D3DADAPTER_IDENTIFIER9 {
1231  char DeviceName[32];
1233 
1238 
1240 
1243 
1244 typedef struct _D3DBOX {
1245  UINT Left;
1246  UINT Top;
1247  UINT Right;
1248  UINT Bottom;
1249  UINT Front;
1250  UINT Back;
1251 } D3DBOX;
1252 
1253 typedef struct _D3DCLIPSTATUS9 {
1256 } D3DCLIPSTATUS9;
1257 
1258 #ifndef D3DCOLORVALUE_DEFINED
1259 typedef struct _D3DCOLORVALUE {
1260  float r;
1261  float g;
1262  float b;
1263  float a;
1264 } D3DCOLORVALUE;
1265 #define D3DCOLORVALUE_DEFINED
1266 #endif
1267 
1268 typedef struct _D3DDEVICE_CREATION_PARAMETERS {
1274 
1282 
1287 
1295 
1302 
1307 
1308 
1309 /* Vertex cache optimization hints. */
1310 typedef struct D3DDEVINFO_VCACHE {
1311  /* Must be a 4 char code FOURCC (e.g. CACH) */
1313  /* 0 to get the longest strips, 1 vertex cache */
1315  /* Cache size to use (only valid if OptMethod==1) */
1317  /* internal for deciding when to restart strips, non user modifiable (only valid if OptMethod==1) */
1320 
1321 typedef struct D3DRESOURCESTATS {
1334 
1338 
1343 
1344 typedef struct _D3DDISPLAYMODE {
1345  UINT Width;
1346  UINT Height;
1347  UINT RefreshRate;
1348  D3DFORMAT Format;
1349 } D3DDISPLAYMODE;
1350 
1351 typedef struct _D3DGAMMARAMP {
1352  WORD red [256];
1353  WORD green[256];
1354  WORD blue [256];
1355 } D3DGAMMARAMP;
1356 
1357 typedef struct _D3DINDEXBUFFER_DESC {
1358  D3DFORMAT Format;
1360  DWORD Usage;
1361  D3DPOOL Pool;
1362  UINT Size;
1364 
1365 #ifndef D3DVECTOR_DEFINED
1366 typedef struct _D3DVECTOR {
1367  float x;
1368  float y;
1369  float z;
1370 } D3DVECTOR;
1371 #define D3DVECTOR_DEFINED
1372 #endif
1373 
1374 typedef struct _D3DLIGHT9 {
1381  float Range;
1382  float Falloff;
1386  float Theta;
1387  float Phi;
1388 } D3DLIGHT9;
1389 
1390 typedef struct _D3DLINEPATTERN {
1393 } D3DLINEPATTERN;
1394 
1395 typedef struct _D3DLOCKED_BOX {
1396  INT RowPitch;
1397  INT SlicePitch;
1398  void* pBits;
1399 } D3DLOCKED_BOX;
1400 
1401 typedef struct _D3DLOCKED_RECT {
1402  INT Pitch;
1403  void* pBits;
1404 } D3DLOCKED_RECT;
1405 
1406 typedef struct _D3DMATERIAL9 {
1411  float Power;
1412 } D3DMATERIAL9;
1413 
1414 #ifndef D3DMATRIX_DEFINED
1415 typedef struct _D3DMATRIX {
1416  union {
1417  struct {
1418  float _11, _12, _13, _14;
1419  float _21, _22, _23, _24;
1420  float _31, _32, _33, _34;
1421  float _41, _42, _43, _44;
1422  } DUMMYSTRUCTNAME;
1423  float m[4][4];
1424  } DUMMYUNIONNAME;
1425 } D3DMATRIX;
1426 #define D3DMATRIX_DEFINED
1427 #endif
1428 
1429 typedef struct _D3DPRESENT_PARAMETERS_ {
1434 
1437 
1440  BOOL Windowed;
1443  DWORD Flags;
1444 
1447 
1449 
1450 typedef struct _D3DRANGE {
1451  UINT Offset;
1452  UINT Size;
1453 } D3DRANGE;
1454 
1455 typedef struct _D3DRASTER_STATUS {
1456  BOOL InVBlank;
1457  UINT ScanLine;
1459 
1460 #ifndef D3DRECT_DEFINED
1461 typedef struct _D3DRECT {
1462  LONG x1;
1463  LONG y1;
1464  LONG x2;
1465  LONG y2;
1466 } D3DRECT;
1467 #define D3DRECT_DEFINED
1468 #endif
1469 
1470 typedef struct _D3DRECTPATCH_INFO {
1473  UINT Width;
1474  UINT Height;
1475  UINT Stride;
1479 
1480 typedef struct _D3DSURFACE_DESC {
1481  D3DFORMAT Format;
1483  DWORD Usage;
1484  D3DPOOL Pool;
1487  UINT Width;
1488  UINT Height;
1489 } D3DSURFACE_DESC;
1490 
1491 typedef struct _D3DTRIPATCH_INFO {
1493  UINT NumVertices;
1497 
1498 typedef struct _D3DVERTEXBUFFER_DESC {
1499  D3DFORMAT Format;
1501  DWORD Usage;
1502  D3DPOOL Pool;
1503  UINT Size;
1504  DWORD FVF;
1506 
1507 typedef struct _D3DVIEWPORT9 {
1512  float MinZ;
1513  float MaxZ;
1514 } D3DVIEWPORT9;
1515 
1516 typedef struct _D3DVOLUME_DESC {
1517  D3DFORMAT Format;
1519  DWORD Usage;
1520  D3DPOOL Pool;
1521 
1522  UINT Width;
1523  UINT Height;
1524  UINT Depth;
1525 } D3DVOLUME_DESC;
1526 
1527 /* Parts added with d3d9ex */
1528 #if !defined(D3D_DISABLE_9EX)
1530 {
1535 
1536 
1537 typedef struct D3DDISPLAYMODEFILTER
1538 {
1543 
1544 typedef struct D3DDISPLAYMODEEX
1545 {
1553 
1555 {
1561 
1562 typedef enum _D3DCOMPOSERECTSOP{
1569 
1570 typedef struct _D3DPRESENTSTATS
1571 {
1577 } D3DPRESENTSTATS;
1578 
1579 #endif /* D3D_DISABLE_9EX */
1580 
1582 {
1592 
1593 #ifdef __i386__
1594 #include <poppack.h>
1595 #endif
1596 
1597 #endif /* __WINE_D3D9TYPES_H */
struct _D3DVECTOR D3DVECTOR
float _11
Definition: d3d8types.h:1111
_D3DTEXTUREADDRESS
Definition: d3d8types.h:859
struct _D3DVERTEXBUFFER_DESC D3DVERTEXBUFFER_DESC
D3DSCANLINEORDERING ScanLineOrdering
Definition: d3d9types.h:1541
struct D3DDISPLAYMODEFILTER D3DDISPLAYMODEFILTER
_D3DSHADEMODE
Definition: d3d8types.h:821
struct _D3DDEVINFO_D3D9BANDWIDTHTIMINGS D3DDEVINFO_D3D9BANDWIDTHTIMINGS
struct _D3DRECT D3DRECT
WORD red[256]
Definition: d3d8types.h:1046
_D3DPATCHEDGESTYLE
Definition: d3d8types.h:701
D3DVECTOR Direction
Definition: d3d9types.h:1380
struct _D3DRASTER_STATUS D3DRASTER_STATUS
_D3DPOOL
Definition: d3d8types.h:708
struct _D3DTRIPATCH_INFO D3DTRIPATCH_INFO
struct _D3DLOCKED_BOX D3DLOCKED_BOX
struct _D3DBOX D3DBOX
_D3DVS_RASTOUT_OFFSETS
Definition: d3d8types.h:409
D3DSCANLINEORDERING
Definition: d3d9types.h:1529
D3DFORMAT Format
Definition: d3d8types.h:1170
D3DCOLORVALUE Diffuse
Definition: d3d9types.h:1407
float _43
Definition: d3d8types.h:1114
float Range
Definition: d3d9types.h:1381
enum _D3DCMPFUNC D3DCMPFUNC
float _22
Definition: d3d8types.h:1112
enum _D3DFOGMODE D3DFOGMODE
UINT PresentRefreshCount
Definition: d3d9types.h:1573
enum _D3DLIGHTTYPE D3DLIGHTTYPE
float Falloff
Definition: d3d9types.h:1382
DWORD WorkingSetBytes
Definition: d3d9types.h:1330
enum _D3DSHADER_ADDRESSMODE_TYPE D3DSHADER_ADDRESSMODE_TYPE
enum _D3DPRIMITIVETYPE D3DPRIMITIVETYPE
struct _D3DPRESENTSTATS D3DPRESENTSTATS
_D3DVS_ADDRESSMODE_TYPE
Definition: d3d8types.h:419
enum _D3DPOOL D3DPOOL
_D3DSTENCILOP
Definition: d3d8types.h:837
enum _D3DBLEND D3DBLEND
float WaitingForGPUToUseApplicationResourceTimePercent
Definition: d3d9types.h:1289
#define D3DSP_DSTMOD_SHIFT
Definition: d3d9types.h:488
D3DVECTOR Position
Definition: d3d9types.h:1379
_D3DSHADER_INSTRUCTION_OPCODE_TYPE
Definition: d3d8types.h:309
D3DCOLORVALUE Ambient
Definition: d3d9types.h:1408
enum _D3DFILLMODE D3DFILLMODE
_D3DDEVTYPE
Definition: d3d8types.h:575
_D3DBLEND
Definition: d3d8types.h:508
struct _D3DDEVINFO_D3DVERTEXSTATS D3DDEVINFO_D3DVERTEXSTATS
struct _D3DDEVICE_CREATION_PARAMETERS D3DDEVICE_CREATION_PARAMETERS
enum _D3DBLENDOP D3DBLENDOP
D3DCOLORVALUE Specular
Definition: d3d9types.h:1377
_D3DDECLUSAGE
Definition: d3d9types.h:219
D3DRESOURCETYPE Type
Definition: d3d8types.h:1189
_D3DDEGREETYPE
Definition: d3d9types.h:726
_D3DSHADER_PARAM_DSTMOD_TYPE
Definition: d3d8types.h:383
enum _D3DSHADER_MISCTYPE_OFFSETS D3DSHADER_MISCTYPE_OFFSETS
enum _D3DSHADER_INSTRUCTION_OPCODE_TYPE D3DSHADER_INSTRUCTION_OPCODE_TYPE
float Attenuation1
Definition: d3d9types.h:1384
float Attenuation2
Definition: d3d9types.h:1385
struct _D3DVERTEXELEMENT9 D3DVERTEXELEMENT9
char Description[MAX_DEVICE_IDENTIFIER_STRING]
Definition: d3d9types.h:1230
enum _D3DSHADEMODE D3DSHADEMODE
D3DSCANLINEORDERING ScanLineOrdering
Definition: d3d9types.h:1551
enum _D3DSAMPLER_TEXTURE_TYPE D3DSAMPLER_TEXTURE_TYPE
UINT StartVertexOffsetHeight
Definition: d3d8types.h:1161
struct _D3DADAPTER_IDENTIFIER9 D3DADAPTER_IDENTIFIER9
struct _D3DGAMMARAMP D3DGAMMARAMP
LARGE_INTEGER SyncGPUTime
Definition: d3d9types.h:1576
LARGE_INTEGER DriverVersion
Definition: d3d9types.h:1232
D3DRESOURCETYPE Type
Definition: d3d8types.h:1053
enum _D3DTEXTUREOP D3DTEXTUREOP
struct D3DRESOURCESTATS D3DRESOURCESTATS
float _34
Definition: d3d8types.h:1113
_D3DTEXTUREOP
Definition: d3d8types.h:880
LONG y1
Definition: d3d8types.h:1154
int32_t INT
Definition: typedefs.h:56
enum _D3DZBUFFERTYPE D3DZBUFFERTYPE
_D3DCMPFUNC
Definition: d3d8types.h:536
_D3DFILLMODE
Definition: d3d8types.h:583
float Attenuation0
Definition: d3d9types.h:1383
const GLfloat * m
Definition: glext.h:10848
DWORD MultiSampleQuality
Definition: d3d9types.h:1486
UINT Size
Definition: d3d8types.h:1144
enum _D3DORDERTYPE D3DORDERTYPE
D3DBASISTYPE Basis
Definition: d3d8types.h:1183
enum _D3DSHADER_PARAM_DSTMOD_TYPE D3DSHADER_PARAM_DSTMOD_TYPE
#define D3DSP_TEXTURETYPE_SHIFT
Definition: d3d9types.h:466
D3DCOLORVALUE Emissive
Definition: d3d9types.h:1410
enum _D3DCUBEMAP_FACES D3DCUBEMAP_FACES
D3DDEGREETYPE Degree
Definition: d3d9types.h:1495
D3DLIGHTTYPE Type
Definition: d3d9types.h:1375
_D3DSTATEBLOCKTYPE
Definition: d3d8types.h:829
struct _D3DSURFACE_DESC D3DSURFACE_DESC
DWORD ApproxBytesDownloaded
Definition: d3d9types.h:1323
enum _D3DBASISTYPE D3DBASISTYPE
UINT Back
Definition: d3d8types.h:1016
struct _D3DDEVINFO_D3D9STAGETIMINGS D3DDEVINFO_D3D9STAGETIMINGS
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
float _13
Definition: d3d8types.h:1111
LARGE_INTEGER SyncQPCTime
Definition: d3d9types.h:1575
enum _D3DSWAPEFFECT D3DSWAPEFFECT
D3DRESOURCETYPE Type
Definition: d3d8types.h:1207
enum _D3DDECLUSAGE D3DDECLUSAGE
float _44
Definition: d3d8types.h:1114
enum _D3DSHADER_PARAM_REGISTER_TYPE D3DSHADER_PARAM_REGISTER_TYPE
float _42
Definition: d3d8types.h:1114
_D3DSHADER_PARAM_REGISTER_TYPE
Definition: d3d8types.h:397
_D3DMATERIALCOLORSOURCE
Definition: d3d8types.h:663
float _41
Definition: d3d8types.h:1114
D3DLIGHTTYPE
Definition: d3dtypes.h:554
_D3DCOMPOSERECTSOP
Definition: d3d9types.h:1562
enum _D3DRESOURCETYPE D3DRESOURCETYPE
_D3DDECLMETHOD
Definition: d3d9types.h:241
enum _D3DFORMAT D3DFORMAT
float _21
Definition: d3d8types.h:1112
_D3DDECLTYPE
Definition: d3d9types.h:254
enum _D3DFORMAT D3DFORMAT
GLclampf GLclampf blue
Definition: gl.h:1740
enum _D3DDEVTYPE D3DDEVTYPE
UINT Bottom
Definition: d3d8types.h:1014
D3DMULTISAMPLE_TYPE MultiSampleType
Definition: d3d8types.h:1126
enum _D3DSWAPEFFECT D3DSWAPEFFECT
D3DCOLORVALUE Ambient
Definition: d3d9types.h:1378
_D3DSWAPEFFECT
Definition: d3d8types.h:850
_D3DZBUFFERTYPE
Definition: d3d8types.h:978
enum _D3DDECLTYPE D3DDECLTYPE
_D3DPRIMITIVETYPE
Definition: d3d8types.h:717
struct _D3DVOLUME_DESC D3DVOLUME_DESC
D3DFORMAT AutoDepthStencilFormat
Definition: d3d8types.h:1132
enum _D3DSHADER_COMPARISON D3DSHADER_COMPARISON
_D3DSAMPLERSTATETYPE
Definition: d3d9types.h:1198
D3DRESOURCESTATS stats[D3DRTYPECOUNT]
Definition: d3d9types.h:1336
struct _D3DVIEWPORT9 D3DVIEWPORT9
D3DFORMAT BackBufferFormat
Definition: d3d8types.h:1123
UINT Top
Definition: d3d8types.h:1012
_D3DQUERYTYPE
Definition: d3d9types.h:288
#define D3DVS_ADDRESSMODE_SHIFT
Definition: d3d9types.h:550
enum _D3DCULL D3DCULL
struct D3DDEVINFO_VCACHE D3DDEVINFO_VCACHE
float _31
Definition: d3d8types.h:1113
struct _D3DLOCKED_RECT D3DLOCKED_RECT
DWORD D3DCOLOR
Definition: d3d9types.h:1221
UINT Left
Definition: d3d8types.h:1011
enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
enum _D3DDEVTYPE D3DDEVTYPE
unsigned short WORD
Definition: ntddk_ex.h:93
GLclampf green
Definition: gl.h:1740
unsigned long DWORD
Definition: ntddk_ex.h:95
float _24
Definition: d3d8types.h:1112
struct _D3DLINEPATTERN D3DLINEPATTERN
enum _D3DSHADER_PARAM_SRCMOD_TYPE D3DSHADER_PARAM_SRCMOD_TYPE
_D3DVERTEXBLENDFLAGS
Definition: d3d8types.h:969
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
D3DCOLORVALUE Diffuse
Definition: d3d9types.h:1376
LONG y2
Definition: d3d8types.h:1156
_D3DSAMPLER_TEXTURE_TYPE
Definition: d3d9types.h:469
enum _D3DDEBUGMONITORTOKENS D3DDEBUGMONITORTOKENS
enum _D3DDEGREETYPE D3DDEGREETYPE
float _23
Definition: d3d8types.h:1112
struct _D3DMATERIAL9 D3DMATERIAL9
enum _D3DPOOL D3DPOOL
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
LONG x1
Definition: d3d8types.h:1153
_D3DRESOURCETYPE
Definition: d3d8types.h:809
_D3DSHADER_COMPARISON
Definition: d3d9types.h:1581
UINT StartVertexOffsetWidth
Definition: d3d8types.h:1160
D3DMULTISAMPLE_TYPE MultiSampleType
Definition: d3d8types.h:1175
D3DBASISTYPE Basis
Definition: d3d8types.h:1165
enum _D3DSAMPLERSTATETYPE D3DSAMPLERSTATETYPE
_D3DBACKBUFFER_TYPE
Definition: d3d8types.h:492
_D3DMULTISAMPLE_TYPE
Definition: d3d8types.h:671
enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE
D3DDISPLAYROTATION
Definition: d3d9types.h:1554
_D3DSHADER_PARAM_SRCMOD_TYPE
Definition: d3d8types.h:459
unsigned char BYTE
Definition: mem.h:68
struct _D3DDEVINFO_D3DRESOURCEMANAGER D3DDEVINFO_D3DRESOURCEMANAGER
_D3DFOGMODE
Definition: d3d8types.h:591
_D3DBLENDOP
Definition: d3d8types.h:526
DWORD ClipIntersection
Definition: d3d9types.h:1255
enum _D3DSTENCILOP D3DSTENCILOP
struct _D3DCLIPSTATUS9 D3DCLIPSTATUS9
D3DFORMAT Format
Definition: d3d8types.h:1206
D3DDEGREETYPE Degree
Definition: d3d9types.h:1477
_D3DTEXTURETRANSFORMFLAGS
Definition: d3d8types.h:943
enum _D3DBACKBUFFER_TYPE D3DBACKBUFFER_TYPE
float _33
Definition: d3d8types.h:1113
enum _D3DVERTEXBLENDFLAGS D3DVERTEXBLENDFLAGS
UINT Offset
Definition: d3d8types.h:1143
D3DFORMAT Format
Definition: d3d8types.h:1042
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
enum _D3DDECLMETHOD D3DDECLMETHOD
enum _D3DPATCHEDGESTYLE D3DPATCHEDGESTYLE
struct _D3DLIGHT9 D3DLIGHT9
struct _D3DCOLORVALUE D3DCOLORVALUE
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
struct _D3DRANGE D3DRANGE
LONG x2
Definition: d3d8types.h:1155
struct _D3DRECTPATCH_INFO D3DRECTPATCH_INFO
enum _D3DBASISTYPE D3DBASISTYPE
D3DFORMAT Format
Definition: d3d9types.h:1550
D3DCOLORVALUE Specular
Definition: d3d9types.h:1409
UINT Front
Definition: d3d8types.h:1015
_D3DCUBEMAP_FACES
Definition: d3d8types.h:549
enum _D3DVS_ADDRESSMODE_TYPE D3DVS_ADDRESSMODE_TYPE
struct _D3DDEVINFO_D3D9PIPELINETIMINGS D3DDEVINFO_D3D9PIPELINETIMINGS
unsigned int UINT
Definition: ndis.h:50
_D3DFORMAT
Definition: d3d8types.h:600
struct D3DDISPLAYMODEEX D3DDISPLAYMODEEX
_D3DRENDERSTATETYPE
Definition: d3d8types.h:728
union _D3DMATRIX::@2617 DUMMYUNIONNAME
struct _D3DDEVINFO_D3D9CACHEUTILIZATION D3DDEVINFO_D3D9CACHEUTILIZATION
float Phi
Definition: d3d9types.h:1387
char Driver[MAX_DEVICE_IDENTIFIER_STRING]
Definition: d3d9types.h:1229
#define D3DSP_SRCMOD_SHIFT
Definition: d3d9types.h:602
float _32
Definition: d3d8types.h:1113
enum _D3DTEXTUREADDRESS D3DTEXTUREADDRESS
_D3DORDERTYPE
Definition: d3d8types.h:692
struct _D3DMATRIX::@2617::@2618 DUMMYSTRUCTNAME
struct _D3DPRESENT_PARAMETERS_ D3DPRESENT_PARAMETERS
#define D3DSHADER_ADDRESSMODE_SHIFT
Definition: d3d9types.h:560
enum _D3DRENDERSTATETYPE D3DRENDERSTATETYPE
UINT Right
Definition: d3d8types.h:1013
_D3DDEBUGMONITORTOKENS
Definition: d3d8types.h:568
_D3DSHADER_MISCTYPE_OFFSETS
Definition: d3d9types.h:537
struct _D3DDEVINFO_D3D9INTERFACETIMINGS D3DDEVINFO_D3D9INTERFACETIMINGS
float Theta
Definition: d3d9types.h:1386
D3DRESOURCETYPE Type
Definition: d3d8types.h:1171
enum _D3DVS_RASTOUT_OFFSETS D3DVS_RASTOUT_OFFSETS
struct _D3DINDEXBUFFER_DESC D3DINDEXBUFFER_DESC
_D3DBASISTYPE
Definition: d3d8types.h:500
enum _D3DTEXTURETRANSFORMFLAGS D3DTEXTURETRANSFORMFLAGS
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
Definition: d3d9types.h:199
#define D3DRTYPECOUNT
Definition: d3d9types.h:1039
enum _D3DCOMPOSERECTSOP D3DCOMPOSERECTSOP
float _14
Definition: d3d8types.h:1111
enum _D3DQUERYTYPE D3DQUERYTYPE
float _12
Definition: d3d8types.h:1111
_D3DSHADER_ADDRESSMODE_TYPE
Definition: d3d9types.h:563
_D3DCULL
Definition: d3d8types.h:560
enum _D3DRESOURCETYPE D3DRESOURCETYPE
_D3DTEXTURESTAGESTATETYPE
Definition: d3d8types.h:911
struct _D3DMATRIX D3DMATRIX
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
_D3DLIGHTTYPE
Definition: d3d8types.h:655
_D3DTRANSFORMSTATETYPE
Definition: d3d8types.h:954
D3DSWAPEFFECT SwapEffect
Definition: d3d8types.h:1128
struct _D3DVERTEXELEMENT9 * LPD3DVERTEXELEMENT9
struct _D3DDISPLAYMODE D3DDISPLAYMODE
_D3DTEXTUREFILTERTYPE
Definition: d3d8types.h:869
#define MAX_DEVICE_IDENTIFIER_STRING
Definition: d3d9types.h:132
DWORD NumUsedInVidMem
Definition: d3d9types.h:1328