RetroArch
d3d9types.h
Go to the documentation of this file.
1 /*==========================================================================;
2  *
3  * Copyright (C) Microsoft Corporation. All Rights Reserved.
4  *
5  * File: d3d9types.h
6  * Content: Direct3D capabilities include file
7  *
8  ***************************************************************************/
9 
10 #ifndef _d3d9TYPES_H_
11 #define _d3d9TYPES_H_
12 
13 
14 #ifndef DIRECT3D_VERSION
15 #define DIRECT3D_VERSION 0x0900
16 #endif
17 
18 /* include this file content only if compiling for DX9 interfaces */
19 #if(DIRECT3D_VERSION >= 0x0900)
20 
21 #include <float.h>
22 
23 #if _MSC_VER >= 1200
24 #pragma warning(push)
25 #endif
26 
27 #if defined(_X86_) || defined(_IA64_)
28 #pragma pack(4)
29 #endif
30 
31 /* D3DCOLOR is equivalent to D3DFMT_A8R8G8B8 */
32 #ifndef D3DCOLOR_DEFINED
33 typedef DWORD D3DCOLOR;
34 #define D3DCOLOR_DEFINED
35 #endif
36 
37 /* maps unsigned 8 bits/channel to D3DCOLOR */
38 #define D3DCOLOR_ARGB(a,r,g,b) \
39  ((D3DCOLOR)((((a)&0xff)<<24)|(((r)&0xff)<<16)|(((g)&0xff)<<8)|((b)&0xff)))
40 #define D3DCOLOR_RGBA(r,g,b,a) D3DCOLOR_ARGB(a,r,g,b)
41 #define D3DCOLOR_XRGB(r,g,b) D3DCOLOR_ARGB(0xff,r,g,b)
42 
43 #define D3DCOLOR_XYUV(y,u,v) D3DCOLOR_ARGB(0xff,y,u,v)
44 #define D3DCOLOR_AYUV(a,y,u,v) D3DCOLOR_ARGB(a,y,u,v)
45 
46 /* maps floating point channels (0.f to 1.f range) to D3DCOLOR */
47 #define D3DCOLOR_COLORVALUE(r,g,b,a) \
48  D3DCOLOR_RGBA((DWORD)((r)*255.f),(DWORD)((g)*255.f),(DWORD)((b)*255.f),(DWORD)((a)*255.f))
49 
50 
51 #ifndef D3DVECTOR_DEFINED
52 typedef struct _D3DVECTOR {
53  float x;
54  float y;
55  float z;
56 } D3DVECTOR;
57 #define D3DVECTOR_DEFINED
58 #endif
59 
60 #ifndef D3DCOLORVALUE_DEFINED
61 typedef struct _D3DCOLORVALUE {
62  float r;
63  float g;
64  float b;
65  float a;
67 #define D3DCOLORVALUE_DEFINED
68 #endif
69 
70 #ifndef D3DRECT_DEFINED
71 typedef struct _D3DRECT {
72  LONG x1;
73  LONG y1;
74  LONG x2;
75  LONG y2;
76 } D3DRECT;
77 #define D3DRECT_DEFINED
78 #endif
79 
80 
81 
82 #ifndef D3DMATRIX_DEFINED
83 typedef struct _D3DMATRIX {
84  union {
85  struct {
86  float _11, _12, _13, _14;
87  float _21, _22, _23, _24;
88  float _31, _32, _33, _34;
89  float _41, _42, _43, _44;
90 
91  };
92  float m[4][4];
93  };
94 } D3DMATRIX;
95 #define D3DMATRIX_DEFINED
96 #endif
97 
98 
99 
100 typedef struct _D3DVIEWPORT9 {
101  DWORD X;
102  DWORD Y; /* Viewport Top left */
103  DWORD Width;
104  DWORD Height; /* Viewport Dimensions */
105  float MinZ; /* Min/max of clip Volume */
106  float MaxZ;
107 } D3DVIEWPORT9;
108 
109 /*
110  * Values for clip fields.
111  */
112 
113 /* Max number of user clipping planes, supported in D3D. */
114 #define D3DMAXUSERCLIPPLANES 32
115 
116 /* These bits could be ORed together to use with D3DRS_CLIPPLANEENABLE */
117 #define D3DCLIPPLANE0 (1 << 0)
118 #define D3DCLIPPLANE1 (1 << 1)
119 #define D3DCLIPPLANE2 (1 << 2)
120 #define D3DCLIPPLANE3 (1 << 3)
121 #define D3DCLIPPLANE4 (1 << 4)
122 #define D3DCLIPPLANE5 (1 << 5)
123 
124 /* The following bits are used in the ClipUnion and ClipIntersection
125  * members of the D3DCLIPSTATUS9
126  */
127 
128 #define D3DCS_LEFT 0x00000001L
129 #define D3DCS_RIGHT 0x00000002L
130 #define D3DCS_TOP 0x00000004L
131 #define D3DCS_BOTTOM 0x00000008L
132 #define D3DCS_FRONT 0x00000010L
133 #define D3DCS_BACK 0x00000020L
134 #define D3DCS_PLANE0 0x00000040L
135 #define D3DCS_PLANE1 0x00000080L
136 #define D3DCS_PLANE2 0x00000100L
137 #define D3DCS_PLANE3 0x00000200L
138 #define D3DCS_PLANE4 0x00000400L
139 #define D3DCS_PLANE5 0x00000800L
140 
141 #define D3DCS_ALL (D3DCS_LEFT | \
142  D3DCS_RIGHT | \
143  D3DCS_TOP | \
144  D3DCS_BOTTOM | \
145  D3DCS_FRONT | \
146  D3DCS_BACK | \
147  D3DCS_PLANE0 | \
148  D3DCS_PLANE1 | \
149  D3DCS_PLANE2 | \
150  D3DCS_PLANE3 | \
151  D3DCS_PLANE4 | \
152  D3DCS_PLANE5)
153 
154 typedef struct _D3DCLIPSTATUS9 {
155  DWORD ClipUnion;
158 
159 typedef struct _D3DMATERIAL9 {
160  D3DCOLORVALUE Diffuse; /* Diffuse color RGBA */
161  D3DCOLORVALUE Ambient; /* Ambient color RGB */
162  D3DCOLORVALUE Specular; /* Specular 'shininess' */
163  D3DCOLORVALUE Emissive; /* Emissive color RGB */
164  float Power; /* Sharpness if specular highlight */
165 } D3DMATERIAL9;
166 
167 typedef enum _D3DLIGHTTYPE {
171  D3DLIGHT_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
172 } D3DLIGHTTYPE;
173 
174 typedef struct _D3DLIGHT9 {
175  D3DLIGHTTYPE Type; /* Type of light source */
176  D3DCOLORVALUE Diffuse; /* Diffuse color of light */
177  D3DCOLORVALUE Specular; /* Specular color of light */
178  D3DCOLORVALUE Ambient; /* Ambient color of light */
179  D3DVECTOR Position; /* Position in world space */
180  D3DVECTOR Direction; /* Direction in world space */
181  float Range; /* Cutoff range */
182  float Falloff; /* Falloff */
183  float Attenuation0; /* Constant attenuation */
184  float Attenuation1; /* Linear attenuation */
185  float Attenuation2; /* Quadratic attenuation */
186  float Theta; /* Inner angle of spotlight cone */
187  float Phi; /* Outer angle of spotlight cone */
188 } D3DLIGHT9;
189 
190 /*
191  * Options for clearing
192  */
193 #define D3DCLEAR_TARGET 0x00000001l /* Clear target surface */
194 #define D3DCLEAR_ZBUFFER 0x00000002l /* Clear target z buffer */
195 #define D3DCLEAR_STENCIL 0x00000004l /* Clear stencil planes */
196 
197 /*
198  * The following defines the rendering states
199  */
200 
201 typedef enum _D3DSHADEMODE {
205  D3DSHADE_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
206 } D3DSHADEMODE;
207 
208 typedef enum _D3DFILLMODE {
212  D3DFILL_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
213 } D3DFILLMODE;
214 
215 typedef enum _D3DBLEND {
229  D3DBLEND_BLENDFACTOR = 14, /* Only supported if D3DPBLENDCAPS_BLENDFACTOR is on */
230  D3DBLEND_INVBLENDFACTOR = 15, /* Only supported if D3DPBLENDCAPS_BLENDFACTOR is on */
231 /* D3D9Ex only -- */
232 #if !defined(D3D_DISABLE_9EX)
233 
236 
237 #endif /* !D3D_DISABLE_9EX */
238 /* -- D3D9Ex only */
239  D3DBLEND_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
240 } D3DBLEND;
241 
242 typedef enum _D3DBLENDOP {
248  D3DBLENDOP_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
249 } D3DBLENDOP;
250 
251 typedef enum _D3DTEXTUREADDRESS {
257  D3DTADDRESS_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
259 
260 typedef enum _D3DCULL {
264  D3DCULL_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
265 } D3DCULL;
266 
267 typedef enum _D3DCMPFUNC {
276  D3DCMP_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
277 } D3DCMPFUNC;
278 
279 typedef enum _D3DSTENCILOP {
288  D3DSTENCILOP_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
289 } D3DSTENCILOP;
290 
291 typedef enum _D3DFOGMODE {
296  D3DFOG_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
297 } D3DFOGMODE;
298 
299 typedef enum _D3DZBUFFERTYPE {
301  D3DZB_TRUE = 1, /* Z buffering */
302  D3DZB_USEW = 2, /* W buffering */
303  D3DZB_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
305 
306 /* Primitives supported by draw-primitive API */
307 typedef enum _D3DPRIMITIVETYPE {
314  D3DPT_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
316 
328  D3DTS_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
330 
331 #define D3DTS_WORLDMATRIX(index) (D3DTRANSFORMSTATETYPE)(index + 256)
332 #define D3DTS_WORLD D3DTS_WORLDMATRIX(0)
333 #define D3DTS_WORLD1 D3DTS_WORLDMATRIX(1)
334 #define D3DTS_WORLD2 D3DTS_WORLDMATRIX(2)
335 #define D3DTS_WORLD3 D3DTS_WORLDMATRIX(3)
336 
337 typedef enum _D3DRENDERSTATETYPE {
338  D3DRS_ZENABLE = 7, /* D3DZBUFFERTYPE (or TRUE/FALSE for legacy) */
339  D3DRS_FILLMODE = 8, /* D3DFILLMODE */
340  D3DRS_SHADEMODE = 9, /* D3DSHADEMODE */
341  D3DRS_ZWRITEENABLE = 14, /* TRUE to enable z writes */
342  D3DRS_ALPHATESTENABLE = 15, /* TRUE to enable alpha tests */
343  D3DRS_LASTPIXEL = 16, /* TRUE for last-pixel on lines */
344  D3DRS_SRCBLEND = 19, /* D3DBLEND */
345  D3DRS_DESTBLEND = 20, /* D3DBLEND */
346  D3DRS_CULLMODE = 22, /* D3DCULL */
347  D3DRS_ZFUNC = 23, /* D3DCMPFUNC */
348  D3DRS_ALPHAREF = 24, /* D3DFIXED */
349  D3DRS_ALPHAFUNC = 25, /* D3DCMPFUNC */
350  D3DRS_DITHERENABLE = 26, /* TRUE to enable dithering */
351  D3DRS_ALPHABLENDENABLE = 27, /* TRUE to enable alpha blending */
352  D3DRS_FOGENABLE = 28, /* TRUE to enable fog blending */
353  D3DRS_SPECULARENABLE = 29, /* TRUE to enable specular */
354  D3DRS_FOGCOLOR = 34, /* D3DCOLOR */
355  D3DRS_FOGTABLEMODE = 35, /* D3DFOGMODE */
356  D3DRS_FOGSTART = 36, /* Fog start (for both vertex and pixel fog) */
357  D3DRS_FOGEND = 37, /* Fog end */
358  D3DRS_FOGDENSITY = 38, /* Fog density */
359  D3DRS_RANGEFOGENABLE = 48, /* Enables range-based fog */
360  D3DRS_STENCILENABLE = 52, /* BOOL enable/disable stenciling */
361  D3DRS_STENCILFAIL = 53, /* D3DSTENCILOP to do if stencil test fails */
362  D3DRS_STENCILZFAIL = 54, /* D3DSTENCILOP to do if stencil test passes and Z test fails */
363  D3DRS_STENCILPASS = 55, /* D3DSTENCILOP to do if both stencil and Z tests pass */
364  D3DRS_STENCILFUNC = 56, /* D3DCMPFUNC fn. Stencil Test passes if ((ref & mask) stencilfn (stencil & mask)) is true */
365  D3DRS_STENCILREF = 57, /* Reference value used in stencil test */
366  D3DRS_STENCILMASK = 58, /* Mask value used in stencil test */
367  D3DRS_STENCILWRITEMASK = 59, /* Write mask applied to values written to stencil buffer */
368  D3DRS_TEXTUREFACTOR = 60, /* D3DCOLOR used for multi-texture blend */
369  D3DRS_WRAP0 = 128, /* wrap for 1st texture coord. set */
370  D3DRS_WRAP1 = 129, /* wrap for 2nd texture coord. set */
371  D3DRS_WRAP2 = 130, /* wrap for 3rd texture coord. set */
372  D3DRS_WRAP3 = 131, /* wrap for 4th texture coord. set */
373  D3DRS_WRAP4 = 132, /* wrap for 5th texture coord. set */
374  D3DRS_WRAP5 = 133, /* wrap for 6th texture coord. set */
375  D3DRS_WRAP6 = 134, /* wrap for 7th texture coord. set */
376  D3DRS_WRAP7 = 135, /* wrap for 8th texture coord. set */
390  D3DRS_POINTSIZE = 154, /* float point size */
391  D3DRS_POINTSIZE_MIN = 155, /* float point size min threshold */
392  D3DRS_POINTSPRITEENABLE = 156, /* BOOL point texture coord control */
393  D3DRS_POINTSCALEENABLE = 157, /* BOOL point size scale enable */
394  D3DRS_POINTSCALE_A = 158, /* float point attenuation A value */
395  D3DRS_POINTSCALE_B = 159, /* float point attenuation B value */
396  D3DRS_POINTSCALE_C = 160, /* float point attenuation C value */
397  D3DRS_MULTISAMPLEANTIALIAS = 161, /* BOOL - set to do FSAA with multisample buffer */
398  D3DRS_MULTISAMPLEMASK = 162, /* DWORD - per-sample enable/disable */
399  D3DRS_PATCHEDGESTYLE = 163, /* Sets whether patch edges will use float style tessellation */
400  D3DRS_DEBUGMONITORTOKEN = 165, /* DEBUG ONLY - token to debug monitor */
401  D3DRS_POINTSIZE_MAX = 166, /* float point size max threshold */
403  D3DRS_COLORWRITEENABLE = 168, /* per-channel write enable */
404  D3DRS_TWEENFACTOR = 170, /* float tween factor */
405  D3DRS_BLENDOP = 171, /* D3DBLENDOP setting */
406  D3DRS_POSITIONDEGREE = 172, /* NPatch position interpolation degree. D3DDEGREE_LINEAR or D3DDEGREE_CUBIC (default) */
407  D3DRS_NORMALDEGREE = 173, /* NPatch normal interpolation degree. D3DDEGREE_LINEAR (default) or D3DDEGREE_QUADRATIC */
418  D3DRS_TWOSIDEDSTENCILMODE = 185, /* BOOL enable/disable 2 sided stenciling */
419  D3DRS_CCW_STENCILFAIL = 186, /* D3DSTENCILOP to do if ccw stencil test fails */
420  D3DRS_CCW_STENCILZFAIL = 187, /* D3DSTENCILOP to do if ccw stencil test passes and Z test fails */
421  D3DRS_CCW_STENCILPASS = 188, /* D3DSTENCILOP to do if both ccw stencil and Z tests pass */
422  D3DRS_CCW_STENCILFUNC = 189, /* D3DCMPFUNC fn. ccw Stencil Test passes if ((ref & mask) stencilfn (stencil & mask)) is true */
423  D3DRS_COLORWRITEENABLE1 = 190, /* Additional ColorWriteEnables for the devices that support D3DPMISCCAPS_INDEPENDENTWRITEMASKS */
424  D3DRS_COLORWRITEENABLE2 = 191, /* Additional ColorWriteEnables for the devices that support D3DPMISCCAPS_INDEPENDENTWRITEMASKS */
425  D3DRS_COLORWRITEENABLE3 = 192, /* Additional ColorWriteEnables for the devices that support D3DPMISCCAPS_INDEPENDENTWRITEMASKS */
426  D3DRS_BLENDFACTOR = 193, /* D3DCOLOR used for a constant blend factor during alpha blending for devices that support D3DPBLENDCAPS_BLENDFACTOR */
427  D3DRS_SRGBWRITEENABLE = 194, /* Enable rendertarget writes to be DE-linearized to SRGB (for formats that expose D3DUSAGE_QUERY_SRGBWRITE) */
429  D3DRS_WRAP8 = 198, /* Additional wrap states for vs_3_0+ attributes with D3DDECLUSAGE_TEXCOORD */
430  D3DRS_WRAP9 = 199,
437  D3DRS_SEPARATEALPHABLENDENABLE = 206, /* TRUE to enable a separate blending function for the alpha channel */
438  D3DRS_SRCBLENDALPHA = 207, /* SRC blend factor for the alpha channel when D3DRS_SEPARATEDESTALPHAENABLE is TRUE */
439  D3DRS_DESTBLENDALPHA = 208, /* DST blend factor for the alpha channel when D3DRS_SEPARATEDESTALPHAENABLE is TRUE */
440  D3DRS_BLENDOPALPHA = 209, /* Blending operation for the alpha channel when D3DRS_SEPARATEDESTALPHAENABLE is TRUE */
441 
442 
443  D3DRS_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
445 
446 /* Maximum number of simultaneous render targets D3D supports */
447 #define D3D_MAX_SIMULTANEOUS_RENDERTARGETS 4
448 
449 /* Values for material source */
451 {
452  D3DMCS_MATERIAL = 0, /* Color from material is used */
453  D3DMCS_COLOR1 = 1, /* Diffuse vertex color is used */
454  D3DMCS_COLOR2 = 2, /* Specular vertex color is used */
455  D3DMCS_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
457 
458 /* Bias to apply to the texture coordinate set to apply a wrap to. */
459 #define D3DRENDERSTATE_WRAPBIAS 128UL
460 
461 /* Flags to construct the WRAP render states */
462 #define D3DWRAP_U 0x00000001L
463 #define D3DWRAP_V 0x00000002L
464 #define D3DWRAP_W 0x00000004L
465 
466 /* Flags to construct the WRAP render states for 1D thru 4D texture coordinates */
467 #define D3DWRAPCOORD_0 0x00000001L /* same as D3DWRAP_U */
468 #define D3DWRAPCOORD_1 0x00000002L /* same as D3DWRAP_V */
469 #define D3DWRAPCOORD_2 0x00000004L /* same as D3DWRAP_W */
470 #define D3DWRAPCOORD_3 0x00000008L
471 
472 /* Flags to construct D3DRS_COLORWRITEENABLE */
473 #define D3DCOLORWRITEENABLE_RED (1L<<0)
474 #define D3DCOLORWRITEENABLE_GREEN (1L<<1)
475 #define D3DCOLORWRITEENABLE_BLUE (1L<<2)
476 #define D3DCOLORWRITEENABLE_ALPHA (1L<<3)
477 
478 /*
479  * State enumerants for per-stage processing of fixed function pixel processing
480  * Two of these affect fixed function vertex processing as well: TEXTURETRANSFORMFLAGS and TEXCOORDINDEX.
481  */
483 {
484  D3DTSS_COLOROP = 1, /* D3DTEXTUREOP - per-stage blending controls for color channels */
485  D3DTSS_COLORARG1 = 2, /* D3DTA_* (texture arg) */
486  D3DTSS_COLORARG2 = 3, /* D3DTA_* (texture arg) */
487  D3DTSS_ALPHAOP = 4, /* D3DTEXTUREOP - per-stage blending controls for alpha channel */
488  D3DTSS_ALPHAARG1 = 5, /* D3DTA_* (texture arg) */
489  D3DTSS_ALPHAARG2 = 6, /* D3DTA_* (texture arg) */
490  D3DTSS_BUMPENVMAT00 = 7, /* float (bump mapping matrix) */
491  D3DTSS_BUMPENVMAT01 = 8, /* float (bump mapping matrix) */
492  D3DTSS_BUMPENVMAT10 = 9, /* float (bump mapping matrix) */
493  D3DTSS_BUMPENVMAT11 = 10, /* float (bump mapping matrix) */
494  D3DTSS_TEXCOORDINDEX = 11, /* identifies which set of texture coordinates index this texture */
495  D3DTSS_BUMPENVLSCALE = 22, /* float scale for bump map luminance */
496  D3DTSS_BUMPENVLOFFSET = 23, /* float offset for bump map luminance */
497  D3DTSS_TEXTURETRANSFORMFLAGS = 24, /* D3DTEXTURETRANSFORMFLAGS controls texture transform */
498  D3DTSS_COLORARG0 = 26, /* D3DTA_* third arg for triadic ops */
499  D3DTSS_ALPHAARG0 = 27, /* D3DTA_* third arg for triadic ops */
500  D3DTSS_RESULTARG = 28, /* D3DTA_* arg for result (CURRENT or TEMP) */
501  D3DTSS_CONSTANT = 32, /* Per-stage constant D3DTA_CONSTANT */
502 
503 
504  D3DTSS_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
506 
507 /*
508  * State enumerants for per-sampler texture processing.
509  */
511 {
512  D3DSAMP_ADDRESSU = 1, /* D3DTEXTUREADDRESS for U coordinate */
513  D3DSAMP_ADDRESSV = 2, /* D3DTEXTUREADDRESS for V coordinate */
514  D3DSAMP_ADDRESSW = 3, /* D3DTEXTUREADDRESS for W coordinate */
515  D3DSAMP_BORDERCOLOR = 4, /* D3DCOLOR */
516  D3DSAMP_MAGFILTER = 5, /* D3DTEXTUREFILTER filter to use for magnification */
517  D3DSAMP_MINFILTER = 6, /* D3DTEXTUREFILTER filter to use for minification */
518  D3DSAMP_MIPFILTER = 7, /* D3DTEXTUREFILTER filter to use between mipmaps during minification */
519  D3DSAMP_MIPMAPLODBIAS = 8, /* float Mipmap LOD bias */
520  D3DSAMP_MAXMIPLEVEL = 9, /* DWORD 0..(n-1) LOD index of largest map to use (0 == largest) */
521  D3DSAMP_MAXANISOTROPY = 10, /* DWORD maximum anisotropy */
522  D3DSAMP_SRGBTEXTURE = 11, /* Default = 0 (which means Gamma 1.0,
523  no correction required.) else correct for
524  Gamma = 2.2 */
525  D3DSAMP_ELEMENTINDEX = 12, /* When multi-element texture is assigned to sampler, this
526  indicates which element index to use. Default = 0. */
527  D3DSAMP_DMAPOFFSET = 13, /* Offset in vertices in the pre-sampled displacement map.
528  Only valid for D3DDMAPSAMPLER sampler */
529  D3DSAMP_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
531 
532 /* Special sampler which is used in the tesselator */
533 #define D3DDMAPSAMPLER 256
534 
535 /* Samplers used in vertex shaders */
536 #define D3DVERTEXTEXTURESAMPLER0 (D3DDMAPSAMPLER+1)
537 #define D3DVERTEXTEXTURESAMPLER1 (D3DDMAPSAMPLER+2)
538 #define D3DVERTEXTEXTURESAMPLER2 (D3DDMAPSAMPLER+3)
539 #define D3DVERTEXTEXTURESAMPLER3 (D3DDMAPSAMPLER+4)
540 
541 /* Values, used with D3DTSS_TEXCOORDINDEX, to specify that the vertex data(position
542  * and normal in the camera space) should be taken as texture coordinates
543  * Low 16 bits are used to specify texture coordinate index, to take the WRAP mode from
544 */
545 #define D3DTSS_TCI_PASSTHRU 0x00000000
546 #define D3DTSS_TCI_CAMERASPACENORMAL 0x00010000
547 #define D3DTSS_TCI_CAMERASPACEPOSITION 0x00020000
548 #define D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR 0x00030000
549 #define D3DTSS_TCI_SPHEREMAP 0x00040000
550 
551 /*
552  * Enumerations for COLOROP and ALPHAOP texture blending operations set in
553  * texture processing stage controls in D3DTSS.
554  */
555 typedef enum _D3DTEXTUREOP
556 {
557  /* Control */
558  D3DTOP_DISABLE = 1, /* disables stage */
559  D3DTOP_SELECTARG1 = 2, /* the default */
561 
562  /* Modulate */
563  D3DTOP_MODULATE = 4, /* multiply args together */
564  D3DTOP_MODULATE2X = 5, /* multiply and 1 bit */
565  D3DTOP_MODULATE4X = 6, /* multiply and 2 bits */
566 
567  /* Add */
568  D3DTOP_ADD = 7, /* add arguments together */
569  D3DTOP_ADDSIGNED = 8, /* add with -0.5 bias */
570  D3DTOP_ADDSIGNED2X = 9, /* as above but left 1 bit */
571  D3DTOP_SUBTRACT = 10, /* Arg1 - Arg2, with no saturation */
572  D3DTOP_ADDSMOOTH = 11, /* add 2 args, subtract product */
573  /* Arg1 + Arg2 - Arg1*Arg2 */
574  /* = Arg1 + (1-Arg1)*Arg2 */
575 
576  /* Linear alpha blend: Arg1*(Alpha) + Arg2*(1-Alpha) */
577  D3DTOP_BLENDDIFFUSEALPHA = 12, /* iterated alpha */
578  D3DTOP_BLENDTEXTUREALPHA = 13, /* texture alpha */
579  D3DTOP_BLENDFACTORALPHA = 14, /* alpha from D3DRS_TEXTUREFACTOR */
580 
581  /* Linear alpha blend with pre-multiplied arg1 input: Arg1 + Arg2*(1-Alpha) */
582  D3DTOP_BLENDTEXTUREALPHAPM = 15, /* texture alpha */
583  D3DTOP_BLENDCURRENTALPHA = 16, /* by alpha of current color */
584 
585  /* Specular mapping */
586  D3DTOP_PREMODULATE = 17, /* modulate with next texture before use */
587  D3DTOP_MODULATEALPHA_ADDCOLOR = 18, /* Arg1.RGB + Arg1.A*Arg2.RGB
588  * COLOROP only */
589  D3DTOP_MODULATECOLOR_ADDALPHA = 19, /* Arg1.RGB*Arg2.RGB + Arg1.A
590  * COLOROP only */
591  D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20, /* (1-Arg1.A)*Arg2.RGB + Arg1.RGB
592  * COLOROP only */
593  D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21, /* (1-Arg1.RGB)*Arg2.RGB + Arg1.A
594  * COLOROP only */
595 
596  /* Bump mapping */
597  D3DTOP_BUMPENVMAP = 22, /* per pixel env map perturbation */
598  D3DTOP_BUMPENVMAPLUMINANCE = 23, /* with luminance channel */
599 
600  /* This can do either diffuse or specular bump mapping with correct input.
601  * Performs the function (Arg1.R*Arg2.R + Arg1.G*Arg2.G + Arg1.B*Arg2.B)
602  * where each component has been scaled and offset to make it signed.
603  * The result is replicated into all four (including alpha) channels.
604  * This is a valid COLOROP only.
605  */
607 
608  /* Triadic ops */
609  D3DTOP_MULTIPLYADD = 25, /* Arg0 + Arg1*Arg2 */
610  D3DTOP_LERP = 26, /* (Arg0)*Arg1 + (1-Arg0)*Arg2 */
611 
612  D3DTOP_FORCE_DWORD = 0x7fffffff
613 } D3DTEXTUREOP;
614 
615 /*
616  * Values for COLORARG0,1,2, ALPHAARG0,1,2, and RESULTARG texture blending
617  * operations set in texture processing stage controls in D3DRENDERSTATE.
618  */
619 #define D3DTA_SELECTMASK 0x0000000f /* mask for arg selector */
620 #define D3DTA_DIFFUSE 0x00000000 /* select diffuse color (read only) */
621 #define D3DTA_CURRENT 0x00000001 /* select stage destination register (read/write) */
622 #define D3DTA_TEXTURE 0x00000002 /* select texture color (read only) */
623 #define D3DTA_TFACTOR 0x00000003 /* select D3DRS_TEXTUREFACTOR (read only) */
624 #define D3DTA_SPECULAR 0x00000004 /* select specular color (read only) */
625 #define D3DTA_TEMP 0x00000005 /* select temporary register color (read/write) */
626 #define D3DTA_CONSTANT 0x00000006 /* select texture stage constant */
627 #define D3DTA_COMPLEMENT 0x00000010 /* take 1.0 - x (read modifier) */
628 #define D3DTA_ALPHAREPLICATE 0x00000020 /* replicate alpha to color components (read modifier) */
629 
630 /* Values for D3DSAMP_***FILTER texture stage states */
632 {
633  D3DTEXF_NONE = 0, /* filtering disabled (valid for mip filter only) */
634  D3DTEXF_POINT = 1, /* nearest */
635  D3DTEXF_LINEAR = 2, /* linear interpolation */
636  D3DTEXF_ANISOTROPIC = 3, /* anisotropic */
637  D3DTEXF_PYRAMIDALQUAD = 6, /* 4-sample tent */
638  D3DTEXF_GAUSSIANQUAD = 7, /* 4-sample gaussian */
639 
640  /* D3D9Ex only -- */
641 #if !defined(D3D_DISABLE_9EX)
642 
643  D3DTEXF_CONVOLUTIONMONO = 8, /* Convolution filter for monochrome textures */
644 
645 #endif /* !D3D_DISABLE_9EX */
646 /* -- D3D9Ex only */
647  D3DTEXF_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
649 
650 /* Bits for Flags in ProcessVertices call */
651 
652 #define D3DPV_DONOTCOPYDATA (1 << 0)
653 
654 /*------------------------------------------------------------------- */
655 
656 /* Flexible vertex format bits */
657 #define D3DFVF_RESERVED0 0x001
658 #define D3DFVF_POSITION_MASK 0x400E
659 #define D3DFVF_XYZ 0x002
660 #define D3DFVF_XYZRHW 0x004
661 #define D3DFVF_XYZB1 0x006
662 #define D3DFVF_XYZB2 0x008
663 #define D3DFVF_XYZB3 0x00a
664 #define D3DFVF_XYZB4 0x00c
665 #define D3DFVF_XYZB5 0x00e
666 #define D3DFVF_XYZW 0x4002
667 
668 #define D3DFVF_NORMAL 0x010
669 #define D3DFVF_PSIZE 0x020
670 #define D3DFVF_DIFFUSE 0x040
671 #define D3DFVF_SPECULAR 0x080
672 
673 #define D3DFVF_TEXCOUNT_MASK 0xf00
674 #define D3DFVF_TEXCOUNT_SHIFT 8
675 #define D3DFVF_TEX0 0x000
676 #define D3DFVF_TEX1 0x100
677 #define D3DFVF_TEX2 0x200
678 #define D3DFVF_TEX3 0x300
679 #define D3DFVF_TEX4 0x400
680 #define D3DFVF_TEX5 0x500
681 #define D3DFVF_TEX6 0x600
682 #define D3DFVF_TEX7 0x700
683 #define D3DFVF_TEX8 0x800
684 
685 #define D3DFVF_LASTBETA_UBYTE4 0x1000
686 #define D3DFVF_LASTBETA_D3DCOLOR 0x8000
687 
688 #define D3DFVF_RESERVED2 0x6000 /* 2 reserved bits */
689 
690 /*---------------------------------------------------------------------
691  * Vertex Shaders
692 */
693 
694 /* Vertex shader declaration */
695 
696 /* Vertex element semantics */
697 typedef enum _D3DDECLUSAGE
698 {
713 } D3DDECLUSAGE;
714 
715 #define MAXD3DDECLUSAGE D3DDECLUSAGE_SAMPLE
716 #define MAXD3DDECLUSAGEINDEX 15
717 #define MAXD3DDECLLENGTH 64 /* does not include "end" marker vertex element */
718 
719 typedef enum _D3DDECLMETHOD
720 {
724  D3DDECLMETHOD_CROSSUV, /* Normal */
726  D3DDECLMETHOD_LOOKUP, /* Lookup a displacement map */
727  D3DDECLMETHOD_LOOKUPPRESAMPLED /* Lookup a pre-sampled displacement map */
728 } D3DDECLMETHOD;
729 
730 #define MAXD3DDECLMETHOD D3DDECLMETHOD_LOOKUPPRESAMPLED
731 
732 /* Declarations for _Type fields */
733 typedef enum _D3DDECLTYPE
734 {
735  D3DDECLTYPE_FLOAT1 = 0, /* 1D float expanded to (value, 0., 0., 1.) */
736  D3DDECLTYPE_FLOAT2 = 1, /* 2D float expanded to (value, value, 0., 1.) */
737  D3DDECLTYPE_FLOAT3 = 2, /* 3D float expanded to (value, value, value, 1.) */
738  D3DDECLTYPE_FLOAT4 = 3, /* 4D float */
739  D3DDECLTYPE_D3DCOLOR = 4, /* 4D packed unsigned bytes mapped to 0. to 1. range */
740  /* Input is in D3DCOLOR format (ARGB) expanded to (R, G, B, A) */
741  D3DDECLTYPE_UBYTE4 = 5, /* 4D unsigned byte */
742  D3DDECLTYPE_SHORT2 = 6, /* 2D signed short expanded to (value, value, 0., 1.) */
743  D3DDECLTYPE_SHORT4 = 7, /* 4D signed short */
744 
745  /* The following types are valid only with vertex shaders >= 2.0 */
746 
747  D3DDECLTYPE_UBYTE4N = 8, /* Each of 4 bytes is normalized by dividing to 255.0 */
748  D3DDECLTYPE_SHORT2N = 9, /* 2D signed short normalized (v[0]/32767.0,v[1]/32767.0,0,1) */
749  D3DDECLTYPE_SHORT4N = 10, /* 4D signed short normalized (v[0]/32767.0,v[1]/32767.0,v[2]/32767.0,v[3]/32767.0) */
750  D3DDECLTYPE_USHORT2N = 11, /* 2D unsigned short normalized (v[0]/65535.0,v[1]/65535.0,0,1) */
751  D3DDECLTYPE_USHORT4N = 12, /* 4D unsigned short normalized (v[0]/65535.0,v[1]/65535.0,v[2]/65535.0,v[3]/65535.0) */
752  D3DDECLTYPE_UDEC3 = 13, /* 3D unsigned 10 10 10 format expanded to (value, value, value, 1) */
753  D3DDECLTYPE_DEC3N = 14, /* 3D signed 10 10 10 format normalized and expanded to (v[0]/511.0, v[1]/511.0, v[2]/511.0, 1) */
754  D3DDECLTYPE_FLOAT16_2 = 15, /* Two 16-bit floating point values, expanded to (value, value, 0, 1) */
755  D3DDECLTYPE_FLOAT16_4 = 16, /* Four 16-bit floating point values */
756  D3DDECLTYPE_UNUSED = 17 /* When the type field in a decl is unused. */
757 } D3DDECLTYPE;
758 
759 #define MAXD3DDECLTYPE D3DDECLTYPE_UNUSED
760 
761 typedef struct _D3DVERTEXELEMENT9
762 {
763  WORD Stream; /* Stream index */
764  WORD Offset; /* Offset in the stream in bytes */
765  BYTE Type; /* Data type */
766  BYTE Method; /* Processing method */
767  BYTE Usage; /* Semantics */
768  BYTE UsageIndex; /* Semantic index */
770 
771 /* This is used to initialize the last vertex element in a vertex declaration
772  * array */
773 #define D3DDECL_END() {0xFF,0,D3DDECLTYPE_UNUSED,0,0,0}
774 
775 /* Maximum supported number of texture coordinate sets */
776 #define D3DDP_MAXTEXCOORD 8
777 
778 /*---------------------------------------------------------------------
779  * Values for IDirect3DDevice9::SetStreamSourceFreq's Setting parameter
780  *---------------------------------------------------------------------
781  */
782 #define D3DSTREAMSOURCE_INDEXEDDATA (1<<30)
783 #define D3DSTREAMSOURCE_INSTANCEDATA (2<<30)
784 
785 
786 
787 /*---------------------------------------------------------------------
788  *
789  * The internal format of Pixel Shader (PS) & Vertex Shader (VS)
790  * Instruction Tokens is defined in the Direct3D Device Driver Kit
791  *
792  *---------------------------------------------------------------------
793  */
794 
795 /* Instruction Token Bit Definitions */
796 #define D3DSI_OPCODE_MASK 0x0000FFFF
797 
798 #define D3DSI_INSTLENGTH_MASK 0x0F000000
799 #define D3DSI_INSTLENGTH_SHIFT 24
800 
802 {
852 
886 
887  D3DSIO_PHASE = 0xFFFD,
888  D3DSIO_COMMENT = 0xFFFE,
889  D3DSIO_END = 0xFFFF,
890 
891  D3DSIO_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
893 
894 /*---------------------------------------------------------------------
895  * Use these constants with D3DSIO_SINCOS macro as SRC2, SRC3
896  */
897 #define D3DSINCOSCONST1 -1.5500992e-006f, -2.1701389e-005f, 0.0026041667f, 0.00026041668f
898 #define D3DSINCOSCONST2 -0.020833334f, -0.12500000f, 1.0f, 0.50000000f
899 
900 /*---------------------------------------------------------------------
901  * Co-Issue Instruction Modifier - if set then this instruction is to be
902  * issued in parallel with the previous instruction(s) for which this bit
903  * is not set.
904  */
905 #define D3DSI_COISSUE 0x40000000
906 
907 /*---------------------------------------------------------------------
908  * Opcode specific controls
909  */
910 
911 #define D3DSP_OPCODESPECIFICCONTROL_MASK 0x00ff0000
912 #define D3DSP_OPCODESPECIFICCONTROL_SHIFT 16
913 
914 /* ps_2_0 texld controls */
915 #define D3DSI_TEXLD_PROJECT (0x01 << D3DSP_OPCODESPECIFICCONTROL_SHIFT)
916 #define D3DSI_TEXLD_BIAS (0x02 << D3DSP_OPCODESPECIFICCONTROL_SHIFT)
917 
918 /* Comparison for dynamic conditional instruction opcodes (i.e. if, breakc) */
920 {
921  /* < = > */
922  D3DSPC_RESERVED0= 0, /* 0 0 0 */
923  D3DSPC_GT = 1, /* 0 0 1 */
924  D3DSPC_EQ = 2, /* 0 1 0 */
925  D3DSPC_GE = 3, /* 0 1 1 */
926  D3DSPC_LT = 4, /* 1 0 0 */
927  D3DSPC_NE = 5, /* 1 0 1 */
928  D3DSPC_LE = 6, /* 1 1 0 */
929  D3DSPC_RESERVED1= 7 /* 1 1 1 */
931 
932 /* Comparison is part of instruction opcode token: */
933 #define D3DSHADER_COMPARISON_SHIFT D3DSP_OPCODESPECIFICCONTROL_SHIFT
934 #define D3DSHADER_COMPARISON_MASK (0x7<<D3DSHADER_COMPARISON_SHIFT)
935 
936 /*---------------------------------------------------------------------
937  * Predication flags on instruction token */
938 #define D3DSHADER_INSTRUCTION_PREDICATED (0x1 << 28)
939 
940 /*---------------------------------------------------------------------
941  * DCL Info Token Controls */
942 
943 /* For dcl info tokens requiring a semantic (usage + index) */
944 #define D3DSP_DCL_USAGE_SHIFT 0
945 #define D3DSP_DCL_USAGE_MASK 0x0000000f
946 
947 #define D3DSP_DCL_USAGEINDEX_SHIFT 16
948 #define D3DSP_DCL_USAGEINDEX_MASK 0x000f0000
949 
950 /* DCL pixel shader sampler info token. */
951 #define D3DSP_TEXTURETYPE_SHIFT 27
952 #define D3DSP_TEXTURETYPE_MASK 0x78000000
953 
955 {
956  D3DSTT_UNKNOWN = 0<<D3DSP_TEXTURETYPE_SHIFT, /* uninitialized value */
957  D3DSTT_2D = 2<<D3DSP_TEXTURETYPE_SHIFT, /* dcl_2d s# (for declaring a 2-D texture) */
958  D3DSTT_CUBE = 3<<D3DSP_TEXTURETYPE_SHIFT, /* dcl_cube s# (for declaring a cube texture) */
959  D3DSTT_VOLUME = 4<<D3DSP_TEXTURETYPE_SHIFT, /* dcl_volume s# (for declaring a volume texture) */
960  D3DSTT_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
962 
963 /*---------------------------------------------------------------------
964  * Parameter Token Bit Definitions
965  */
966 #define D3DSP_REGNUM_MASK 0x000007FF
967 
968 /* destination parameter write mask */
969 #define D3DSP_WRITEMASK_0 0x00010000 /* Component 0 (X;Red) */
970 #define D3DSP_WRITEMASK_1 0x00020000 /* Component 1 (Y;Green) */
971 #define D3DSP_WRITEMASK_2 0x00040000 /* Component 2 (Z;Blue) */
972 #define D3DSP_WRITEMASK_3 0x00080000 /* Component 3 (W;Alpha) */
973 #define D3DSP_WRITEMASK_ALL 0x000F0000 /* All Components */
974 
975 /* destination parameter modifiers */
976 #define D3DSP_DSTMOD_SHIFT 20
977 #define D3DSP_DSTMOD_MASK 0x00F00000
978 
979 /* Bit masks for destination parameter modifiers */
980 #define D3DSPDM_NONE (0<<D3DSP_DSTMOD_SHIFT) /* nop */
981 #define D3DSPDM_SATURATE (1<<D3DSP_DSTMOD_SHIFT) /* clamp to 0. to 1. range */
982 #define D3DSPDM_PARTIALPRECISION (2<<D3DSP_DSTMOD_SHIFT) /* Partial precision hint */
983 #define D3DSPDM_MSAMPCENTROID (4<<D3DSP_DSTMOD_SHIFT) /* Relevant to multisampling only: */
984  /* When the pixel center is not covered, sample */
985  /* attribute or compute gradients/LOD */
986  /* using multisample "centroid" location. */
987  /* "Centroid" is some location within the covered */
988  /* region of the pixel. */
989 
990 /* destination parameter */
991 #define D3DSP_DSTSHIFT_SHIFT 24
992 #define D3DSP_DSTSHIFT_MASK 0x0F000000
993 
994 /* destination/source parameter register type */
995 #define D3DSP_REGTYPE_SHIFT 28
996 #define D3DSP_REGTYPE_SHIFT2 8
997 #define D3DSP_REGTYPE_MASK 0x70000000
998 #define D3DSP_REGTYPE_MASK2 0x00001800
999 
1001 {
1002  D3DSPR_TEMP = 0, /* Temporary Register File */
1003  D3DSPR_INPUT = 1, /* Input Register File */
1004  D3DSPR_CONST = 2, /* Constant Register File */
1005  D3DSPR_ADDR = 3, /* Address Register (VS) */
1006  D3DSPR_TEXTURE = 3, /* Texture Register File (PS) */
1007  D3DSPR_RASTOUT = 4, /* Rasterizer Register File */
1008  D3DSPR_ATTROUT = 5, /* Attribute Output Register File */
1009  D3DSPR_TEXCRDOUT = 6, /* Texture Coordinate Output Register File */
1010  D3DSPR_OUTPUT = 6, /* Output register file for VS3.0+ */
1011  D3DSPR_CONSTINT = 7, /* Constant Integer Vector Register File */
1012  D3DSPR_COLOROUT = 8, /* Color Output Register File */
1013  D3DSPR_DEPTHOUT = 9, /* Depth Output Register File */
1014  D3DSPR_SAMPLER = 10, /* Sampler State Register File */
1015  D3DSPR_CONST2 = 11, /* Constant Register File 2048 - 4095 */
1016  D3DSPR_CONST3 = 12, /* Constant Register File 4096 - 6143 */
1017  D3DSPR_CONST4 = 13, /* Constant Register File 6144 - 8191 */
1018  D3DSPR_CONSTBOOL = 14, /* Constant Boolean register file */
1019  D3DSPR_LOOP = 15, /* Loop counter register file */
1020  D3DSPR_TEMPFLOAT16 = 16, /* 16-bit float temp register file */
1021  D3DSPR_MISCTYPE = 17, /* Miscellaneous (single) registers. */
1022  D3DSPR_LABEL = 18, /* Label */
1023  D3DSPR_PREDICATE = 19, /* Predicate register */
1024  D3DSPR_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
1026 
1027 /* The miscellaneous register file (D3DSPR_MISCTYPES)
1028  * contains register types for which there is only ever one
1029  * register (i.e. the register # is not needed).
1030  * Rather than use up additional register types for such
1031  * registers, they are defined
1032  * as particular offsets into the misc. register file:
1033  */
1034 
1036 {
1037  D3DSMO_POSITION = 0, /* Input position x,y,z,rhw (PS) */
1038  D3DSMO_FACE = 1 /* Floating point primitive area (PS) */
1040 
1041 /* Register offsets in the Rasterizer Register File */
1043 {
1047  D3DSRO_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
1049 
1050 /* Source operand addressing modes */
1051 
1052 #define D3DVS_ADDRESSMODE_SHIFT 13
1053 #define D3DVS_ADDRESSMODE_MASK (1 << D3DVS_ADDRESSMODE_SHIFT)
1054 
1056 {
1059  D3DVS_ADDRMODE_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
1061 
1062 #define D3DSHADER_ADDRESSMODE_SHIFT 13
1063 #define D3DSHADER_ADDRESSMODE_MASK (1 << D3DSHADER_ADDRESSMODE_SHIFT)
1064 
1066 {
1069  D3DSHADER_ADDRMODE_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
1071 
1072 /* Source operand swizzle definitions */
1073 #define D3DVS_SWIZZLE_SHIFT 16
1074 #define D3DVS_SWIZZLE_MASK 0x00FF0000
1075 
1076 /* The following bits define where to take component X from: */
1077 
1078 #define D3DVS_X_X (0 << D3DVS_SWIZZLE_SHIFT)
1079 #define D3DVS_X_Y (1 << D3DVS_SWIZZLE_SHIFT)
1080 #define D3DVS_X_Z (2 << D3DVS_SWIZZLE_SHIFT)
1081 #define D3DVS_X_W (3 << D3DVS_SWIZZLE_SHIFT)
1082 
1083 /* The following bits define where to take component Y from: */
1084 
1085 #define D3DVS_Y_X (0 << (D3DVS_SWIZZLE_SHIFT + 2))
1086 #define D3DVS_Y_Y (1 << (D3DVS_SWIZZLE_SHIFT + 2))
1087 #define D3DVS_Y_Z (2 << (D3DVS_SWIZZLE_SHIFT + 2))
1088 #define D3DVS_Y_W (3 << (D3DVS_SWIZZLE_SHIFT + 2))
1089 
1090 /* The following bits define where to take component Z from: */
1091 
1092 #define D3DVS_Z_X (0 << (D3DVS_SWIZZLE_SHIFT + 4))
1093 #define D3DVS_Z_Y (1 << (D3DVS_SWIZZLE_SHIFT + 4))
1094 #define D3DVS_Z_Z (2 << (D3DVS_SWIZZLE_SHIFT + 4))
1095 #define D3DVS_Z_W (3 << (D3DVS_SWIZZLE_SHIFT + 4))
1096 
1097 /* The following bits define where to take component W from: */
1098 
1099 #define D3DVS_W_X (0 << (D3DVS_SWIZZLE_SHIFT + 6))
1100 #define D3DVS_W_Y (1 << (D3DVS_SWIZZLE_SHIFT + 6))
1101 #define D3DVS_W_Z (2 << (D3DVS_SWIZZLE_SHIFT + 6))
1102 #define D3DVS_W_W (3 << (D3DVS_SWIZZLE_SHIFT + 6))
1103 
1104 /* Value when there is no swizzle (X is taken from X, Y is taken from Y,
1105  * Z is taken from Z, W is taken from W
1106  */
1107 #define D3DVS_NOSWIZZLE (D3DVS_X_X | D3DVS_Y_Y | D3DVS_Z_Z | D3DVS_W_W)
1108 
1109 /* source parameter swizzle */
1110 #define D3DSP_SWIZZLE_SHIFT 16
1111 #define D3DSP_SWIZZLE_MASK 0x00FF0000
1112 
1113 #define D3DSP_NOSWIZZLE \
1114  ( (0 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
1115  (1 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
1116  (2 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
1117  (3 << (D3DSP_SWIZZLE_SHIFT + 6)) )
1118 
1119 /* pixel-shader swizzle ops */
1120 #define D3DSP_REPLICATERED \
1121  ( (0 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
1122  (0 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
1123  (0 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
1124  (0 << (D3DSP_SWIZZLE_SHIFT + 6)) )
1125 
1126 #define D3DSP_REPLICATEGREEN \
1127  ( (1 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
1128  (1 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
1129  (1 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
1130  (1 << (D3DSP_SWIZZLE_SHIFT + 6)) )
1131 
1132 #define D3DSP_REPLICATEBLUE \
1133  ( (2 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
1134  (2 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
1135  (2 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
1136  (2 << (D3DSP_SWIZZLE_SHIFT + 6)) )
1137 
1138 #define D3DSP_REPLICATEALPHA \
1139  ( (3 << (D3DSP_SWIZZLE_SHIFT + 0)) | \
1140  (3 << (D3DSP_SWIZZLE_SHIFT + 2)) | \
1141  (3 << (D3DSP_SWIZZLE_SHIFT + 4)) | \
1142  (3 << (D3DSP_SWIZZLE_SHIFT + 6)) )
1143 
1144 /* source parameter modifiers */
1145 #define D3DSP_SRCMOD_SHIFT 24
1146 #define D3DSP_SRCMOD_MASK 0x0F000000
1147 
1149 {
1151  D3DSPSM_NEG = 1<<D3DSP_SRCMOD_SHIFT, /* negate */
1153  D3DSPSM_BIASNEG = 3<<D3DSP_SRCMOD_SHIFT, /* bias and negate */
1155  D3DSPSM_SIGNNEG = 5<<D3DSP_SRCMOD_SHIFT, /* sign and negate */
1156  D3DSPSM_COMP = 6<<D3DSP_SRCMOD_SHIFT, /* complement */
1158  D3DSPSM_X2NEG = 8<<D3DSP_SRCMOD_SHIFT, /* *2 and negate */
1159  D3DSPSM_DZ = 9<<D3DSP_SRCMOD_SHIFT, /* divide through by z component */
1160  D3DSPSM_DW = 10<<D3DSP_SRCMOD_SHIFT, /* divide through by w component */
1161  D3DSPSM_ABS = 11<<D3DSP_SRCMOD_SHIFT, /* abs() */
1163  D3DSPSM_NOT = 13<<D3DSP_SRCMOD_SHIFT, /* for predicate register: "!p0" */
1164  D3DSPSM_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
1166 
1167 /* Source or dest token bits [15:14]:
1168  * destination parameter modifiers
1169  */
1170 #define D3DSP_MIN_PRECISION_SHIFT 14
1171 #define D3DSP_MIN_PRECISION_MASK 0x0000C000
1172 
1174 {
1175  D3DMP_DEFAULT = 0, /* Default precision for the shader model */
1176  D3DMP_16 = 1, /* 16 bit per component */
1177  D3DMP_2_8 = 2 /* 10 bits (2.8) per component */
1179 
1180 /* If the older D3DSPDM_PARTIALPRECISION is set,
1181  * that is equivalent to the whole operation specifying
1182  * D3DMP_16 (on all operands). The two encodings are not
1183  * used together however.
1184  */
1185 
1186 /* pixel shader version token */
1187 #define D3DPS_VERSION(_Major,_Minor) (0xFFFF0000|((_Major)<<8)|(_Minor))
1188 
1189 /* vertex shader version token */
1190 #define D3DVS_VERSION(_Major,_Minor) (0xFFFE0000|((_Major)<<8)|(_Minor))
1191 
1192 /* extract major/minor from version cap */
1193 #define D3DSHADER_VERSION_MAJOR(_Version) (((_Version)>>8)&0xFF)
1194 #define D3DSHADER_VERSION_MINOR(_Version) (((_Version)>>0)&0xFF)
1195 
1196 /* destination/source parameter register type */
1197 #define D3DSI_COMMENTSIZE_SHIFT 16
1198 #define D3DSI_COMMENTSIZE_MASK 0x7FFF0000
1199 #define D3DSHADER_COMMENT(_DWordSize) \
1200  ((((_DWordSize)<<D3DSI_COMMENTSIZE_SHIFT)&D3DSI_COMMENTSIZE_MASK)|D3DSIO_COMMENT)
1201 
1202 /* pixel/vertex shader end token */
1203 #define D3DPS_END() 0x0000FFFF
1204 #define D3DVS_END() 0x0000FFFF
1205 
1206 
1207 /*--------------------------------------------------------------------- */
1208 
1209 /* High order surfaces */
1210 typedef enum _D3DBASISTYPE
1211 {
1214  D3DBASIS_CATMULL_ROM = 2, /* In D3D8 this used to be D3DBASIS_INTERPOLATE */
1216 } D3DBASISTYPE;
1217 
1218 typedef enum _D3DDEGREETYPE
1219 {
1225 } D3DDEGREETYPE;
1226 
1228 {
1233 
1235 {
1236  D3DSBT_ALL = 1, /* capture all state */
1237  D3DSBT_PIXELSTATE = 2, /* capture pixel state */
1238  D3DSBT_VERTEXSTATE = 3, /* capture vertex state */
1239  D3DSBT_FORCE_DWORD = 0x7fffffff
1241 
1242 /* The D3DVERTEXBLENDFLAGS type is used with D3DRS_VERTEXBLEND state. */
1244 {
1245  D3DVBF_DISABLE = 0, /* Disable vertex blending */
1246  D3DVBF_1WEIGHTS = 1, /* 2 matrix blending */
1247  D3DVBF_2WEIGHTS = 2, /* 3 matrix blending */
1248  D3DVBF_3WEIGHTS = 3, /* 4 matrix blending */
1249  D3DVBF_TWEENING = 255, /* blending using D3DRS_TWEENFACTOR */
1250  D3DVBF_0WEIGHTS = 256, /* one matrix is used with weight 1.0 */
1251  D3DVBF_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
1253 
1255  D3DTTFF_DISABLE = 0, /* texture coordinates are passed directly */
1256  D3DTTFF_COUNT1 = 1, /* rasterizer should expect 1-D texture coords */
1257  D3DTTFF_COUNT2 = 2, /* rasterizer should expect 2-D texture coords */
1258  D3DTTFF_COUNT3 = 3, /* rasterizer should expect 3-D texture coords */
1259  D3DTTFF_COUNT4 = 4, /* rasterizer should expect 4-D texture coords */
1260  D3DTTFF_PROJECTED = 256, /* texcoords to be divided by COUNTth element */
1261  D3DTTFF_FORCE_DWORD = 0x7fffffff
1263 
1264 /* Macros to set texture coordinate format bits in the FVF id */
1265 
1266 #define D3DFVF_TEXTUREFORMAT2 0 /* Two floating point values */
1267 #define D3DFVF_TEXTUREFORMAT1 3 /* One floating point value */
1268 #define D3DFVF_TEXTUREFORMAT3 1 /* Three floating point values */
1269 #define D3DFVF_TEXTUREFORMAT4 2 /* Four floating point values */
1270 
1271 #define D3DFVF_TEXCOORDSIZE3(CoordIndex) (D3DFVF_TEXTUREFORMAT3 << (CoordIndex*2 + 16))
1272 #define D3DFVF_TEXCOORDSIZE2(CoordIndex) (D3DFVF_TEXTUREFORMAT2)
1273 #define D3DFVF_TEXCOORDSIZE4(CoordIndex) (D3DFVF_TEXTUREFORMAT4 << (CoordIndex*2 + 16))
1274 #define D3DFVF_TEXCOORDSIZE1(CoordIndex) (D3DFVF_TEXTUREFORMAT1 << (CoordIndex*2 + 16))
1275 
1276 
1277 /*--------------------------------------------------------------------- */
1278 
1279 /* Direct3D9 Device types */
1280 typedef enum _D3DDEVTYPE
1281 {
1285 
1287 
1289 } D3DDEVTYPE;
1290 
1291 /* Multi-Sample buffer types */
1293 {
1311 
1314 
1315 /* Formats
1316  * Most of these names have the following convention:
1317  * A = Alpha
1318  * R = Red
1319  * G = Green
1320  * B = Blue
1321  * X = Unused Bits
1322  * P = Palette
1323  * L = Luminance
1324  * U = dU coordinate for BumpMap
1325  * V = dV coordinate for BumpMap
1326  * S = Stencil
1327  * D = Depth (e.g. Z or W buffer)
1328  * C = Computed from other channels (typically on certain read operations)
1329  *
1330  * Further, the order of the pieces are from MSB first; hence
1331  * D3DFMT_A8L8 indicates that the high byte of this two byte
1332  * format is alpha.
1333  *
1334  * D3DFMT_D16_LOCKABLE indicates:
1335  * - An integer 16-bit value.
1336  * - An app-lockable surface.
1337  *
1338  * D3DFMT_D32F_LOCKABLE indicates:
1339  * - An IEEE 754 floating-point value.
1340  * - An app-lockable surface.
1341  *
1342  * All Depth/Stencil formats except D3DFMT_D16_LOCKABLE and D3DFMT_D32F_LOCKABLE indicate:
1343  * - no particular bit ordering per pixel, and
1344  * - are not app lockable, and
1345  * - the driver is allowed to consume more than the indicated
1346  * number of bits per Depth channel (but not Stencil channel).
1347  */
1348 #ifndef MAKEFOURCC
1349  #define MAKEFOURCC(ch0, ch1, ch2, ch3) \
1350  ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
1351  ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
1352 #endif /* defined(MAKEFOURCC) */
1353 
1354 
1355 typedef enum _D3DFORMAT
1356 {
1358 
1376 
1379 
1383 
1390 
1391  D3DFMT_UYVY = MAKEFOURCC('U', 'Y', 'V', 'Y'),
1392  D3DFMT_R8G8_B8G8 = MAKEFOURCC('R', 'G', 'B', 'G'),
1393  D3DFMT_YUY2 = MAKEFOURCC('Y', 'U', 'Y', '2'),
1394  D3DFMT_G8R8_G8B8 = MAKEFOURCC('G', 'R', 'G', 'B'),
1395  D3DFMT_DXT1 = MAKEFOURCC('D', 'X', 'T', '1'),
1396  D3DFMT_DXT2 = MAKEFOURCC('D', 'X', 'T', '2'),
1397  D3DFMT_DXT3 = MAKEFOURCC('D', 'X', 'T', '3'),
1398  D3DFMT_DXT4 = MAKEFOURCC('D', 'X', 'T', '4'),
1399  D3DFMT_DXT5 = MAKEFOURCC('D', 'X', 'T', '5'),
1400 
1408 
1411 
1412 /* D3D9Ex only -- */
1413 #if !defined(D3D_DISABLE_9EX)
1414 
1415  /* Z-Stencil formats valid for CPU access */
1418 
1419 #endif /* !D3D_DISABLE_9EX */
1420 /* -- D3D9Ex only */
1421 
1422 
1424 
1428 
1430 
1431  D3DFMT_MULTI2_ARGB8 = MAKEFOURCC('M','E','T','1'),
1432 
1433  /* Floating point surface formats */
1434 
1435  /* s10e5 formats (16-bits per channel) */
1439 
1440  /* IEEE s23e8 formats (32-bits per channel) */
1444 
1446 
1447 /* D3D9Ex only -- */
1448 #if !defined(D3D_DISABLE_9EX)
1449 
1450  /* Monochrome 1 bit per pixel format */
1451  D3DFMT_A1 = 118,
1452 
1453  /* 2.8 biased fixed point */
1455 
1456 
1457  /* Binary format indicating that the data has no inherent type */
1459 
1460 #endif /* !D3D_DISABLE_9EX */
1461 /* -- D3D9Ex only */
1462 
1463 
1465 } D3DFORMAT;
1466 
1467 /* Display Modes */
1468 typedef struct _D3DDISPLAYMODE
1469 {
1470  UINT Width;
1471  UINT Height;
1472  UINT RefreshRate;
1473  D3DFORMAT Format;
1474 } D3DDISPLAYMODE;
1475 
1476 /* Creation Parameters */
1477 typedef struct _D3DDEVICE_CREATION_PARAMETERS
1478 {
1481  HWND hFocusWindow;
1482  DWORD BehaviorFlags;
1484 
1485 
1486 /* SwapEffects */
1487 typedef enum _D3DSWAPEFFECT
1488 {
1492 
1493 /* D3D9Ex only -- */
1494 #if !defined(D3D_DISABLE_9EX)
1497 #endif /* !D3D_DISABLE_9EX */
1498 /* -- D3D9Ex only */
1499 
1501 } D3DSWAPEFFECT;
1502 
1503 /* Pool types */
1504 typedef enum _D3DPOOL {
1509 
1510  D3DPOOL_FORCE_DWORD = 0x7fffffff
1511 } D3DPOOL;
1512 
1513 
1514 /* RefreshRate pre-defines */
1515 #define D3DPRESENT_RATE_DEFAULT 0x00000000
1516 
1517 
1518 /* Resize Optional Parameters */
1519 typedef struct _D3DPRESENT_PARAMETERS_
1520 {
1525 
1528 
1530  HWND hDeviceWindow;
1531  BOOL Windowed;
1534  DWORD Flags;
1535 
1536  /* FullScreen_RefreshRateInHz must be zero for Windowed mode */
1540 
1541 /* Values for D3DPRESENT_PARAMETERS.Flags */
1542 
1543 #define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x00000001
1544 #define D3DPRESENTFLAG_DISCARD_DEPTHSTENCIL 0x00000002
1545 #define D3DPRESENTFLAG_DEVICECLIP 0x00000004
1546 #define D3DPRESENTFLAG_VIDEO 0x00000010
1547 
1548 /* D3D9Ex only -- */
1549 #if !defined(D3D_DISABLE_9EX)
1550 
1551 #define D3DPRESENTFLAG_NOAUTOROTATE 0x00000020
1552 #define D3DPRESENTFLAG_UNPRUNEDMODE 0x00000040
1553 #define D3DPRESENTFLAG_OVERLAY_LIMITEDRGB 0x00000080
1554 #define D3DPRESENTFLAG_OVERLAY_YCbCr_BT709 0x00000100
1555 #define D3DPRESENTFLAG_OVERLAY_YCbCr_xvYCC 0x00000200
1556 #define D3DPRESENTFLAG_RESTRICTED_CONTENT 0x00000400
1557 #define D3DPRESENTFLAG_RESTRICT_SHARED_RESOURCE_DRIVER 0x00000800
1558 
1559 #endif /* !D3D_DISABLE_9EX */
1560 /* -- D3D9Ex only */
1561 
1562 /* Gamma Ramp: Same as DX7 */
1563 
1564 typedef struct _D3DGAMMARAMP
1565 {
1566  WORD red [256];
1567  WORD green[256];
1568  WORD blue [256];
1569 } D3DGAMMARAMP;
1570 
1571 /* Back buffer types */
1573 {
1577 
1580 
1581 
1582 /* Types */
1583 typedef enum _D3DRESOURCETYPE {
1590  D3DRTYPE_INDEXBUFFER = 7, /* if this changes, change _D3DDEVINFO_RESOURCEMANAGER definition */
1591 
1592 
1594 } D3DRESOURCETYPE;
1595 
1596 /* Usages */
1597 #define D3DUSAGE_RENDERTARGET (0x00000001L)
1598 #define D3DUSAGE_DEPTHSTENCIL (0x00000002L)
1599 #define D3DUSAGE_DYNAMIC (0x00000200L)
1600 
1601 /* D3D9Ex only -- */
1602 #if !defined(D3D_DISABLE_9EX)
1603 
1604 #define D3DUSAGE_NONSECURE (0x00800000L)
1605 
1606 #endif /* !D3D_DISABLE_9EX */
1607 /* -- D3D9Ex only */
1608 
1609 /* When passed to CheckDeviceFormat, D3DUSAGE_AUTOGENMIPMAP may return
1610  * D3DOK_NOAUTOGEN if the device doesn't support autogeneration for that format.
1611  * D3DOK_NOAUTOGEN is a success code, not a failure code... the SUCCEEDED and FAILED macros
1612  * will return true and false respectively for this code.
1613  */
1614 #define D3DUSAGE_AUTOGENMIPMAP (0x00000400L)
1615 #define D3DUSAGE_DMAP (0x00004000L)
1616 
1617 /* The following usages are valid only for querying CheckDeviceFormat */
1618 #define D3DUSAGE_QUERY_LEGACYBUMPMAP (0x00008000L)
1619 #define D3DUSAGE_QUERY_SRGBREAD (0x00010000L)
1620 #define D3DUSAGE_QUERY_FILTER (0x00020000L)
1621 #define D3DUSAGE_QUERY_SRGBWRITE (0x00040000L)
1622 #define D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING (0x00080000L)
1623 #define D3DUSAGE_QUERY_VERTEXTEXTURE (0x00100000L)
1624 #define D3DUSAGE_QUERY_WRAPANDMIP (0x00200000L)
1625 
1626 /* Usages for Vertex/Index buffers */
1627 #define D3DUSAGE_WRITEONLY (0x00000008L)
1628 #define D3DUSAGE_SOFTWAREPROCESSING (0x00000010L)
1629 #define D3DUSAGE_DONOTCLIP (0x00000020L)
1630 #define D3DUSAGE_POINTS (0x00000040L)
1631 #define D3DUSAGE_RTPATCHES (0x00000080L)
1632 #define D3DUSAGE_NPATCHES (0x00000100L)
1633 
1634 /* D3D9Ex only -- */
1635 #if !defined(D3D_DISABLE_9EX)
1636 
1637 #define D3DUSAGE_TEXTAPI (0x10000000L)
1638 #define D3DUSAGE_RESTRICTED_CONTENT (0x00000800L)
1639 #define D3DUSAGE_RESTRICT_SHARED_RESOURCE (0x00002000L)
1640 #define D3DUSAGE_RESTRICT_SHARED_RESOURCE_DRIVER (0x00001000L)
1641 
1642 #endif /* !D3D_DISABLE_9EX */
1643 /* -- D3D9Ex only */
1644 
1645 /* CubeMap Face identifiers */
1646 typedef enum _D3DCUBEMAP_FACES
1647 {
1654 
1657 
1658 
1659 /* Lock flags */
1660 
1661 #define D3DLOCK_READONLY 0x00000010L
1662 #define D3DLOCK_DISCARD 0x00002000L
1663 #define D3DLOCK_NOOVERWRITE 0x00001000L
1664 #define D3DLOCK_NOSYSLOCK 0x00000800L
1665 #define D3DLOCK_DONOTWAIT 0x00004000L
1666 
1667 #define D3DLOCK_NO_DIRTY_UPDATE 0x00008000L
1668 
1669 
1670 
1671 
1672 
1673 
1674 
1675 /* Vertex Buffer Description */
1676 typedef struct _D3DVERTEXBUFFER_DESC
1677 {
1678  D3DFORMAT Format;
1680  DWORD Usage;
1681  D3DPOOL Pool;
1682  UINT Size;
1683 
1684  DWORD FVF;
1685 
1687 
1688 /* Index Buffer Description */
1689 typedef struct _D3DINDEXBUFFER_DESC
1690 {
1691  D3DFORMAT Format;
1693  DWORD Usage;
1694  D3DPOOL Pool;
1695  UINT Size;
1697 
1698 
1699 /* Surface Description */
1700 typedef struct _D3DSURFACE_DESC
1701 {
1702  D3DFORMAT Format;
1704  DWORD Usage;
1705  D3DPOOL Pool;
1706 
1709  UINT Width;
1710  UINT Height;
1711 } D3DSURFACE_DESC;
1712 
1713 typedef struct _D3DVOLUME_DESC
1714 {
1715  D3DFORMAT Format;
1717  DWORD Usage;
1718  D3DPOOL Pool;
1719 
1720  UINT Width;
1721  UINT Height;
1722  UINT Depth;
1723 } D3DVOLUME_DESC;
1724 
1725 /* Structure for LockRect */
1726 typedef struct _D3DLOCKED_RECT
1727 {
1728  INT Pitch;
1729  void* pBits;
1730 } D3DLOCKED_RECT;
1731 
1732 /* Structures for LockBox */
1733 typedef struct _D3DBOX
1734 {
1735  UINT Left;
1736  UINT Top;
1737  UINT Right;
1738  UINT Bottom;
1739  UINT Front;
1740  UINT Back;
1741 } D3DBOX;
1742 
1743 typedef struct _D3DLOCKED_BOX
1744 {
1745  INT RowPitch;
1746  INT SlicePitch;
1747  void* pBits;
1748 } D3DLOCKED_BOX;
1749 
1750 /* Structures for LockRange */
1751 typedef struct _D3DRANGE
1752 {
1753  UINT Offset;
1754  UINT Size;
1755 } D3DRANGE;
1756 
1757 /* Structures for high order primitives */
1758 typedef struct _D3DRECTPATCH_INFO
1759 {
1762  UINT Width;
1763  UINT Height;
1764  UINT Stride;
1768 
1769 typedef struct _D3DTRIPATCH_INFO
1770 {
1772  UINT NumVertices;
1776 
1777 /* Adapter Identifier */
1778 
1779 #define MAX_DEVICE_IDENTIFIER_STRING 512
1781 {
1784  char DeviceName[32]; /* Device name for GDI (ex. \\.\DISPLAY1) */
1785 
1786 #ifdef _WIN32
1787  LARGE_INTEGER DriverVersion; /* Defined for 32 bit components */
1788 #else
1789  DWORD DriverVersionLowPart; /* Defined for 16 bit driver components */
1791 #endif
1792 
1793  DWORD VendorId;
1794  DWORD DeviceId;
1795  DWORD SubSysId;
1796  DWORD Revision;
1797 
1799 
1800  DWORD WHQLLevel;
1801 
1803 
1804 
1805 /* Raster Status structure returned by GetRasterStatus */
1806 typedef struct _D3DRASTER_STATUS
1807 {
1808  BOOL InVBlank;
1809  UINT ScanLine;
1811 
1812 
1813 
1814 /* Debug monitor tokens (DEBUG only)
1815 
1816  Note that if D3DRS_DEBUGMONITORTOKEN is set, the call is treated as
1817  passing a token to the debug monitor. For example, if, after passing
1818  D3DDMT_ENABLE/DISABLE to D3DRS_DEBUGMONITORTOKEN other token values
1819  are passed in, the enabled/disabled state of the debug
1820  monitor will still persist.
1821 
1822  The debug monitor defaults to enabled.
1823 
1824  Calling GetRenderState on D3DRS_DEBUGMONITORTOKEN is not of any use.
1825 */
1826 
1828  D3DDMT_ENABLE = 0, /* enable debug monitor */
1829  D3DDMT_DISABLE = 1, /* disable debug monitor */
1830  D3DDMT_FORCE_DWORD = 0x7fffffff
1832 
1833 /* Async feedback */
1834 
1835 typedef enum _D3DQUERYTYPE {
1836  D3DQUERYTYPE_VCACHE = 4, /* D3DISSUE_END */
1837  D3DQUERYTYPE_RESOURCEMANAGER = 5, /* D3DISSUE_END */
1838  D3DQUERYTYPE_VERTEXSTATS = 6, /* D3DISSUE_END */
1839  D3DQUERYTYPE_EVENT = 8, /* D3DISSUE_END */
1840  D3DQUERYTYPE_OCCLUSION = 9, /* D3DISSUE_BEGIN, D3DISSUE_END */
1841  D3DQUERYTYPE_TIMESTAMP = 10, /* D3DISSUE_END */
1842  D3DQUERYTYPE_TIMESTAMPDISJOINT = 11, /* D3DISSUE_BEGIN, D3DISSUE_END */
1843  D3DQUERYTYPE_TIMESTAMPFREQ = 12, /* D3DISSUE_END */
1844  D3DQUERYTYPE_PIPELINETIMINGS = 13, /* D3DISSUE_BEGIN, D3DISSUE_END */
1845  D3DQUERYTYPE_INTERFACETIMINGS = 14, /* D3DISSUE_BEGIN, D3DISSUE_END */
1846  D3DQUERYTYPE_VERTEXTIMINGS = 15, /* D3DISSUE_BEGIN, D3DISSUE_END */
1847  D3DQUERYTYPE_PIXELTIMINGS = 16, /* D3DISSUE_BEGIN, D3DISSUE_END */
1848  D3DQUERYTYPE_BANDWIDTHTIMINGS = 17, /* D3DISSUE_BEGIN, D3DISSUE_END */
1849  D3DQUERYTYPE_CACHEUTILIZATION = 18, /* D3DISSUE_BEGIN, D3DISSUE_END */
1850 /* D3D9Ex only -- */
1851 #if !defined(D3D_DISABLE_9EX)
1852  D3DQUERYTYPE_MEMORYPRESSURE = 19 /* D3DISSUE_BEGIN, D3DISSUE_END */
1853 #endif /* !D3D_DISABLE_9EX */
1854 } D3DQUERYTYPE;
1855 
1856 /* Flags field for Issue */
1857 #define D3DISSUE_END (1 << 0) /* Tells the runtime to issue the end of a query, changing it's state to "non-signaled". */
1858 #define D3DISSUE_BEGIN (1 << 1) /* Tells the runtime to issue the beginng of a query. */
1859 
1860 /* Flags field for GetData */
1861 #define D3DGETDATA_FLUSH (1 << 0) /* Tells the runtime to flush if the query is outstanding. */
1862 
1863 
1864 typedef struct _D3DRESOURCESTATS
1865 {
1866  /* Data collected since last Present() */
1867  BOOL bThrashing; /* indicates if thrashing */
1868  DWORD ApproxBytesDownloaded; /* Approximate number of bytes downloaded by resource manager */
1869  DWORD NumEvicts; /* number of objects evicted */
1870  DWORD NumVidCreates; /* number of objects created in video memory */
1871  DWORD LastPri; /* priority of last object evicted */
1872  DWORD NumUsed; /* number of objects set to the device */
1873  DWORD NumUsedInVidMem; /* number of objects set to the device, which are already in video memory */
1874  /* Persistent data */
1875  DWORD WorkingSet; /* number of objects in video memory */
1876  DWORD WorkingSetBytes; /* number of bytes in video memory */
1877  DWORD TotalManaged; /* total number of managed objects */
1878  DWORD TotalBytes; /* total number of bytes of managed objects */
1880 
1881 #define D3DRTYPECOUNT (D3DRTYPE_INDEXBUFFER+1)
1882 
1883 typedef struct _D3DDEVINFO_RESOURCEMANAGER
1884 {
1885 #ifndef WOW64_ENUM_WORKAROUND
1887 #else
1889 #endif
1891 
1892 typedef struct _D3DDEVINFO_D3DVERTEXSTATS
1893 {
1894  DWORD NumRenderedTriangles; /* total number of triangles that are not clipped in this frame */
1895  DWORD NumExtraClippingTriangles; /* Number of new triangles generated by clipping */
1897 
1898 
1899 typedef struct _D3DDEVINFO_VCACHE {
1900  DWORD Pattern; /* bit pattern, return value must be FOUR_CC('C', 'A', 'C', 'H') */
1901  DWORD OptMethod; /* optimization method 0 means longest strips, 1 means vertex cache based */
1902  DWORD CacheSize; /* cache size to optimize for (only required if type is 1) */
1903  DWORD MagicNumber; /* used to determine when to restart strips (only required if type is 1)*/
1905 
1907 {
1913 
1915 {
1922 
1924 {
1928 
1930 {
1937 
1939 {
1940  FLOAT TextureCacheHitRate; /* Percentage of cache hits */
1943 
1944 /* D3D9Ex only -- */
1945 #if !defined(D3D_DISABLE_9EX)
1946 
1947 typedef struct _D3DMEMORYPRESSURE
1948 {
1953 
1954 typedef enum _D3DCOMPOSERECTSOP{
1959  D3DCOMPOSERECTS_FORCE_DWORD = 0x7fffffff /* force 32-bit size enum */
1961 
1962 typedef struct _D3DCOMPOSERECTDESC
1963 {
1964  USHORT X, Y; /* Top-left coordinates of a rect in the source surface */
1965  USHORT Width, Height; /* Dimensions of the rect */
1967 
1969 {
1970  USHORT SrcRectIndex; /* Index of D3DCOMPOSERECTDESC */
1971  USHORT Reserved; /* For alignment */
1972  SHORT X, Y; /* Top-left coordinates of the rect in the destination surface */
1974 
1975 #define D3DCOMPOSERECTS_MAXNUMRECTS 0xFFFF
1976 #define D3DCONVOLUTIONMONO_MAXWIDTH 7
1977 #define D3DCONVOLUTIONMONO_MAXHEIGHT D3DCONVOLUTIONMONO_MAXWIDTH
1978 #define D3DFMT_A1_SURFACE_MAXWIDTH 8192
1979 #define D3DFMT_A1_SURFACE_MAXHEIGHT 2048
1980 
1981 
1982 typedef struct _D3DPRESENTSTATS {
1986  LARGE_INTEGER SyncQPCTime;
1987  LARGE_INTEGER SyncGPUTime;
1988 } D3DPRESENTSTATS;
1989 
1991 {
1996 
1997 
1998 typedef struct D3DDISPLAYMODEEX
1999 {
2007 
2008 typedef struct D3DDISPLAYMODEFILTER
2009 {
2014 
2015 
2017 {
2018  D3DDISPLAYROTATION_IDENTITY = 1, /* No rotation. */
2019  D3DDISPLAYROTATION_90 = 2, /* Rotated 90 degrees. */
2020  D3DDISPLAYROTATION_180 = 3, /* Rotated 180 degrees. */
2021  D3DDISPLAYROTATION_270 = 4 /* Rotated 270 degrees. */
2023 
2024 /* For use in ID3DResource9::SetPriority calls */
2025 #define D3D9_RESOURCE_PRIORITY_MINIMUM 0x28000000
2026 #define D3D9_RESOURCE_PRIORITY_LOW 0x50000000
2027 #define D3D9_RESOURCE_PRIORITY_NORMAL 0x78000000
2028 #define D3D9_RESOURCE_PRIORITY_HIGH 0xa0000000
2029 #define D3D9_RESOURCE_PRIORITY_MAXIMUM 0xc8000000
2030 
2031 #define D3D_OMAC_SIZE 16
2032 
2033 typedef struct _D3D_OMAC
2034 {
2036 } D3D_OMAC;
2037 
2039 {
2044 
2046 {
2048  HANDLE hChannel;
2051 
2053 {
2056  HANDLE hChannel;
2060 
2061 DEFINE_GUID(D3DAUTHENTICATEDQUERY_PROTECTION,
2062 0xa84eb584, 0xc495, 0x48aa, 0xb9, 0x4d, 0x8b, 0xd2, 0xd6, 0xfb, 0xce, 0x5);
2063 
2065 {
2066  union
2067  {
2068  struct
2069  {
2073  };
2075  };
2076 
2078 
2080 {
2082 
2084 
2086 
2087 
2088 DEFINE_GUID(D3DAUTHENTICATEDQUERY_CHANNELTYPE,
2089 0xbc1b18a5, 0xb1fb, 0x42ab, 0xbd, 0x94, 0xb5, 0x82, 0x8b, 0x4b, 0xf7, 0xbe);
2090 
2092 {
2094 
2096 
2098 
2099 
2100 DEFINE_GUID(D3DAUTHENTICATEDQUERY_DEVICEHANDLE,
2101 0xec1c539d, 0x8cff, 0x4e2a, 0xbc, 0xc4, 0xf5, 0x69, 0x2f, 0x99, 0xf4, 0x80);
2102 
2104 {
2106 
2108 
2110 
2111 
2112 DEFINE_GUID(D3DAUTHENTICATEDQUERY_CRYPTOSESSION,
2113 0x2634499e, 0xd018, 0x4d74, 0xac, 0x17, 0x7f, 0x72, 0x40, 0x59, 0x52, 0x8d);
2114 
2116 {
2118 
2120 
2122 
2124 {
2126 
2130 
2132 
2133 
2134 DEFINE_GUID(D3DAUTHENTICATEDQUERY_RESTRICTEDSHAREDRESOURCEPROCESSCOUNT,
2135 0xdb207b3, 0x9450, 0x46a6, 0x82, 0xde, 0x1b, 0x96, 0xd4, 0x4f, 0x9c, 0xf2);
2136 
2138 {
2140 
2142 
2144 
2145 
2146 DEFINE_GUID(D3DAUTHENTICATEDQUERY_RESTRICTEDSHAREDRESOURCEPROCESS,
2147 0x649bbadb, 0xf0f4, 0x4639, 0xa1, 0x5b, 0x24, 0x39, 0x3f, 0xc3, 0xab, 0xac);
2148 
2150 {
2152 
2154 
2156 
2158 {
2163 
2165 {
2167 
2171 
2173 
2174 
2175 DEFINE_GUID(D3DAUTHENTICATEDQUERY_UNRESTRICTEDPROTECTEDSHAREDRESOURCECOUNT,
2176 0x12f0bd6, 0xe662, 0x4474, 0xbe, 0xfd, 0xaa, 0x53, 0xe5, 0x14, 0x3c, 0x6d);
2177 
2179 {
2181 
2183 
2185 
2186 
2187 DEFINE_GUID(D3DAUTHENTICATEDQUERY_OUTPUTIDCOUNT,
2188 0x2c042b5e, 0x8c07, 0x46d5, 0xaa, 0xbe, 0x8f, 0x75, 0xcb, 0xad, 0x4c, 0x31);
2189 
2191 {
2193 
2196 
2198 
2200 {
2202 
2206 
2208 
2209 
2210 DEFINE_GUID(D3DAUTHENTICATEDQUERY_OUTPUTID,
2211 0x839ddca3, 0x9b4e, 0x41e4, 0xb0, 0x53, 0x89, 0x2b, 0xd2, 0xa1, 0x1e, 0xe7);
2212 
2214 {
2216 
2220 
2222 
2224 {
2226 
2231 
2233 
2234 
2235 DEFINE_GUID(D3DAUTHENTICATEDQUERY_ACCESSIBILITYATTRIBUTES,
2236 0x6214d9d2, 0x432c, 0x4abb, 0x9f, 0xce, 0x21, 0x6e, 0xea, 0x26, 0x9e, 0x3b);
2237 
2238 typedef enum _D3DBUSTYPE
2239 {
2240  D3DBUSTYPE_OTHER = 0x00000000,
2241  D3DBUSTYPE_PCI = 0x00000001,
2242  D3DBUSTYPE_PCIX = 0x00000002,
2244  D3DBUSTYPE_AGP = 0x00000004,
2251 } D3DBUSTYPE;
2252 
2254 {
2256 
2260 
2262 
2263 
2264 DEFINE_GUID(D3DAUTHENTICATEDQUERY_ENCRYPTIONWHENACCESSIBLEGUIDCOUNT,
2265 0xb30f7066, 0x203c, 0x4b07, 0x93, 0xfc, 0xce, 0xaa, 0xfd, 0x61, 0x24, 0x1e);
2266 
2268 {
2270 
2272 
2274 
2275 
2276 DEFINE_GUID(D3DAUTHENTICATEDQUERY_ENCRYPTIONWHENACCESSIBLEGUID,
2277 0xf83a5958, 0xe986, 0x4bda, 0xbe, 0xb0, 0x41, 0x1f, 0x6a, 0x7a, 0x1, 0xb7);
2278 
2280 {
2282 
2284 
2286 
2288 {
2290 
2293 
2295 
2296 
2297 DEFINE_GUID(D3DAUTHENTICATEDQUERY_CURRENTENCRYPTIONWHENACCESSIBLE,
2298 0xec1791c7, 0xdad3, 0x4f15, 0x9e, 0xc3, 0xfa, 0xa9, 0x3d, 0x60, 0xd4, 0xf0);
2299 
2301 {
2303 
2305 
2307 
2308 
2310 {
2313  HANDLE hChannel;
2315 
2317 
2319 {
2322  HANDLE hChannel;
2325 
2327 
2328 DEFINE_GUID(D3DAUTHENTICATEDCONFIGURE_INITIALIZE,
2329 0x6114bdb, 0x3523, 0x470a, 0x8d, 0xca, 0xfb, 0xc2, 0x84, 0x51, 0x54, 0xf0);
2330 
2332 {
2334 
2337 
2339 
2340 
2341 DEFINE_GUID(D3DAUTHENTICATEDCONFIGURE_PROTECTION,
2342 0x50455658, 0x3f47, 0x4362, 0xbf, 0x99, 0xbf, 0xdf, 0xcd, 0xe9, 0xed, 0x29);
2343 
2345 {
2347 
2349 
2351 
2352 
2353 DEFINE_GUID(D3DAUTHENTICATEDCONFIGURE_CRYPTOSESSION,
2354 0x6346cc54, 0x2cfc, 0x4ad4, 0x82, 0x24, 0xd1, 0x58, 0x37, 0xde, 0x77, 0x0);
2355 
2357 {
2359 
2363 
2365 
2366 
2367 DEFINE_GUID(D3DAUTHENTICATEDCONFIGURE_SHAREDRESOURCE,
2368 0x772d047, 0x1b40, 0x48e8, 0x9c, 0xa6, 0xb5, 0xf5, 0x10, 0xde, 0x9f, 0x1);
2369 
2371 {
2373 
2377 
2379 
2380 
2381 DEFINE_GUID(D3DAUTHENTICATEDCONFIGURE_ENCRYPTIONWHENACCESSIBLE,
2382 0x41fff286, 0x6ae0, 0x4d43, 0x9d, 0x55, 0xa4, 0x6e, 0x9e, 0xfd, 0x15, 0x8a);
2383 
2385 {
2387 
2389 
2391 
2393 {
2398 
2399 typedef struct _D3DAES_CTR_IV
2400 {
2401  UINT64 IV; /* Big-Endian IV */
2402  UINT64 Count; /* Big-Endian Block Count */
2403 } D3DAES_CTR_IV;
2404 
2405 
2406 
2407 #endif /* !D3D_DISABLE_9EX */
2408 /* -- D3D9Ex only */
2409 
2410 #pragma pack()
2411 #if _MSC_VER >= 1200
2412 #pragma warning(pop)
2413 #endif
2414 
2415 
2416 #endif /* (DIRECT3D_VERSION >= 0x0900) */
2417 #endif /* _d3d9TYPES(P)_H_ */
float x
Definition: d3d8types.h:49
Definition: d3d9types.h:1914
Definition: d3d9types.h:493
struct _D3DAUTHENTICATEDCHANNEL_QUERYRESTRICTEDSHAREDRESOURCEPROCESSCOUNT_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYRESTRICTEDSHAREDRESOURCEPROCESSCOUNT_OUTPUT
Definition: d3d9types.h:1301
Definition: d3d9types.h:868
Definition: d3d9types.h:735
Definition: d3d9types.h:564
Definition: d3d9types.h:1239
Definition: d3d9types.h:245
Definition: d3d9types.h:230
Definition: d3d9types.h:391
Definition: d3d9types.h:582
Definition: d3d9types.h:1651
Definition: d3d9types.h:1013
_D3DSWAPEFFECT
Definition: d3d8types.h:1331
HANDLE DXVA2DecodeHandle
Definition: d3d9types.h:2127
struct _D3DDEVINFO_D3DVERTEXSTATS * LPD3DDEVINFO_D3DVERTEXSTATS
Definition: d3d9types.h:1251
Definition: d3d9types.h:516
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2139
DEFINE_GUID(D3DAUTHENTICATEDQUERY_PROTECTION, 0xa84eb584, 0xc495, 0x48aa, 0xb9, 0x4d, 0x8b, 0xd2, 0xd6, 0xfb, 0xce, 0x5)
Definition: d3d9types.h:1367
UINT OutputIDIndex
Definition: d3d9types.h:2229
Definition: d3d9types.h:1780
_D3DRESOURCETYPE
Definition: d3d8types.h:1406
Definition: d3d9types.h:878
Definition: d3d9types.h:529
struct _D3DAUTHENTICATEDCHANNEL_QUERYEVICTIONENCRYPTIONGUID_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYEVICTIONENCRYPTIONGUID_OUTPUT
struct _D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTIDCOUNT_INPUT D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTIDCOUNT_INPUT
enum _D3DPOOL D3DPOOL
Definition: d3d9types.h:350
enum _D3DDEVTYPE D3DDEVTYPE
Definition: d3d9types.h:1590
Definition: d3d9types.h:424
Definition: d3d9types.h:364
UINT PresentationInterval
Definition: d3d9types.h:1538
Definition: d3d9types.h:2020
Definition: d3d9types.h:1369
enum _D3DTEXTUREADDRESS D3DTEXTUREADDRESS
Definition: d3d9types.h:1396
Definition: d3d9types.h:727
Definition: d3d9types.h:1214
Definition: d3d9types.h:1844
Definition: d3d9types.h:216
Definition: d3d9types.h:2021
Definition: d3d9types.h:817
Definition: d3d9types.h:320
Definition: d3d9types.h:318
Definition: d3d9types.h:417
FLOAT WaitingForGPUOtherTimePercent
Definition: d3d9types.h:1920
enum _D3DSHADER_MIN_PRECISION D3DSHADER_MIN_PRECISION
Definition: d3d9types.h:1843
Definition: d3d9types.h:736
UINT BackBufferCount
Definition: d3d8types.h:1363
BYTE Omac[D3D_OMAC_SIZE]
Definition: d3d9types.h:2035
Definition: d3d9types.h:699
struct _D3DCOLORVALUE D3DCOLORVALUE
Definition: d3d9types.h:1160
float Falloff
Definition: d3d9types.h:182
struct _D3DGAMMARAMP D3DGAMMARAMP
float MinZ
Definition: d3d9types.h:105
Definition: d3d9types.h:380
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2180
Definition: d3d9types.h:1508
Definition: d3d9types.h:389
Definition: d3d9types.h:738
Definition: d3d9types.h:1423
_D3DDEVTYPE
Definition: d3d8types.h:1187
Definition: d3d9types.h:2045
Definition: d3d9types.h:1410
_D3DQUERYTYPE
Definition: d3d9types.h:1835
Definition: d3d9types.h:1576
Definition: d3d9types.h:372
Definition: d3d9types.h:347
UINT NumOutputIDs
Definition: d3d9types.h:2205
Definition: d3d9types.h:883
DWORD FVF
Definition: d3d8types.h:1463
UINT Size
Definition: d3d9types.h:2000
Definition: d3d9types.h:2041
UINT AdapterOrdinal
Definition: d3d8types.h:1323
Definition: d3d9types.h:219
Definition: d3d9types.h:428
struct _D3DRASTER_STATUS D3DRASTER_STATUS
Definition: d3d9types.h:1491
float _44
Definition: d3d8types.h:83
Definition: d3d9types.h:454
Definition: d3d9types.h:1310
Definition: d3d9types.h:1245
Definition: d3d9types.h:925
struct _D3DBOX D3DBOX
DWORD VendorId
Definition: d3d9types.h:1793
_D3DDECLTYPE
Definition: d3d9types.h:733
Definition: d3d8types.h:1635
D3DSCANLINEORDERING
Definition: d3d9types.h:1990
DWORD Usage
Definition: d3d8types.h:1472
_D3DVERTEXBLENDFLAGS
Definition: d3d8types.h:1151
Definition: d3d8types.h:77
Definition: d3d9types.h:700
Definition: d3d9types.h:1998
Definition: d3d9types.h:485
LONG x2
Definition: d3d8types.h:70
FLOAT VertexRateUtilizedPercent
Definition: d3d9types.h:1933
Definition: d3d9types.h:1038
Definition: d3d9types.h:348
struct _D3DDISPLAYMODE D3DDISPLAYMODE
Definition: d3d9types.h:827
Definition: d3d9types.h:1957
Definition: d3d9types.h:2042
Definition: d3d9types.h:885
_D3DLIGHTTYPE
Definition: d3d8types.h:159
Definition: d3d9types.h:1380
_D3DFOGMODE
Definition: d3d8types.h:278
enum _D3DBLEND D3DBLEND
Definition: d3d9types.h:384
float _23
Definition: d3d8types.h:81
Definition: d3d9types.h:1288
Definition: d3d9types.h:339
DWORD DriverVersionLowPart
Definition: d3d9types.h:1789
Definition: d3d9types.h:374
Definition: d3d8types.h:48
_D3DBLENDOP
Definition: d3d8types.h:229
Definition: d3d9types.h:406
Definition: d3d9types.h:1962
Definition: d3d9types.h:1404
Definition: d3d9types.h:1236
Definition: d3d9types.h:867
float _21
Definition: d3d8types.h:81
Definition: d3d9types.h:521
Definition: d3d9types.h:322
UINT StartSequenceQuery
Definition: d3d9types.h:2335
Definition: d3d9types.h:1238
Definition: d3d9types.h:1578
BOOL EnableAutoDepthStencil
Definition: d3d8types.h:1370
UINT Front
Definition: d3d8types.h:1519
Definition: d3d9types.h:1024
struct _D3DRANGE D3DRANGE
enum _D3DLIGHTTYPE D3DLIGHTTYPE
Definition: d3d9types.h:1213
Definition: d3d9types.h:835
LARGE_INTEGER SyncGPUTime
Definition: d3d9types.h:1987
Definition: d3d9types.h:822
Definition: d3d9types.h:1388
Definition: glslang_tab.cpp:129
Definition: d3d9types.h:956
D3DSCANLINEORDERING ScanLineOrdering
Definition: d3d9types.h:2012
enum _D3DVS_RASTOUT_OFFSETS D3DVS_RASTOUT_OFFSETS
Definition: d3d9types.h:436
Definition: d3d9types.h:1045
Definition: d3d9types.h:1164
_D3DDEBUGMONITORTOKENS
Definition: d3d8types.h:1605
UINT Bottom
Definition: d3d8types.h:1518
UINT Height
Definition: d3d8types.h:1501
FLOAT WaitingForGPUToUseApplicationResourceTimePercent
Definition: d3d9types.h:1916
Definition: d3d9types.h:633
Definition: d3d9types.h:1929
UINT RefreshRate
Definition: d3d8types.h:1316
char Driver[MAX_DEVICE_IDENTIFIER_STRING]
Definition: d3d9types.h:1782
Definition: d3d9types.h:1394
Definition: d3d9types.h:495
Definition: d3d9types.h:748
D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT Parameters
Definition: d3d9types.h:2386
DWORD Usage
Definition: d3d8types.h:1483
FLOAT PostTransformVertexCacheHitRate
Definition: d3d9types.h:1941
D3DAUTHENTICATEDCHANNEL_QUERY_INPUT Input
Definition: d3d9types.h:2151
Definition: d3d9types.h:1153
Definition: d3d9types.h:859
Definition: d3d9types.h:222
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2255
Definition: d3d9types.h:356
Definition: d3d9types.h:810
Definition: d3d9types.h:1037
Definition: d3d9types.h:1409
Definition: d3d9types.h:1011
Definition: d3d9types.h:210
Definition: d3d9types.h:1222
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
Definition: d3d9types.h:1349
Definition: d3d9types.h:497
Definition: d3d9types.h:370
Definition: d3d9types.h:1510
Definition: d3d9types.h:326
D3DAUTHENTICATEDCHANNEL_PROCESSIDENTIFIERTYPE ProcessIdentifer
Definition: d3d9types.h:2169
Definition: d3d9types.h:169
Definition: d3d9types.h:1427
D3DBASISTYPE Basis
Definition: d3d8types.h:1545
Definition: d3d9types.h:439
D3DFORMAT Format
Definition: d3d8types.h:1481
Definition: d3d9types.h:1019
struct _D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTIDCOUNT_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTIDCOUNT_OUTPUT
enum _D3DSWAPEFFECT D3DSWAPEFFECT
float _12
Definition: d3d8types.h:80
Definition: d3d9types.h:362
Definition: d3d9types.h:881
DWORD DeviceId
Definition: d3d9types.h:1794
Definition: d3d9types.h:559
Definition: d3d9types.h:824
Definition: d3d9types.h:1399
Definition: d3d9types.h:1298
Definition: d3d9types.h:1959
UINT RefreshRate
Definition: d3d9types.h:2003
D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT Parameters
Definition: d3d9types.h:2372
_D3DSHADER_MISCTYPE_OFFSETS
Definition: d3d9types.h:1035
float Power
Definition: d3d9types.h:164
Definition: d3d9types.h:248
float y
Definition: d3d8types.h:50
DWORD NumUsedInVidMem
Definition: d3d8types.h:1625
struct _D3DAUTHENTICATEDCHANNEL_QUERYEVICTIONENCRYPTIONGUIDCOUNT_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYEVICTIONENCRYPTIONGUIDCOUNT_OUTPUT
Definition: d3d9types.h:958
Definition: d3d9types.h:589
Definition: d3d9types.h:292
Definition: d3d9types.h:288
Definition: d3d9types.h:512
DWORD DriverVersionHighPart
Definition: d3d9types.h:1790
Definition: d3d9types.h:1312
Definition: d3d9types.h:285
Definition: d3d9types.h:421
Definition: d3d9types.h:1058
Definition: d3d9types.h:635
UINT Size
Definition: d3d8types.h:1474
Definition: d3d9types.h:1584
void * pBits
Definition: d3d8types.h:1509
Definition: d3d9types.h:1359
Definition: d3d9types.h:272
uint64_t UINT64
Definition: coretypes.h:8
Definition: d3d9types.h:519
Definition: d3d9types.h:2318
Definition: d3d9types.h:1387
Definition: d3d9types.h:2033
DWORD X
Definition: d3d9types.h:101
Definition: d3d9types.h:393
UINT StartVertexOffsetHeight
Definition: d3d8types.h:1541
Definition: d3d9types.h:1255
Definition: d3d9types.h:390
HANDLE ProcessHandle
Definition: d3d9types.h:2375
Definition: d3d9types.h:170
Definition: d3d9types.h:1402
DWORD ClipIntersection
Definition: d3d9types.h:156
_D3DPATCHEDGESTYLE
Definition: d3d8types.h:1135
DWORD WorkingSet
Definition: d3d8types.h:1627
Definition: d3d9types.h:2242
DWORD MultiSampleQuality
Definition: d3d9types.h:1708
Definition: d3d9types.h:281
#define D3DSHADER_ADDRESSMODE_SHIFT
Definition: d3d9types.h:1062
UINT OutputIDIndex
Definition: d3d9types.h:2219
Definition: d3d9types.h:814
Definition: d3d9types.h:1282
Definition: d3d9types.h:1177
Definition: d3d9types.h:1215
UINT NumBytesInSkipPattern
Definition: d3d9types.h:2395
UINT SequenceNumber
Definition: d3d9types.h:2049
Definition: d3d9types.h:1370
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2166
Definition: d3d9types.h:1357
struct _D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT
Definition: d3d9types.h:453
Definition: d3d9types.h:1982
INT SlicePitch
Definition: d3d8types.h:1526
Definition: d3d9types.h:376
Definition: d3d9types.h:2244
Definition: d3d9types.h:1587
Definition: d3d9types.h:872
Definition: d3d9types.h:352
Definition: d3d9types.h:287
float z
Definition: d3d8types.h:51
Definition: d3d9types.h:422
Definition: d3d9types.h:1006
enum _D3DDECLTYPE D3DDECLTYPE
Definition: d3d9types.h:880
enum _D3DCUBEMAP_FACES D3DCUBEMAP_FACES
float _31
Definition: d3d8types.h:82
Definition: d3d9types.h:803
Definition: d3d9types.h:1653
D3DCOLORVALUE Emissive
Definition: d3d9types.h:163
struct _D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUT
Definition: d3d9types.h:270
Definition: d3d9types.h:1023
_D3DCOMPOSERECTSOP
Definition: d3d9types.h:1954
D3DCOLORVALUE Specular
Definition: d3d9types.h:177
DWORD WorkingSetBytes
Definition: d3d8types.h:1628
Definition: d3d9types.h:606
BYTE UsageIndex
Definition: d3d9types.h:768
Definition: d3d9types.h:708
UINT SequenceNumber
Definition: d3d9types.h:2314
Definition: d3d9types.h:737
Definition: d3d9types.h:887
Definition: d3d9types.h:1260
enum _D3DVS_ADDRESSMODE_TYPE D3DVS_ADDRESSMODE_TYPE
UINT64 OutputID
Definition: d3d9types.h:2230
enum _D3DBASISTYPE D3DBASISTYPE
Definition: d3d9types.h:637
Definition: d3d9types.h:1366
UINT Offset
Definition: d3d8types.h:1533
Definition: d3d9types.h:1846
Definition: d3d9types.h:1585
Definition: d3d9types.h:412
Definition: d3d9types.h:354
float _11
Definition: d3d8types.h:80
Definition: d3d9types.h:1842
Definition: d3d9types.h:1175
BYTE Type
Definition: d3d9types.h:765
SHORT X
Definition: d3d9types.h:1972
Definition: d3d9types.h:455
Definition: d3d9types.h:1223
float _32
Definition: d3d8types.h:82
Definition: d3d9types.h:308
Definition: d3d9types.h:747
Definition: d3d9types.h:420
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
UINT Back
Definition: d3d8types.h:1520
float r
Definition: d3d8types.h:58
Definition: d3d9types.h:224
Definition: d3d9types.h:843
Definition: d3d9types.h:750
Definition: d3d9types.h:373
LARGE_INTEGER SyncQPCTime
Definition: d3d9types.h:1986
Definition: d3d9types.h:1445
Definition: d3d9types.h:647
float Attenuation0
Definition: d3d9types.h:183
D3DRESOURCESTATS stats[D3DRTYPECOUNT]
Definition: d3d8types.h:1637
Definition: d3d9types.h:811
HANDLE CryptoSessionHandle
Definition: d3d9types.h:2361
FLOAT MaxBandwidthUtilized
Definition: d3d9types.h:1931
Definition: d3d9types.h:1300
struct D3DDISPLAYMODEFILTER D3DDISPLAYMODEFILTER
Definition: d3d9types.h:1574
Definition: d3d9types.h:1407
Definition: d3d9types.h:1161
Definition: d3d9types.h:268
struct _D3DAUTHENTICATEDCHANNEL_CONFIGUREINITIALIZE D3DAUTHENTICATEDCHANNEL_CONFIGUREINITIALIZE
Definition: d3d9types.h:1395
Definition: d3d9types.h:828
HRESULT ReturnCode
Definition: d3d9types.h:2324
Definition: d3d9types.h:1840
Definition: d3d9types.h:211
Definition: d3d9types.h:1150
HRESULT ReturnCode
Definition: d3d9types.h:2058
GUID QueryType
Definition: d3d9types.h:2047
struct _D3DPRESENT_PARAMETERS_ D3DPRESENT_PARAMETERS
Definition: d3d9types.h:1829
Definition: d3d9types.h:857
Definition: d3d9types.h:831
enum _D3DRESOURCETYPE D3DRESOURCETYPE
struct _D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT
struct _D3DVERTEXELEMENT9 * LPD3DVERTEXELEMENT9
_D3DSTENCILOP
Definition: d3d8types.h:266
Definition: d3d9types.h:1589
Definition: d3d9types.h:239
Definition: d3d9types.h:484
Definition: d3d9types.h:1237
Definition: d3d9types.h:1648
Definition: d3d9types.h:1250
D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT Parameters
Definition: d3d9types.h:2333
Definition: d3d9types.h:452
Definition: d3d9types.h:423
struct D3DDISPLAYMODEEX D3DDISPLAYMODEEX
Definition: d3d9types.h:438
Definition: d3d9types.h:261
struct _D3DLOCKED_BOX D3DLOCKED_BOX
struct _D3DCLIPSTATUS9 D3DCLIPSTATUS9
struct _D3DDEVINFO_RESOURCEMANAGER * LPD3DDEVINFO_RESOURCEMANAGER
HANDLE DeviceHandle
Definition: d3d9types.h:2129
Definition: d3d9types.h:2019
LONG y2
Definition: d3d8types.h:71
Definition: d3d9types.h:841
Definition: d3d9types.h:722
Definition: d3d9types.h:398
DWORD ClipUnion
Definition: d3d9types.h:155
Definition: d3d9types.h:513
Definition: d3d9types.h:382
float _42
Definition: d3d8types.h:83
struct _D3DAUTHENTICATEDCHANNEL_QUERYCRYPTOSESSION_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYCRYPTOSESSION_OUTPUT
DWORD Pattern
Definition: d3d9types.h:1900
enum _D3DDEGREETYPE D3DDEGREETYPE
Definition: d3d9types.h:837
Definition: d3d9types.h:489
struct _D3DAUTHENTICATEDCHANNEL_QUERYCHANNELTYPE_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYCHANNELTYPE_OUTPUT
Definition: d3d9types.h:202
Definition: d3d9types.h:1438
_D3DBACKBUFFER_TYPE
Definition: d3d8types.h:1395
Definition: d3d9types.h:853
FLOAT MemoryProcessingPercent
Definition: d3d9types.h:1925
enum _D3DFILLMODE D3DFILLMODE
Definition: d3d9types.h:1284
float _43
Definition: d3d8types.h:83
DWORD TotalManaged
Definition: d3d8types.h:1629
DWORD Usage
Definition: d3d8types.h:1496
Definition: d3d9types.h:394
Definition: d3d9types.h:1212
#define D3DSP_TEXTURETYPE_SHIFT
Definition: d3d9types.h:951
Definition: d3d9types.h:840
Definition: d3d9types.h:1229
enum _D3DDEVTYPE D3DDEVTYPE
struct _D3DMATERIAL9 D3DMATERIAL9
Definition: d3d9types.h:365
Definition: d3d9types.h:1994
Definition: d3d9types.h:1398
Definition: d3d9types.h:371
Definition: d3d9types.h:1046
Definition: d3d9types.h:1247
Definition: d3d9types.h:1429
enum _D3DBACKBUFFER_TYPE D3DBACKBUFFER_TYPE
float _13
Definition: d3d8types.h:80
DWORD TotalBytes
Definition: d3d8types.h:1630
Definition: d3d9types.h:1830
_D3DVS_ADDRESSMODE_TYPE
Definition: d3d8types.h:996
D3DMULTISAMPLE_TYPE MultiSampleType
Definition: d3d8types.h:1487
BOOL bThrashing
Definition: d3d8types.h:1619
Definition: d3d9types.h:1014
_D3DSTATEBLOCKTYPE
Definition: d3d8types.h:1142
Definition: d3d9types.h:1021
struct _D3DAUTHENTICATEDCHANNEL_QUERYINFOBUSTYPE_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYINFOBUSTYPE_OUTPUT
Definition: d3d9types.h:1845
Definition: d3d9types.h:257
Definition: d3d9types.h:415
Definition: d3d9types.h:572
Definition: d3d9types.h:860
Definition: d3d9types.h:301
Definition: d3d9types.h:434
Definition: d3d9types.h:403
Definition: d3d9types.h:255
Definition: d3d9types.h:959
Definition: d3d9types.h:749
struct _D3DAUTHENTICATEDCHANNEL_CONFIGURECRYPTOSESSION D3DAUTHENTICATEDCHANNEL_CONFIGURECRYPTOSESSION
Definition: d3d9types.h:1017
_D3DCMPFUNC
Definition: d3d8types.h:254
Definition: d3d9types.h:1361
Definition: d3d9types.h:1374
Definition: d3d9types.h:836
_D3DMATERIALCOLORSOURCE
Definition: d3d8types.h:406
_D3DTRANSFORMSTATETYPE
Definition: d3d8types.h:304
Definition: d3d9types.h:379
Definition: d3d9types.h:1377
Definition: d3d9types.h:882
Definition: d3d9types.h:1010
Definition: d3d9types.h:818
enum _D3DSHADEMODE D3DSHADEMODE
UINT StartVertexOffset
Definition: d3d8types.h:1551
Definition: d3d9types.h:1151
Definition: d3d9types.h:1496
D3DFORMAT Format
Definition: d3d8types.h:1317
Definition: d3d9types.h:437
Definition: d3d9types.h:1373
_D3DBASISTYPE
Definition: d3d8types.h:1118
WORD Offset
Definition: d3d9types.h:764
Definition: d3d9types.h:856
Definition: d3d9types.h:414
Definition: d3d8types.h:1321
#define D3DVS_ADDRESSMODE_SHIFT
Definition: d3d9types.h:1052
enum _D3DDEBUGMONITORTOKENS D3DDEBUGMONITORTOKENS
Definition: d3d9types.h:874
Definition: d3d9types.h:833
HANDLE hChannel
Definition: d3d9types.h:2322
Definition: d3d9types.h:701
enum _D3DFORMAT D3DFORMAT
Definition: d3d9types.h:1257
struct _D3DCOMPOSERECTDESC D3DCOMPOSERECTDESC
Definition: d3d9types.h:829
Definition: d3d9types.h:888
_D3DRENDERSTATETYPE
Definition: d3d8types.h:324
Definition: d3d9types.h:499
Definition: d3d9types.h:1302
Definition: d3d9types.h:353
Definition: d3d9types.h:610
D3DDEGREETYPE Degree
Definition: d3d9types.h:1766
Definition: d3d9types.h:826
Definition: d3d9types.h:809
Definition: d3d9types.h:1437
Definition: d3d9types.h:1507
DWORD SubSysId
Definition: d3d9types.h:1795
Definition: d3d9types.h:367
Definition: d3d9types.h:235
Definition: d3d9types.h:922
GUID QueryType
Definition: d3d9types.h:2055
D3DRESOURCETYPE Type
Definition: d3d8types.h:1471
Definition: d3d9types.h:1307
Definition: d3d9types.h:849
struct _D3DLIGHT9 D3DLIGHT9
Definition: d3d9types.h:275
Definition: d3d9types.h:324
BOOL bAccessibleInContiguousBlocks
Definition: d3d9types.h:2258
Definition: d3d9types.h:579
Definition: d3d9types.h:228
struct _D3DAUTHENTICATEDCHANNEL_CONFIGURE_OUTPUT D3DAUTHENTICATEDCHANNEL_CONFIGURE_OUTPUT
struct _D3DAUTHENTICATEDCHANNEL_PROTECTION_FLAGS D3DAUTHENTICATEDCHANNEL_PROTECTION_FLAGS
enum _D3DAUTHENTICATEDCHANNELTYPE D3DAUTHENTICATEDCHANNELTYPE
#define D3DSP_SRCMOD_SHIFT
Definition: d3d9types.h:1145
Definition: d3d9types.h:1176
UINT Width
Definition: d3d9types.h:2001
_D3DSHADER_COMPARISON
Definition: d3d9types.h:919
Definition: d3d9types.h:1406
Definition: d3d9types.h:927
Definition: d3d9types.h:752
Definition: d3d9types.h:269
FLOAT OtherGPUProcessingTimePercent
Definition: d3d9types.h:1910
Definition: d3d9types.h:834
Definition: d3d9types.h:355
Definition: d3d9types.h:341
Definition: d3d9types.h:1256
Definition: d3d9types.h:392
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2081
struct _D3DDEVINFO_VCACHE * LPD3DDEVINFO_VCACHE
struct _D3DVERTEXELEMENT9 D3DVERTEXELEMENT9
struct _D3DDEVINFO_D3D9CACHEUTILIZATION D3DDEVINFO_D3D9CACHEUTILIZATION
Definition: d3d9types.h:262
float Range
Definition: d3d9types.h:181
Definition: d3d9types.h:563
struct _D3DCOMPOSERECTDESTINATION D3DCOMPOSERECTDESTINATION
Definition: d3d9types.h:1362
Definition: d3d9types.h:721
D3DAUTHENTICATEDCHANNEL_QUERY_INPUT Input
Definition: d3d9types.h:2281
UINT SyncRefreshCount
Definition: d3d9types.h:1985
HANDLE DeviceHandle
Definition: d3d9types.h:2362
D3DVECTOR Position
Definition: d3d9types.h:179
enum _D3DCMPFUNC D3DCMPFUNC
DWORD Height
Definition: d3d9types.h:104
HANDLE CryptoSessionHandle
Definition: d3d9types.h:2204
Definition: d3d9types.h:879
HANDLE hChannel
Definition: d3d9types.h:2056
_D3DDEGREETYPE
Definition: d3d9types.h:1218
Definition: d3d9types.h:487
UINT Size
Definition: d3d8types.h:1461
Definition: d3d9types.h:845
Definition: d3d9types.h:1375
Definition: d3d9types.h:1828
Definition: d3d9types.h:435
FLOAT WaitingForGPUExclusiveResourceTimePercent
Definition: d3d9types.h:1919
Definition: d3d9types.h:343
enum _D3DRESOURCETYPE D3DRESOURCETYPE
Definition: d3d9types.h:500
Definition: d3d9types.h:742
Definition: d3d9types.h:296
Definition: d3d9types.h:1018
Definition: d3d9types.h:431
Definition: d3d9types.h:1393
Definition: d3d9types.h:2243
Definition: d3d9types.h:1436
Definition: d3d9types.h:1002
Definition: d3d8types.h:1479
DWORD NumUsed
Definition: d3d8types.h:1624
Definition: d3d9types.h:884
float MaxZ
Definition: d3d9types.h:106
Definition: d3d9types.h:1294
HANDLE DeviceHandle
Definition: d3d9types.h:2227
UINT NumBytesInEncryptPattern
Definition: d3d9types.h:2396
Definition: d3d9types.h:225
Definition: d3d9types.h:284
Definition: d3d9types.h:711
USHORT X
Definition: d3d9types.h:1964
GLfloat GLfloat blue
Definition: glext.h:6290
Definition: d3d9types.h:1401
FLOAT VertexProcessingTimePercent
Definition: d3d9types.h:1908
struct _D3DLOCKED_RECT D3DLOCKED_RECT
D3DAUTHENTICATEDCHANNEL_QUERY_INPUT Input
Definition: d3d9types.h:2117
UINT StartVertexOffsetWidth
Definition: d3d8types.h:1540
Definition: d3d9types.h:1261
Definition: d3d9types.h:490
Definition: d3d9types.h:159
Definition: d3d9types.h:1044
Definition: d3d9types.h:1955
D3DFORMAT Format
Definition: d3d9types.h:2011
Definition: d3d9types.h:425
Definition: d3d9types.h:1403
Definition: d3d9types.h:741
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2225
SHORT Y
Definition: d3d9types.h:1972
Definition: d3d9types.h:263
Definition: d3d9types.h:560
Definition: d3d9types.h:2245
enum _D3DPOOL D3DPOOL
Definition: d3d9types.h:328
Definition: d3d9types.h:295
Definition: d3d9types.h:491
char DeviceName[32]
Definition: d3d9types.h:1784
UINT64 SizeOfInefficientAllocation
Definition: d3d9types.h:1950
Definition: d3d9types.h:2040
WORD red[256]
Definition: d3d8types.h:1389
float _33
Definition: d3d8types.h:82
Definition: d3d9types.h:413
Definition: d3d9types.h:520
DWORD OptMethod
Definition: d3d9types.h:1901
Definition: d3d9types.h:366
Definition: d3d9types.h:1221
Definition: d3d9types.h:808
Definition: d3d9types.h:558
HANDLE DeviceHandle
Definition: d3d9types.h:2107
Definition: d3d9types.h:924
HANDLE DeviceHandle
Definition: d3d9types.h:2203
Definition: d3d9types.h:1442
Definition: d3d9types.h:805
UINT Top
Definition: d3d8types.h:1516
Definition: d3d9types.h:345
D3DRESOURCETYPE Type
Definition: d3d8types.h:1458
FLOAT FillRateUtilizedPercent
Definition: d3d9types.h:1935
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
_D3DTEXTURESTAGESTATETYPE
Definition: d3d8types.h:437
D3DAUTHENTICATEDCHANNEL_PROCESSIDENTIFIERTYPE ProcessIdentiferType
Definition: d3d9types.h:2374
Definition: d3d9types.h:1016
D3DSWAPEFFECT SwapEffect
Definition: d3d8types.h:1367
HANDLE CryptoSessionHandle
Definition: d3d9types.h:2195
Definition: d3d9types.h:357
D3DAUTHENTICATEDCHANNEL_PROTECTION_FLAGS Protections
Definition: d3d9types.h:2348
Definition: d3d9types.h:710
Definition: d3d9types.h:1057
Definition: d3d9types.h:876
Definition: d3d9types.h:1365
_D3DCULL
Definition: d3d8types.h:247
UINT FullScreen_RefreshRateInHz
Definition: d3d8types.h:1375
_D3DVS_RASTOUT_OFFSETS
Definition: d3d8types.h:983
Definition: d3d9types.h:220
D3DSCANLINEORDERING ScanLineOrdering
Definition: d3d9types.h:2005
Definition: d3d9types.h:369
HANDLE DXVA2DecodeHandle
Definition: d3d9types.h:2360
enum _D3DAUTHENTICATEDCHANNEL_PROCESSIDENTIFIERTYPE D3DAUTHENTICATEDCHANNEL_PROCESSIDENTIFIERTYPE
BOOL InVBlank
Definition: d3d8types.h:1587
Definition: d3d9types.h:253
Definition: d3d9types.h:1392
D3DPOOL Pool
Definition: d3d8types.h:1497
enum _D3DSHADER_ADDRESSMODE_TYPE D3DSHADER_ADDRESSMODE_TYPE
Definition: d3d9types.h:429
Definition: d3d9types.h:256
Definition: d3d9types.h:310
FLOAT PixelProcessingTimePercent
Definition: d3d9types.h:1909
Definition: d3d9types.h:340
Definition: d3d9types.h:1425
Definition: d3d9types.h:1837
Definition: d3d9types.h:755
Definition: d3d9types.h:634
_D3DFORMAT
Definition: d3d8types.h:1254
D3DPOOL Pool
Definition: d3d8types.h:1460
Definition: d3d9types.h:865
Definition: d3d9types.h:1993
HANDLE DeviceHandle
Definition: d3d9types.h:2217
Definition: d3d9types.h:1248
Definition: d3d9types.h:325
struct _D3DVECTOR D3DVECTOR
Definition: d3d9types.h:286
UINT64 IV
Definition: d3d9types.h:2401
Definition: d3d9types.h:861
float b
Definition: d3d8types.h:60
Definition: d3d8types.h:1531
DWORD ApproxBytesDownloaded
Definition: d3d8types.h:1620
Definition: d3d9types.h:1012
struct _D3DINDEXBUFFER_DESC D3DINDEXBUFFER_DESC
_D3DTEXTUREOP
Definition: d3d8types.h:482
Definition: d3d9types.h:229
DWORD WHQLLevel
Definition: d3d9types.h:1800
Definition: d3d9types.h:409
HANDLE DeviceHandle
Definition: d3d9types.h:2194
Definition: d3d9types.h:404
Definition: d3d9types.h:2018
Definition: d3d9types.h:1224
Definition: d3d9types.h:1378
Definition: d3d9types.h:960
Definition: d3d9types.h:1059
Definition: d3d9types.h:501
Definition: d3d9types.h:847
Definition: d3d9types.h:1152
struct _D3DVIEWPORT9 D3DVIEWPORT9
Definition: d3d9types.h:1258
Definition: d3d9types.h:866
UINT Height
Definition: d3d9types.h:2002
D3D_OMAC omac
Definition: d3d9types.h:2054
Definition: d3d9types.h:264
Definition: d3d9types.h:1906
Definition: d3d9types.h:571
D3DRESOURCETYPE Type
Definition: d3d8types.h:1495
D3D_OMAC omac
Definition: d3d9types.h:2311
Definition: d3d9types.h:1652
HANDLE CryptoSessionHandle
Definition: d3d9types.h:2218
Definition: d3d9types.h:851
Definition: d3d9types.h:205
Definition: d3d9types.h:923
float _34
Definition: d3d8types.h:82
UINT Depth
Definition: d3d8types.h:1502
Definition: d3d9types.h:378
Definition: d3d9types.h:816
Definition: d3d9types.h:274
DWORD Width
Definition: d3d9types.h:103
struct _D3DSURFACE_DESC D3DSURFACE_DESC
Definition: d3d9types.h:1443
UINT Width
Definition: d3d8types.h:1488
D3DAUTHENTICATEDCHANNEL_PROTECTION_FLAGS ProtectionFlags
Definition: d3d9types.h:2083
Definition: d3d9types.h:1841
INT Pitch
Definition: d3d8types.h:1508
struct _D3DAUTHENTICATEDCHANNEL_QUERY_INPUT D3DAUTHENTICATEDCHANNEL_QUERY_INPUT
UINT SequenceNumber
Definition: d3d9types.h:2057
Definition: d3d9types.h:863
Definition: d3d9types.h:1015
Definition: d3d9types.h:171
Definition: d3d9types.h:395
Definition: d3d9types.h:844
Definition: d3d9types.h:1847
Definition: d3d9types.h:397
Definition: d3d9types.h:1426
Definition: d3d9types.h:875
enum _D3DTEXTUREOP D3DTEXTUREOP
Definition: d3d9types.h:486
_D3DSAMPLERSTATETYPE
Definition: d3d9types.h:510
Definition: d3d9types.h:1022
Definition: d3d9types.h:1458
Definition: d3d9types.h:1385
Definition: d3d9types.h:807
Definition: d3d9types.h:323
Definition: d3d9types.h:212
Definition: d3d9types.h:361
struct _D3DAUTHENTICATEDCHANNEL_CONFIGUREPROTECTION D3DAUTHENTICATEDCHANNEL_CONFIGUREPROTECTION
D3DBUSTYPE BusType
Definition: d3d9types.h:2257
Definition: d3d9types.h:488
Definition: d3d9types.h:1495
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2269
Definition: d3d9types.h:203
float _14
Definition: d3d8types.h:80
enum _D3DDECLUSAGE D3DDECLUSAGE
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2302
Definition: d3d9types.h:400
D3DFORMAT Format
Definition: d3d9types.h:2004
Definition: d3d9types.h:407
UINT Value
Definition: d3d9types.h:2074
_D3DSHADER_INSTRUCTION_OPCODE_TYPE
Definition: d3d8types.h:873
DWORD MultiSampleQuality
Definition: d3d9types.h:1527
D3DAUTHENTICATEDCHANNELTYPE ChannelType
Definition: d3d9types.h:2095
Definition: d3d9types.h:806
Definition: d3d9types.h:327
struct _D3DDEVINFO_VCACHE D3DDEVINFO_VCACHE
Definition: d3d9types.h:842
Definition: d3d8types.h:1387
UINT BackBufferHeight
Definition: d3d8types.h:1361
Definition: d3d9types.h:408
DWORD NumEvicts
Definition: d3d8types.h:1621
enum _D3DBASISTYPE D3DBASISTYPE
D3DAUTHENTICATEDCHANNEL_QUERY_INPUT Input
Definition: d3d9types.h:2192
struct _D3DENCRYPTED_BLOCK_INFO D3DENCRYPTED_BLOCK_INFO
struct _D3DDEVICE_CREATION_PARAMETERS D3DDEVICE_CREATION_PARAMETERS
Definition: d3d9types.h:1157
Definition: d3d9types.h:515
struct _D3DAUTHENTICATEDCHANNEL_QUERYDEVICEHANDLE_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYDEVICEHANDLE_OUTPUT
Definition: d3d9types.h:1586
Definition: d3d9types.h:1306
_D3DPOOL
Definition: d3d8types.h:1342
Definition: d3d9types.h:432
D3DDEGREETYPE Degree
Definition: d3d9types.h:1774
struct _D3DAUTHENTICATEDCHANNEL_QUERYCRYPTOSESSION_INPUT D3DAUTHENTICATEDCHANNEL_QUERYCRYPTOSESSION_INPUT
_D3DBLEND
Definition: d3d8types.h:212
Definition: d3d9types.h:271
FLOAT TextureCacheHitRate
Definition: d3d9types.h:1940
Definition: d3d9types.h:578
Definition: d3d9types.h:522
struct _D3DMATRIX D3DMATRIX
Definition: d3d8types.h:1616
Definition: d3d9types.h:312
Definition: d3d9types.h:226
Definition: d3d9types.h:1230
struct _D3DAUTHENTICATEDCHANNEL_QUERYPROTECTION_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYPROTECTION_OUTPUT
Definition: d3d8types.h:67
Definition: d3d9types.h:2159
struct _D3DDEVINFO_D3DVERTEXSTATS D3DDEVINFO_D3DVERTEXSTATS
Definition: d3d9types.h:247
Definition: d3d9types.h:1389
float _22
Definition: d3d8types.h:81
Definition: d3d9types.h:1360
Definition: d3d9types.h:494
Definition: d3d9types.h:209
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
Definition: d3d9types.h:396
Definition: d3d8types.h:1312
Definition: d3d9types.h:819
Definition: d3d9types.h:2392
Definition: d3d9types.h:1220
_D3DSHADER_PARAM_SRCMOD_TYPE
Definition: d3d8types.h:1079
Definition: d3d9types.h:311
D3DDEVTYPE DeviceType
Definition: d3d8types.h:1324
Definition: d3d9types.h:309
_D3DSHADER_ADDRESSMODE_TYPE
Definition: d3d9types.h:1065
Definition: d3d9types.h:889
Definition: d3d9types.h:283
Definition: d3d9types.h:832
Definition: d3d9types.h:1441
struct _D3DAUTHENTICATEDCHANNEL_CONFIGUREUNCOMPRESSEDENCRYPTION D3DAUTHENTICATEDCHANNEL_CONFIGUREUNCOMPRESSEDENCRYPTION
Definition: d3d9types.h:1009
Definition: d3d9types.h:300
Definition: d3d9types.h:1391
struct _D3DDEVINFO_D3D9PIPELINETIMINGS D3DDEVINFO_D3D9PIPELINETIMINGS
Definition: d3d9types.h:1296
Definition: d3d9types.h:1305
D3DFORMAT AutoDepthStencilFormat
Definition: d3d8types.h:1371
USHORT Y
Definition: d3d9types.h:1964
Definition: d3d9types.h:1308
Definition: d3d9types.h:293
USHORT Reserved
Definition: d3d9types.h:1971
DWORD Revision
Definition: d3d9types.h:1796
Definition: d3d9types.h:168
Definition: d3d9types.h:1852
_D3DCUBEMAP_FACES
Definition: d3d8types.h:1433
Definition: d3d9types.h:1947
float a
Definition: d3d8types.h:61
FLOAT TriangleSetupRateUtilizedPercent
Definition: d3d9types.h:1934
Definition: d3d9types.h:254
Definition: d3d9types.h:862
Definition: d3d9types.h:2064
Definition: d3d9types.h:705
unsigned int BOOL
Definition: gctypes.h:51
Definition: d3d9types.h:756
Definition: d3d9types.h:1067
enum _D3DCULL D3DCULL
struct _D3DDEVINFO_D3D9STAGETIMINGS D3DDEVINFO_D3D9STAGETIMINGS
_D3DPRIMITIVETYPE
Definition: d3d8types.h:294
UINT StartSequenceConfigure
Definition: d3d9types.h:2336
Definition: d3d9types.h:525
HANDLE DXVA2DecodeHandle
Definition: d3d9types.h:2119
Definition: d3d9types.h:1299
Definition: d3d9types.h:565
Definition: d3d9types.h:416
LONG y1
Definition: d3d8types.h:69
Definition: d3d9types.h:338
struct _D3DAUTHENTICATEDCHANNEL_QUERYUNCOMPRESSEDENCRYPTIONLEVEL_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYUNCOMPRESSEDENCRYPTIONLEVEL_OUTPUT
USHORT SrcRectIndex
Definition: d3d9types.h:1970
Definition: d3d9types.h:724
enum _D3DBLENDOP D3DBLENDOP
_D3DAUTHENTICATEDCHANNEL_PROCESSIDENTIFIERTYPE
Definition: d3d9types.h:2157
Definition: d3d9types.h:869
UINT ScanLine
Definition: d3d8types.h:1588
enum _D3DTEXTURETRANSFORMFLAGS D3DTEXTURETRANSFORMFLAGS
Definition: d3d9types.h:725
Definition: d3d9types.h:1382
struct _D3DRECT D3DRECT
UINT Width
Definition: d3d8types.h:1314
Definition: d3d9types.h:1849
struct _D3DAES_CTR_IV D3DAES_CTR_IV
Definition: d3d9types.h:1020
enum _D3DLIGHTTYPE D3DLIGHTTYPE
Definition: d3d9types.h:929
Definition: d3d9types.h:957
Definition: d3d9types.h:383
GUID ConfigureType
Definition: d3d9types.h:2312
#define D3D_OMAC_SIZE
Definition: d3d9types.h:2031
Definition: d3d9types.h:1655
enum _D3DSHADER_MISCTYPE_OFFSETS D3DSHADER_MISCTYPE_OFFSETS
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2201
D3DAUTHENTICATEDCHANNEL_QUERY_INPUT Input
Definition: d3d9types.h:2215
enum _D3DSWAPEFFECT D3DSWAPEFFECT
BOOL bAccessibleInNonContiguousBlocks
Definition: d3d9types.h:2259
UINT Width
Definition: d3d8types.h:1500
Definition: d3d9types.h:1371
Definition: d3d9types.h:1368
Definition: d3d9types.h:709
Definition: d3d9types.h:587
Definition: d3d9types.h:1295
D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT Parameters
Definition: d3d9types.h:2346
Definition: d3d9types.h:217
D3DAUTHENTICATEDCHANNEL_CONFIGURE_INPUT Parameters
Definition: d3d9types.h:2358
Definition: d3d9types.h:873
Definition: d3d9types.h:598
Definition: d3d9types.h:638
D3DFORMAT Format
Definition: d3d8types.h:1457
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
DWORD Y
Definition: d3d9types.h:102
Definition: d3d8types.h:1506
Definition: d3d9types.h:707
struct _D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_INPUT D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_INPUT
struct _D3DAUTHENTICATEDCHANNEL_QUERYEVICTIONENCRYPTIONGUID_INPUT D3DAUTHENTICATEDCHANNEL_QUERYEVICTIONENCRYPTIONGUID_INPUT
FLOAT WaitingForGPUToAcceptMoreCommandsTimePercent
Definition: d3d9types.h:1917
_D3DDECLMETHOD
Definition: d3d9types.h:719
GLfloat green
Definition: glext.h:6290
Definition: d3d9types.h:1992
Definition: d3d9types.h:643
Definition: d3d9types.h:518
Definition: d3d9types.h:360
Definition: d3d9types.h:204
Definition: d3d9types.h:1500
Definition: d3d9types.h:739
DWORD NumVidCreates
Definition: d3d8types.h:1622
struct _D3DAUTHENTICATEDCHANNEL_QUERYRESTRICTEDSHAREDRESOURCEPROCESS_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYRESTRICTEDSHAREDRESOURCEPROCESS_OUTPUT
Definition: d3d9types.h:1836
Definition: d3d9types.h:743
Definition: d3d9types.h:877
Definition: d3d9types.h:218
Definition: d3d9types.h:1231
struct _D3DPRESENTSTATS D3DPRESENTSTATS
Definition: d3d9types.h:387
struct _D3DDEVINFO_D3D9BANDWIDTHTIMINGS D3DDEVINFO_D3D9BANDWIDTHTIMINGS
UINT Height
Definition: d3d8types.h:1489
Definition: d3d8types.h:1468
Definition: glslang_tab.cpp:135
Definition: d3d9types.h:1956
enum _D3DRENDERSTATETYPE D3DRENDERSTATETYPE
BOOL AllowAccess
Definition: d3d9types.h:2376
Definition: d3d9types.h:1506
Definition: d3d9types.h:351
struct _D3DVERTEXBUFFER_DESC D3DVERTEXBUFFER_DESC
Definition: d3d9types.h:761
enum _D3DPATCHEDGESTYLE D3DPATCHEDGESTYLE
USHORT Height
Definition: d3d9types.h:1965
UINT Height
Definition: d3d8types.h:1315
float Theta
Definition: d3d9types.h:186
Definition: d3d9types.h:2161
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
Definition: d3d9types.h:821
Definition: d3d9types.h:712
Definition: d3d9types.h:313
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
Definition: d3d9types.h:1047
Definition: d3d9types.h:1386
HWND hDeviceWindow
Definition: d3d8types.h:1368
Definition: d3d9types.h:303
Definition: d3d9types.h:2309
Definition: d3d9types.h:1839
Definition: d3d9types.h:593
Definition: d3d9types.h:2008
D3DPOOL Pool
Definition: d3d8types.h:1484
UINT Width
Definition: d3d8types.h:1542
Definition: glslang_tab.cpp:136
Definition: d3d9types.h:321
enum _D3DZBUFFERTYPE D3DZBUFFERTYPE
Definition: d3d9types.h:223
Definition: d3d8types.h:1358
Definition: d3d9types.h:569
float Attenuation2
Definition: d3d9types.h:185
enum _D3DVERTEXBLENDFLAGS D3DVERTEXBLENDFLAGS
struct _D3DVOLUME_DESC D3DVOLUME_DESC
Definition: d3d9types.h:838
float Attenuation1
Definition: d3d9types.h:184
Definition: d3d9types.h:154
char Description[MAX_DEVICE_IDENTIFIER_STRING]
Definition: d3d9types.h:1783
Definition: d3d9types.h:346
UINT NumEncryptedBytesAtBeginning
Definition: d3d9types.h:2394
struct _D3DDEVINFO_RESOURCEMANAGER D3DDEVINFO_RESOURCEMANAGER
Definition: d3d9types.h:273
HANDLE hChannel
Definition: d3d9types.h:2048
DWORD Flags
Definition: d3d8types.h:1372
Definition: d3d9types.h:703
Definition: d3d9types.h:1490
Definition: d3d9types.h:830
enum _D3DMATERIALCOLORSOURCE D3DMATERIALCOLORSOURCE
struct _D3D_OMAC D3D_OMAC
FLOAT FrontEndUploadMemoryUtilizedPercent
Definition: d3d9types.h:1932
INT RowPitch
Definition: d3d8types.h:1525
enum _D3DFORMAT D3DFORMAT
Definition: d3d9types.h:612
DWORD LevelOfEfficiency
Definition: d3d9types.h:1951
struct _D3DRECTPATCH_INFO D3DRECTPATCH_INFO
Definition: d3d9types.h:1397
Definition: d3d9types.h:443
GUID ConfigureType
Definition: d3d9types.h:2321
Definition: d3d9types.h:1156
USHORT Width
Definition: d3d9types.h:1965
Definition: d3d9types.h:388
Definition: d3d9types.h:402
Definition: d3d9types.h:514
BOOL Windowed
Definition: d3d8types.h:1369
UINT Height
Definition: d3d8types.h:1543
UINT Left
Definition: d3d8types.h:1515
Definition: d3d9types.h:815
D3DCOLORVALUE Diffuse
Definition: d3d9types.h:176
Definition: d3d9types.h:1303
BYTE Method
Definition: d3d9types.h:766
Definition: d3d9types.h:427
Definition: d3d9types.h:850
Definition: d3d9types.h:2160
Definition: d3d9types.h:706
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2105
Definition: d3d9types.h:870
_D3DTEXTUREADDRESS
Definition: d3d8types.h:238
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2125
UINT Stride
Definition: d3d8types.h:1544
Definition: d3d9types.h:1007
Definition: d3d9types.h:1838
Definition: d3d9types.h:234
struct _D3DDEVINFO_D3D9INTERFACETIMINGS D3DDEVINFO_D3D9INTERFACETIMINGS
Definition: d3d9types.h:2052
Definition: d3d9types.h:1363
Definition: d3d9types.h:1158
HWND hFocusWindow
Definition: d3d8types.h:1325
_D3DTEXTURETRANSFORMFLAGS
Definition: d3d8types.h:1162
Definition: d3d9types.h:813
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2289
UINT NumVertices
Definition: d3d8types.h:1552
Definition: d3d9types.h:2250
HANDLE CryptoSessionHandle
Definition: d3d9types.h:2128
_D3DTEXTUREFILTERTYPE
Definition: d3d8types.h:557
Definition: d3d9types.h:377
Definition: d3d9types.h:405
D3DAUTHENTICATEDCHANNEL_QUERY_OUTPUT Output
Definition: d3d9types.h:2093
FLOAT GPUIdleTimePercent
Definition: d3d9types.h:1911
Definition: d3d9types.h:1003
Definition: d3d9types.h:586
Definition: d3d9types.h:1464
Definition: d3d9types.h:276
Definition: d3d9types.h:492
Definition: d3d8types.h:1549
struct _D3DAUTHENTICATEDCHANNEL_QUERYUNRESTRICTEDPROTECTEDSHAREDRESOURCECOUNT_OUTPUT D3DAUTHENTICATEDCHANNEL_QUERYUNRESTRICTEDPROTECTEDSHAREDRESOURCECOUNT_OUTPUT
float g
Definition: d3d8types.h:59
UINT64 BytesEvictedFromProcess
Definition: d3d9types.h:1949
Definition: d3d9types.h:319
D3DCOLORVALUE Diffuse
Definition: d3d9types.h:160
Definition: d3d9types.h:1162
Definition: d3d9types.h:410
Definition: d3d9types.h:854
Definition: d3d9types.h:1588
DWORD NumExtraClippingTriangles
Definition: d3d8types.h:1643
DWORD MagicNumber
Definition: d3d9types.h:1903
HANDLE hChannel
Definition: d3d9types.h:2313
D3DPOOL Pool
Definition: d3d8types.h:1473
Definition: d3d9types.h:227
struct _D3DAUTHENTICATEDCHANNEL_CONFIGURESHAREDRESOURCE D3DAUTHENTICATEDCHANNEL_CONFIGURESHAREDRESOURCE
D3DCOLORVALUE Ambient
Definition: d3d9types.h:178
Definition: d3d9types.h:1304
Definition: d3d9types.h:430
D3D_OMAC omac
Definition: d3d9types.h:2320
Definition: d3d8types.h:1523
Definition: d3d9types.h:1451
Definition: d3d9types.h:314
Definition: d3d9types.h:1923
Definition: d3d9types.h:359
Definition: d3d9types.h:498
enum _D3DPRIMITIVETYPE D3DPRIMITIVETYPE
Definition: d3d9types.h:812
BYTE Usage
Definition: d3d9types.h:767
Definition: d3d9types.h:252
_D3DSAMPLER_TEXTURE_TYPE
Definition: d3d9types.h:954
Definition: d3d9types.h:848
Definition: d3d9types.h:363
Definition: d3d9types.h:1381
struct _D3DMEMORYPRESSURE D3DMEMORYPRESSURE
D3DFORMAT Format
Definition: d3d8types.h:1494
float _24
Definition: d3d8types.h:81
Definition: d3d9types.h:221
void * pBits
Definition: d3d8types.h:1527
Definition: d3d9types.h:244
enum _D3DSHADER_PARAM_SRCMOD_TYPE D3DSHADER_PARAM_SRCMOD_TYPE
enum _D3DFOGMODE D3DFOGMODE
enum _D3DCOMPOSERECTSOP D3DCOMPOSERECTSOP
Definition: d3d9types.h:433
Definition: d3d9types.h:751
#define MAX_DEVICE_IDENTIFIER_STRING
Definition: d3d9types.h:1779
Definition: d3d9types.h:496
Definition: d3d8types.h:1492
Definition: d3d9types.h:419
Definition: d3d9types.h:577
Definition: d3d9types.h:1899
struct _D3DADAPTER_IDENTIFIER9 D3DADAPTER_IDENTIFIER9
Definition: d3d9types.h:368
Definition: d3d9types.h:375
Definition: d3d9types.h:1004
_D3DBUSTYPE
Definition: d3d9types.h:2238
D3DCOLORVALUE Specular
Definition: d3d9types.h:162
Definition: d3d9types.h:1593
Definition: d3d9types.h:858
_D3DFILLMODE
Definition: d3d8types.h:200
Definition: d3d9types.h:591
Definition: d3d9types.h:823
_D3DZBUFFERTYPE
Definition: d3d8types.h:286
Definition: d3d9types.h:349
Definition: d3d9types.h:1958
float Phi
Definition: d3d9types.h:187
Definition: d3d9types.h:2240
D3DMULTISAMPLE_TYPE MultiSampleType
Definition: d3d8types.h:1365
D3DLIGHTTYPE Type
Definition: d3d9types.h:175
UINT Reserved
Definition: d3d9types.h:2072
Definition: d3d9types.h:1297
Definition: d3d8types.h:1455
Definition: d3d9types.h:864
Definition: d3d9types.h:1249
Definition: d3d9types.h:527
Definition: d3d9types.h:174
_D3DSHADER_MIN_PRECISION
Definition: d3d9types.h:1173
Definition: d3d9types.h:1246
DWORD LastPri
Definition: d3d8types.h:1623
UINT ProtectionEnabled
Definition: d3d9types.h:2070
UINT PresentRefreshCount
Definition: d3d9types.h:1984
Definition: d3d9types.h:804
Definition: d3d9types.h:1259
UINT Size
Definition: d3d9types.h:2010
Definition: d3d9types.h:1159
enum _D3DSHADER_INSTRUCTION_OPCODE_TYPE D3DSHADER_INSTRUCTION_OPCODE_TYPE
struct _D3DAUTHENTICATEDCHANNEL_QUERYRESTRICTEDSHAREDRESOURCEPROCESS_INPUT D3DAUTHENTICATEDCHANNEL_QUERYRESTRICTEDSHAREDRESOURCEPROCESS_INPUT
_D3DDECLUSAGE
Definition: d3d9types.h:697
Definition: d3d9types.h:723
Definition: d3d9types.h:753
Definition: d3d9types.h:1431
D3DVECTOR Direction
Definition: d3d9types.h:180
LONG x1
Definition: d3d8types.h:68
Definition: d3d9types.h:426
GUID DeviceIdentifier
Definition: d3d9types.h:1798
Definition: d3d9types.h:418
Definition: d3d9types.h:926
UINT64 Count
Definition: d3d9types.h:2402
enum _D3DBUSTYPE D3DBUSTYPE
Definition: d3d9types.h:1489
Definition: d3d9types.h:754
Definition: d3d9types.h:2399
Definition: d3d9types.h:385
Definition: d3d9types.h:401
D3DFORMAT Format
Definition: d3d8types.h:1470
Definition: d3d9types.h:1417
Definition: d3d9types.h:100
Definition: d3d9types.h:820
enum _D3DQUERYTYPE D3DQUERYTYPE
Definition: d3d9types.h:399
Definition: d3d9types.h:1154
_D3DSHADER_PARAM_REGISTER_TYPE
Definition: d3d8types.h:969
Definition: d3d9types.h:825
Definition: d3d9types.h:583
D3DRESOURCETYPE Type
Definition: d3d8types.h:1482
Definition: d3d9types.h:1008
Definition: d3d9types.h:597
UINT OverlayOrFullscreenRequired
Definition: d3d9types.h:2071
Definition: d3d9types.h:1505
_D3DMULTISAMPLE_TYPE
Definition: d3d8types.h:1197
HANDLE CryptoSessionHandle
Definition: d3d9types.h:2228
Definition: d3d8types.h:1640
enum _D3DSAMPLER_TEXTURE_TYPE D3DSAMPLER_TEXTURE_TYPE
Definition: d3d9types.h:342
D3DCOLORVALUE Ambient
Definition: d3d9types.h:161
UINT Right
Definition: d3d8types.h:1517
Definition: d3d9types.h:246
Definition: d3d9types.h:440
DWORD CacheSize
Definition: d3d9types.h:1902
Definition: d3d9types.h:381
D3DFORMAT BackBufferFormat
Definition: d3d8types.h:1362
Definition: d3d9types.h:726
Definition: d3d9types.h:1372
Definition: d3d9types.h:1068
const GLfloat * m
Definition: glext.h:11755
Definition: d3d9types.h:243
Definition: d3d9types.h:344
UINT SequenceNumber
Definition: d3d9types.h:2323
_D3DAUTHENTICATEDCHANNELTYPE
Definition: d3d9types.h:2038
Definition: d3d9types.h:280
DWORD Usage
Definition: d3d8types.h:1459
Definition: d3d9types.h:570
Definition: d3d9types.h:282
Definition: d3d9types.h:386
DWORD NumRenderedTriangles
Definition: d3d8types.h:1642
#define D3DRTYPECOUNT
Definition: d3d9types.h:1881
Definition: d3d9types.h:1575
Definition: d3d8types.h:1585
FLOAT WaitingForGPUToStayWithinLatencyTimePercent
Definition: d3d9types.h:1918
Definition: d3d9types.h:1069
Definition: d3d9types.h:702
The text renderer interface represents a set of application-defined callbacks that perform rendering ...
Definition: d3d8types.h:57
Definition: d3d9types.h:609
Definition: d3d9types.h:891
Definition: d3d9types.h:568
Definition: d3d9types.h:358
Definition: d3d9types.h:1384
Definition: d3d9types.h:1968
float _41
Definition: d3d8types.h:83
enum _D3DDECLMETHOD D3DDECLMETHOD
Definition: d3d9types.h:704
Definition: d3d9types.h:1283
enum _D3DSTENCILOP D3DSTENCILOP
FLOAT ComputationProcessingPercent
Definition: d3d9types.h:1926
Definition: d3d9types.h:517
Definition: d3d9types.h:839
enum _D3DSHADER_PARAM_REGISTER_TYPE D3DSHADER_PARAM_REGISTER_TYPE
Definition: d3d9types.h:871
struct _D3DTRIPATCH_INFO D3DTRIPATCH_INFO
Definition: d3d9types.h:1364
Definition: d3d9types.h:636
Definition: d3d9types.h:411
Definition: d3d8types.h:1538
DWORD D3DCOLOR
Definition: d3d9types.h:33
UINT PresentCount
Definition: d3d9types.h:1983
_D3DSHADEMODE
Definition: d3d8types.h:193
Definition: d3d9types.h:1938
Definition: d3d9types.h:1416
Definition: d3d9types.h:1405
DWORD BehaviorFlags
Definition: d3d8types.h:1326
Definition: d3d9types.h:1155
D3DBASISTYPE Basis
Definition: d3d8types.h:1553
Definition: d3d9types.h:1005
Definition: d3d9types.h:1650
Definition: d3d9types.h:504
Definition: d3d9types.h:302
enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
struct _D3DRESOURCESTATS D3DRESOURCESTATS
UINT BackBufferWidth
Definition: d3d8types.h:1360
Definition: d3d9types.h:1309
Definition: d3d9types.h:2241
Definition: d3d9types.h:1649
Definition: d3d9types.h:1848
Definition: d3d9types.h:855
enum _D3DSAMPLERSTATETYPE D3DSAMPLERSTATETYPE
Definition: d3d9types.h:928
Definition: d3d9types.h:1454
Definition: d3d9types.h:846
enum _D3DSHADER_COMPARISON D3DSHADER_COMPARISON
D3DDISPLAYROTATION
Definition: d3d9types.h:2016
Definition: d3d9types.h:294
WORD Stream
Definition: d3d9types.h:763
Definition: d3d9types.h:1286
UINT Size
Definition: d3d8types.h:1534
Definition: d3d8types.h:1513
Definition: d3d9types.h:1163