source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/d3dcommon.h@ 1175

Last change on this file since 1175 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 33.6 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/d3dcommon.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __d3dcommon_h__
17#define __d3dcommon_h__
18
19/* Forward declarations */
20
21#ifndef __ID3D10Blob_FWD_DEFINED__
22#define __ID3D10Blob_FWD_DEFINED__
23typedef interface ID3D10Blob ID3D10Blob;
24#ifdef __cplusplus
25interface ID3D10Blob;
26#endif /* __cplusplus */
27#endif
28
29#ifndef __ID3DDestructionNotifier_FWD_DEFINED__
30#define __ID3DDestructionNotifier_FWD_DEFINED__
31typedef interface ID3DDestructionNotifier ID3DDestructionNotifier;
32#ifdef __cplusplus
33interface ID3DDestructionNotifier;
34#endif /* __cplusplus */
35#endif
36
37#ifndef __ID3DInclude_FWD_DEFINED__
38#define __ID3DInclude_FWD_DEFINED__
39typedef interface ID3DInclude ID3DInclude;
40#ifdef __cplusplus
41interface ID3DInclude;
42#endif /* __cplusplus */
43#endif
44
45/* Headers for imported files */
46
47#include <oaidl.h>
48#include <ocidl.h>
49
50#ifdef __cplusplus
51extern "C" {
52#endif
53
54typedef struct _D3D_SHADER_MACRO {
55 const char *Name;
56 const char *Definition;
57} D3D_SHADER_MACRO;
58typedef struct _D3D_SHADER_MACRO *LPD3D_SHADER_MACRO;
59/*****************************************************************************
60 * ID3D10Blob interface
61 */
62#ifndef __ID3D10Blob_INTERFACE_DEFINED__
63#define __ID3D10Blob_INTERFACE_DEFINED__
64
65DEFINE_GUID(IID_ID3D10Blob, 0x8ba5fb08, 0x5195, 0x40e2, 0xac,0x58, 0x0d,0x98,0x9c,0x3a,0x01,0x02);
66#if defined(__cplusplus) && !defined(CINTERFACE)
67MIDL_INTERFACE("8ba5fb08-5195-40e2-ac58-0d989c3a0102")
68ID3D10Blob : public IUnknown
69{
70 virtual void * STDMETHODCALLTYPE GetBufferPointer(
71 ) = 0;
72
73 virtual SIZE_T STDMETHODCALLTYPE GetBufferSize(
74 ) = 0;
75
76};
77#ifdef __CRT_UUID_DECL
78__CRT_UUID_DECL(ID3D10Blob, 0x8ba5fb08, 0x5195, 0x40e2, 0xac,0x58, 0x0d,0x98,0x9c,0x3a,0x01,0x02)
79#endif
80#else
81typedef struct ID3D10BlobVtbl {
82 BEGIN_INTERFACE
83
84 /*** IUnknown methods ***/
85 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
86 ID3D10Blob *This,
87 REFIID riid,
88 void **ppvObject);
89
90 ULONG (STDMETHODCALLTYPE *AddRef)(
91 ID3D10Blob *This);
92
93 ULONG (STDMETHODCALLTYPE *Release)(
94 ID3D10Blob *This);
95
96 /*** ID3D10Blob methods ***/
97 void * (STDMETHODCALLTYPE *GetBufferPointer)(
98 ID3D10Blob *This);
99
100 SIZE_T (STDMETHODCALLTYPE *GetBufferSize)(
101 ID3D10Blob *This);
102
103 END_INTERFACE
104} ID3D10BlobVtbl;
105
106interface ID3D10Blob {
107 CONST_VTBL ID3D10BlobVtbl* lpVtbl;
108};
109
110#ifdef COBJMACROS
111#ifndef WIDL_C_INLINE_WRAPPERS
112/*** IUnknown methods ***/
113#define ID3D10Blob_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
114#define ID3D10Blob_AddRef(This) (This)->lpVtbl->AddRef(This)
115#define ID3D10Blob_Release(This) (This)->lpVtbl->Release(This)
116/*** ID3D10Blob methods ***/
117#define ID3D10Blob_GetBufferPointer(This) (This)->lpVtbl->GetBufferPointer(This)
118#define ID3D10Blob_GetBufferSize(This) (This)->lpVtbl->GetBufferSize(This)
119#else
120/*** IUnknown methods ***/
121static FORCEINLINE HRESULT ID3D10Blob_QueryInterface(ID3D10Blob* This,REFIID riid,void **ppvObject) {
122 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
123}
124static FORCEINLINE ULONG ID3D10Blob_AddRef(ID3D10Blob* This) {
125 return This->lpVtbl->AddRef(This);
126}
127static FORCEINLINE ULONG ID3D10Blob_Release(ID3D10Blob* This) {
128 return This->lpVtbl->Release(This);
129}
130/*** ID3D10Blob methods ***/
131static FORCEINLINE void * ID3D10Blob_GetBufferPointer(ID3D10Blob* This) {
132 return This->lpVtbl->GetBufferPointer(This);
133}
134static FORCEINLINE SIZE_T ID3D10Blob_GetBufferSize(ID3D10Blob* This) {
135 return This->lpVtbl->GetBufferSize(This);
136}
137#endif
138#endif
139
140#endif
141
142
143#endif /* __ID3D10Blob_INTERFACE_DEFINED__ */
144
145typedef ID3D10Blob *LPD3D10BLOB;
146typedef ID3D10Blob ID3DBlob;
147typedef ID3DBlob *LPD3DBLOB;
148#define IID_ID3DBlob IID_ID3D10Blob
149typedef void (__stdcall *PFN_DESTRUCTION_CALLBACK)(void *data);
150/*****************************************************************************
151 * ID3DDestructionNotifier interface
152 */
153#ifndef __ID3DDestructionNotifier_INTERFACE_DEFINED__
154#define __ID3DDestructionNotifier_INTERFACE_DEFINED__
155
156DEFINE_GUID(IID_ID3DDestructionNotifier, 0xa06eb39a, 0x50da, 0x425b, 0x8c,0x31, 0x4e,0xec,0xd6,0xc2,0x70,0xf3);
157#if defined(__cplusplus) && !defined(CINTERFACE)
158MIDL_INTERFACE("a06eb39a-50da-425b-8c31-4eecd6c270f3")
159ID3DDestructionNotifier : public IUnknown
160{
161 virtual HRESULT STDMETHODCALLTYPE RegisterDestructionCallback(
162 PFN_DESTRUCTION_CALLBACK callback_func,
163 void *data,
164 UINT *callback_id) = 0;
165
166 virtual HRESULT STDMETHODCALLTYPE UnregisterDestructionCallback(
167 UINT callback_id) = 0;
168
169};
170#ifdef __CRT_UUID_DECL
171__CRT_UUID_DECL(ID3DDestructionNotifier, 0xa06eb39a, 0x50da, 0x425b, 0x8c,0x31, 0x4e,0xec,0xd6,0xc2,0x70,0xf3)
172#endif
173#else
174typedef struct ID3DDestructionNotifierVtbl {
175 BEGIN_INTERFACE
176
177 /*** IUnknown methods ***/
178 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
179 ID3DDestructionNotifier *This,
180 REFIID riid,
181 void **ppvObject);
182
183 ULONG (STDMETHODCALLTYPE *AddRef)(
184 ID3DDestructionNotifier *This);
185
186 ULONG (STDMETHODCALLTYPE *Release)(
187 ID3DDestructionNotifier *This);
188
189 /*** ID3DDestructionNotifier methods ***/
190 HRESULT (STDMETHODCALLTYPE *RegisterDestructionCallback)(
191 ID3DDestructionNotifier *This,
192 PFN_DESTRUCTION_CALLBACK callback_func,
193 void *data,
194 UINT *callback_id);
195
196 HRESULT (STDMETHODCALLTYPE *UnregisterDestructionCallback)(
197 ID3DDestructionNotifier *This,
198 UINT callback_id);
199
200 END_INTERFACE
201} ID3DDestructionNotifierVtbl;
202
203interface ID3DDestructionNotifier {
204 CONST_VTBL ID3DDestructionNotifierVtbl* lpVtbl;
205};
206
207#ifdef COBJMACROS
208#ifndef WIDL_C_INLINE_WRAPPERS
209/*** IUnknown methods ***/
210#define ID3DDestructionNotifier_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
211#define ID3DDestructionNotifier_AddRef(This) (This)->lpVtbl->AddRef(This)
212#define ID3DDestructionNotifier_Release(This) (This)->lpVtbl->Release(This)
213/*** ID3DDestructionNotifier methods ***/
214#define ID3DDestructionNotifier_RegisterDestructionCallback(This,callback_func,data,callback_id) (This)->lpVtbl->RegisterDestructionCallback(This,callback_func,data,callback_id)
215#define ID3DDestructionNotifier_UnregisterDestructionCallback(This,callback_id) (This)->lpVtbl->UnregisterDestructionCallback(This,callback_id)
216#else
217/*** IUnknown methods ***/
218static FORCEINLINE HRESULT ID3DDestructionNotifier_QueryInterface(ID3DDestructionNotifier* This,REFIID riid,void **ppvObject) {
219 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
220}
221static FORCEINLINE ULONG ID3DDestructionNotifier_AddRef(ID3DDestructionNotifier* This) {
222 return This->lpVtbl->AddRef(This);
223}
224static FORCEINLINE ULONG ID3DDestructionNotifier_Release(ID3DDestructionNotifier* This) {
225 return This->lpVtbl->Release(This);
226}
227/*** ID3DDestructionNotifier methods ***/
228static FORCEINLINE HRESULT ID3DDestructionNotifier_RegisterDestructionCallback(ID3DDestructionNotifier* This,PFN_DESTRUCTION_CALLBACK callback_func,void *data,UINT *callback_id) {
229 return This->lpVtbl->RegisterDestructionCallback(This,callback_func,data,callback_id);
230}
231static FORCEINLINE HRESULT ID3DDestructionNotifier_UnregisterDestructionCallback(ID3DDestructionNotifier* This,UINT callback_id) {
232 return This->lpVtbl->UnregisterDestructionCallback(This,callback_id);
233}
234#endif
235#endif
236
237#endif
238
239
240#endif /* __ID3DDestructionNotifier_INTERFACE_DEFINED__ */
241
242typedef enum _D3D_INCLUDE_TYPE {
243 D3D_INCLUDE_LOCAL = 0,
244 D3D_INCLUDE_SYSTEM = 1,
245 D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL,
246 D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM,
247 D3D_INCLUDE_FORCE_DWORD = 0x7fffffff
248} D3D_INCLUDE_TYPE;
249/*****************************************************************************
250 * ID3DInclude interface
251 */
252#ifndef __ID3DInclude_INTERFACE_DEFINED__
253#define __ID3DInclude_INTERFACE_DEFINED__
254
255#if defined(__cplusplus) && !defined(CINTERFACE)
256interface ID3DInclude
257{
258
259 BEGIN_INTERFACE
260
261 virtual HRESULT STDMETHODCALLTYPE Open(
262 D3D_INCLUDE_TYPE include_type,
263 const char *filename,
264 const void *parent_data,
265 const void **data,
266 UINT *bytes) = 0;
267
268 virtual HRESULT STDMETHODCALLTYPE Close(
269 const void *data) = 0;
270
271 END_INTERFACE
272
273};
274#else
275typedef struct ID3DIncludeVtbl {
276 BEGIN_INTERFACE
277
278 /*** ID3DInclude methods ***/
279 HRESULT (STDMETHODCALLTYPE *Open)(
280 ID3DInclude *This,
281 D3D_INCLUDE_TYPE include_type,
282 const char *filename,
283 const void *parent_data,
284 const void **data,
285 UINT *bytes);
286
287 HRESULT (STDMETHODCALLTYPE *Close)(
288 ID3DInclude *This,
289 const void *data);
290
291 END_INTERFACE
292} ID3DIncludeVtbl;
293
294interface ID3DInclude {
295 CONST_VTBL ID3DIncludeVtbl* lpVtbl;
296};
297
298#ifdef COBJMACROS
299#ifndef WIDL_C_INLINE_WRAPPERS
300/*** ID3DInclude methods ***/
301#define ID3DInclude_Open(This,include_type,filename,parent_data,data,bytes) (This)->lpVtbl->Open(This,include_type,filename,parent_data,data,bytes)
302#define ID3DInclude_Close(This,data) (This)->lpVtbl->Close(This,data)
303#else
304/*** ID3DInclude methods ***/
305static FORCEINLINE HRESULT ID3DInclude_Open(ID3DInclude* This,D3D_INCLUDE_TYPE include_type,const char *filename,const void *parent_data,const void **data,UINT *bytes) {
306 return This->lpVtbl->Open(This,include_type,filename,parent_data,data,bytes);
307}
308static FORCEINLINE HRESULT ID3DInclude_Close(ID3DInclude* This,const void *data) {
309 return This->lpVtbl->Close(This,data);
310}
311#endif
312#endif
313
314#endif
315
316
317#endif /* __ID3DInclude_INTERFACE_DEFINED__ */
318
319typedef ID3DInclude *LPD3DINCLUDE;
320typedef enum D3D_DRIVER_TYPE {
321 D3D_DRIVER_TYPE_UNKNOWN = 0,
322 D3D_DRIVER_TYPE_HARDWARE = 1,
323 D3D_DRIVER_TYPE_REFERENCE = 2,
324 D3D_DRIVER_TYPE_NULL = 3,
325 D3D_DRIVER_TYPE_SOFTWARE = 4,
326 D3D_DRIVER_TYPE_WARP = 5
327} D3D_DRIVER_TYPE;
328typedef enum D3D_FEATURE_LEVEL {
329 D3D_FEATURE_LEVEL_9_1 = 0x9100,
330 D3D_FEATURE_LEVEL_9_2 = 0x9200,
331 D3D_FEATURE_LEVEL_9_3 = 0x9300,
332 D3D_FEATURE_LEVEL_10_0 = 0xa000,
333 D3D_FEATURE_LEVEL_10_1 = 0xa100,
334 D3D_FEATURE_LEVEL_11_0 = 0xb000,
335 D3D_FEATURE_LEVEL_11_1 = 0xb100,
336 D3D_FEATURE_LEVEL_12_0 = 0xc000,
337 D3D_FEATURE_LEVEL_12_1 = 0xc100
338} D3D_FEATURE_LEVEL;
339#define D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION 2048
340#define D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION 4096
341#define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION 2048
342#define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION 4096
343#define D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION 512
344#define D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION 4096
345#define D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION 256
346#define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY 2
347#define D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT 65535
348#define D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT 1048575
349#define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT 1
350#define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT 4
351#define D3D_FL9_1_MAX_TEXTURE_REPEAT 128
352#define D3D_FL9_2_MAX_TEXTURE_REPEAT 2048
353#define D3D_FL9_3_MAX_TEXTURE_REPEAT 8192
354typedef enum _D3D_SHADER_VARIABLE_CLASS {
355 D3D_SVC_SCALAR = 0,
356 D3D_SVC_VECTOR = 1,
357 D3D_SVC_MATRIX_ROWS = 2,
358 D3D_SVC_MATRIX_COLUMNS = 3,
359 D3D_SVC_OBJECT = 4,
360 D3D_SVC_STRUCT = 5,
361 D3D_SVC_INTERFACE_CLASS = 6,
362 D3D_SVC_INTERFACE_POINTER = 7,
363 D3D10_SVC_SCALAR = 0,
364 D3D10_SVC_VECTOR = 1,
365 D3D10_SVC_MATRIX_ROWS = 2,
366 D3D10_SVC_MATRIX_COLUMNS = 3,
367 D3D10_SVC_OBJECT = 4,
368 D3D10_SVC_STRUCT = 5,
369 D3D11_SVC_INTERFACE_CLASS = 6,
370 D3D11_SVC_INTERFACE_POINTER = 7,
371 D3D_SVC_FORCE_DWORD = 0x7fffffff
372} D3D_SHADER_VARIABLE_CLASS;
373typedef enum _D3D_SHADER_VARIABLE_FLAGS {
374 D3D_SVF_USERPACKED = 0x1,
375 D3D_SVF_USED = 0x2,
376 D3D_SVF_INTERFACE_POINTER = 0x4,
377 D3D_SVF_INTERFACE_PARAMETER = 0x8,
378 D3D10_SVF_USERPACKED = D3D_SVF_USERPACKED,
379 D3D10_SVF_USED = D3D_SVF_USED,
380 D3D11_SVF_INTERFACE_POINTER = D3D_SVF_INTERFACE_POINTER,
381 D3D11_SVF_INTERFACE_PARAMETER = D3D_SVF_INTERFACE_PARAMETER,
382 D3D_SVF_FORCE_DWORD = 0x7fffffff
383} D3D_SHADER_VARIABLE_FLAGS;
384typedef enum _D3D_SHADER_VARIABLE_TYPE {
385 D3D_SVT_VOID = 0,
386 D3D_SVT_BOOL = 1,
387 D3D_SVT_INT = 2,
388 D3D_SVT_FLOAT = 3,
389 D3D_SVT_STRING = 4,
390 D3D_SVT_TEXTURE = 5,
391 D3D_SVT_TEXTURE1D = 6,
392 D3D_SVT_TEXTURE2D = 7,
393 D3D_SVT_TEXTURE3D = 8,
394 D3D_SVT_TEXTURECUBE = 9,
395 D3D_SVT_SAMPLER = 10,
396 D3D_SVT_SAMPLER1D = 11,
397 D3D_SVT_SAMPLER2D = 12,
398 D3D_SVT_SAMPLER3D = 13,
399 D3D_SVT_SAMPLERCUBE = 14,
400 D3D_SVT_PIXELSHADER = 15,
401 D3D_SVT_VERTEXSHADER = 16,
402 D3D_SVT_PIXELFRAGMENT = 17,
403 D3D_SVT_VERTEXFRAGMENT = 18,
404 D3D_SVT_UINT = 19,
405 D3D_SVT_UINT8 = 20,
406 D3D_SVT_GEOMETRYSHADER = 21,
407 D3D_SVT_RASTERIZER = 22,
408 D3D_SVT_DEPTHSTENCIL = 23,
409 D3D_SVT_BLEND = 24,
410 D3D_SVT_BUFFER = 25,
411 D3D_SVT_CBUFFER = 26,
412 D3D_SVT_TBUFFER = 27,
413 D3D_SVT_TEXTURE1DARRAY = 28,
414 D3D_SVT_TEXTURE2DARRAY = 29,
415 D3D_SVT_RENDERTARGETVIEW = 30,
416 D3D_SVT_DEPTHSTENCILVIEW = 31,
417 D3D_SVT_TEXTURE2DMS = 32,
418 D3D_SVT_TEXTURE2DMSARRAY = 33,
419 D3D_SVT_TEXTURECUBEARRAY = 34,
420 D3D_SVT_HULLSHADER = 35,
421 D3D_SVT_DOMAINSHADER = 36,
422 D3D_SVT_INTERFACE_POINTER = 37,
423 D3D_SVT_COMPUTESHADER = 38,
424 D3D_SVT_DOUBLE = 39,
425 D3D_SVT_RWTEXTURE1D = 40,
426 D3D_SVT_RWTEXTURE1DARRAY = 41,
427 D3D_SVT_RWTEXTURE2D = 42,
428 D3D_SVT_RWTEXTURE2DARRAY = 43,
429 D3D_SVT_RWTEXTURE3D = 44,
430 D3D_SVT_RWBUFFER = 45,
431 D3D_SVT_BYTEADDRESS_BUFFER = 46,
432 D3D_SVT_RWBYTEADDRESS_BUFFER = 47,
433 D3D_SVT_STRUCTURED_BUFFER = 48,
434 D3D_SVT_RWSTRUCTURED_BUFFER = 49,
435 D3D_SVT_APPEND_STRUCTURED_BUFFER = 50,
436 D3D_SVT_CONSUME_STRUCTURED_BUFFER = 51,
437 D3D_SVT_MIN8FLOAT = 52,
438 D3D_SVT_MIN10FLOAT = 53,
439 D3D_SVT_MIN16FLOAT = 54,
440 D3D_SVT_MIN12INT = 55,
441 D3D_SVT_MIN16INT = 56,
442 D3D_SVT_MIN16UINT = 57,
443 D3D10_SVT_VOID = 0,
444 D3D10_SVT_BOOL = 1,
445 D3D10_SVT_INT = 2,
446 D3D10_SVT_FLOAT = 3,
447 D3D10_SVT_STRING = 4,
448 D3D10_SVT_TEXTURE = 5,
449 D3D10_SVT_TEXTURE1D = 6,
450 D3D10_SVT_TEXTURE2D = 7,
451 D3D10_SVT_TEXTURE3D = 8,
452 D3D10_SVT_TEXTURECUBE = 9,
453 D3D10_SVT_SAMPLER = 10,
454 D3D10_SVT_SAMPLER1D = 11,
455 D3D10_SVT_SAMPLER2D = 12,
456 D3D10_SVT_SAMPLER3D = 13,
457 D3D10_SVT_SAMPLERCUBE = 14,
458 D3D10_SVT_PIXELSHADER = 15,
459 D3D10_SVT_VERTEXSHADER = 16,
460 D3D10_SVT_PIXELFRAGMENT = 17,
461 D3D10_SVT_VERTEXFRAGMENT = 18,
462 D3D10_SVT_UINT = 19,
463 D3D10_SVT_UINT8 = 20,
464 D3D10_SVT_GEOMETRYSHADER = 21,
465 D3D10_SVT_RASTERIZER = 22,
466 D3D10_SVT_DEPTHSTENCIL = 23,
467 D3D10_SVT_BLEND = 24,
468 D3D10_SVT_BUFFER = 25,
469 D3D10_SVT_CBUFFER = 26,
470 D3D10_SVT_TBUFFER = 27,
471 D3D10_SVT_TEXTURE1DARRAY = 28,
472 D3D10_SVT_TEXTURE2DARRAY = 29,
473 D3D10_SVT_RENDERTARGETVIEW = 30,
474 D3D10_SVT_DEPTHSTENCILVIEW = 31,
475 D3D10_SVT_TEXTURE2DMS = 32,
476 D3D10_SVT_TEXTURE2DMSARRAY = 33,
477 D3D10_SVT_TEXTURECUBEARRAY = 34,
478 D3D11_SVT_HULLSHADER = 35,
479 D3D11_SVT_DOMAINSHADER = 36,
480 D3D11_SVT_INTERFACE_POINTER = 37,
481 D3D11_SVT_COMPUTESHADER = 38,
482 D3D11_SVT_DOUBLE = 39,
483 D3D11_SVT_RWTEXTURE1D = 40,
484 D3D11_SVT_RWTEXTURE1DARRAY = 41,
485 D3D11_SVT_RWTEXTURE2D = 42,
486 D3D11_SVT_RWTEXTURE2DARRAY = 43,
487 D3D11_SVT_RWTEXTURE3D = 44,
488 D3D11_SVT_RWBUFFER = 45,
489 D3D11_SVT_BYTEADDRESS_BUFFER = 46,
490 D3D11_SVT_RWBYTEADDRESS_BUFFER = 47,
491 D3D11_SVT_STRUCTURED_BUFFER = 48,
492 D3D11_SVT_RWSTRUCTURED_BUFFER = 49,
493 D3D11_SVT_APPEND_STRUCTURED_BUFFER = 50,
494 D3D11_SVT_CONSUME_STRUCTURED_BUFFER = 51,
495 D3D_SVT_FORCE_DWORD = 0x7fffffff
496} D3D_SHADER_VARIABLE_TYPE;
497typedef enum _D3D_SHADER_INPUT_FLAGS {
498 D3D_SIF_USERPACKED = 0x1,
499 D3D_SIF_COMPARISON_SAMPLER = 0x2,
500 D3D_SIF_TEXTURE_COMPONENT_0 = 0x4,
501 D3D_SIF_TEXTURE_COMPONENT_1 = 0x8,
502 D3D_SIF_TEXTURE_COMPONENTS = 0xc,
503 D3D_SIF_UNUSED = 0x10,
504 D3D10_SIF_USERPACKED = D3D_SIF_USERPACKED,
505 D3D10_SIF_COMPARISON_SAMPLER = D3D_SIF_COMPARISON_SAMPLER,
506 D3D10_SIF_TEXTURE_COMPONENT_0 = D3D_SIF_TEXTURE_COMPONENT_0,
507 D3D10_SIF_TEXTURE_COMPONENT_1 = D3D_SIF_TEXTURE_COMPONENT_1,
508 D3D10_SIF_TEXTURE_COMPONENTS = D3D_SIF_TEXTURE_COMPONENTS,
509 D3D_SIF_FORCE_DWORD = 0x7fffffff
510} D3D_SHADER_INPUT_FLAGS;
511typedef enum D3D_PRIMITIVE {
512 D3D_PRIMITIVE_UNDEFINED = 0,
513 D3D_PRIMITIVE_POINT = 1,
514 D3D_PRIMITIVE_LINE = 2,
515 D3D_PRIMITIVE_TRIANGLE = 3,
516 D3D_PRIMITIVE_LINE_ADJ = 6,
517 D3D_PRIMITIVE_TRIANGLE_ADJ = 7,
518 D3D_PRIMITIVE_1_CONTROL_POINT_PATCH = 8,
519 D3D_PRIMITIVE_2_CONTROL_POINT_PATCH = 9,
520 D3D_PRIMITIVE_3_CONTROL_POINT_PATCH = 10,
521 D3D_PRIMITIVE_4_CONTROL_POINT_PATCH = 11,
522 D3D_PRIMITIVE_5_CONTROL_POINT_PATCH = 12,
523 D3D_PRIMITIVE_6_CONTROL_POINT_PATCH = 13,
524 D3D_PRIMITIVE_7_CONTROL_POINT_PATCH = 14,
525 D3D_PRIMITIVE_8_CONTROL_POINT_PATCH = 15,
526 D3D_PRIMITIVE_9_CONTROL_POINT_PATCH = 16,
527 D3D_PRIMITIVE_10_CONTROL_POINT_PATCH = 17,
528 D3D_PRIMITIVE_11_CONTROL_POINT_PATCH = 18,
529 D3D_PRIMITIVE_12_CONTROL_POINT_PATCH = 19,
530 D3D_PRIMITIVE_13_CONTROL_POINT_PATCH = 20,
531 D3D_PRIMITIVE_14_CONTROL_POINT_PATCH = 21,
532 D3D_PRIMITIVE_15_CONTROL_POINT_PATCH = 22,
533 D3D_PRIMITIVE_16_CONTROL_POINT_PATCH = 23,
534 D3D_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
535 D3D_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
536 D3D_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
537 D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
538 D3D_PRIMITIVE_21_CONTROL_POINT_PATCH = 29,
539 D3D_PRIMITIVE_22_CONTROL_POINT_PATCH = 30,
540 D3D_PRIMITIVE_23_CONTROL_POINT_PATCH = 31,
541 D3D_PRIMITIVE_24_CONTROL_POINT_PATCH = 32,
542 D3D_PRIMITIVE_25_CONTROL_POINT_PATCH = 33,
543 D3D_PRIMITIVE_26_CONTROL_POINT_PATCH = 34,
544 D3D_PRIMITIVE_27_CONTROL_POINT_PATCH = 35,
545 D3D_PRIMITIVE_28_CONTROL_POINT_PATCH = 36,
546 D3D_PRIMITIVE_29_CONTROL_POINT_PATCH = 37,
547 D3D_PRIMITIVE_30_CONTROL_POINT_PATCH = 38,
548 D3D_PRIMITIVE_31_CONTROL_POINT_PATCH = 39,
549 D3D_PRIMITIVE_32_CONTROL_POINT_PATCH = 40,
550 D3D10_PRIMITIVE_UNDEFINED = 0,
551 D3D10_PRIMITIVE_POINT = 1,
552 D3D10_PRIMITIVE_LINE = 2,
553 D3D10_PRIMITIVE_TRIANGLE = 3,
554 D3D10_PRIMITIVE_LINE_ADJ = 6,
555 D3D10_PRIMITIVE_TRIANGLE_ADJ = 7,
556 D3D11_PRIMITIVE_UNDEFINED = 0,
557 D3D11_PRIMITIVE_POINT = 1,
558 D3D11_PRIMITIVE_LINE = 2,
559 D3D11_PRIMITIVE_TRIANGLE = 3,
560 D3D11_PRIMITIVE_LINE_ADJ = 6,
561 D3D11_PRIMITIVE_TRIANGLE_ADJ = 7,
562 D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH = 8,
563 D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH = 9,
564 D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH = 10,
565 D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH = 11,
566 D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH = 12,
567 D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH = 13,
568 D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH = 14,
569 D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH = 15,
570 D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH = 16,
571 D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH = 17,
572 D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH = 18,
573 D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH = 19,
574 D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH = 20,
575 D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH = 21,
576 D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH = 22,
577 D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH = 23,
578 D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
579 D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
580 D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
581 D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
582 D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH = 29,
583 D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH = 30,
584 D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH = 31,
585 D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH = 32,
586 D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH = 33,
587 D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH = 34,
588 D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH = 35,
589 D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH = 36,
590 D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH = 37,
591 D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH = 38,
592 D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH = 39,
593 D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH = 40
594} D3D_PRIMITIVE;
595typedef enum D3D_PRIMITIVE_TOPOLOGY {
596 D3D_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
597 D3D_PRIMITIVE_TOPOLOGY_POINTLIST = 1,
598 D3D_PRIMITIVE_TOPOLOGY_LINELIST = 2,
599 D3D_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
600 D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
601 D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
602 D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
603 D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
604 D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
605 D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13,
606 D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33,
607 D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34,
608 D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35,
609 D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36,
610 D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37,
611 D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38,
612 D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39,
613 D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40,
614 D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41,
615 D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42,
616 D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43,
617 D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44,
618 D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45,
619 D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46,
620 D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47,
621 D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48,
622 D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49,
623 D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50,
624 D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51,
625 D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52,
626 D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53,
627 D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54,
628 D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55,
629 D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56,
630 D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57,
631 D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58,
632 D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59,
633 D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60,
634 D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61,
635 D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62,
636 D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63,
637 D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64,
638 D3D10_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
639 D3D10_PRIMITIVE_TOPOLOGY_POINTLIST = 1,
640 D3D10_PRIMITIVE_TOPOLOGY_LINELIST = 2,
641 D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
642 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
643 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
644 D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
645 D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
646 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
647 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13,
648 D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
649 D3D11_PRIMITIVE_TOPOLOGY_POINTLIST = 1,
650 D3D11_PRIMITIVE_TOPOLOGY_LINELIST = 2,
651 D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
652 D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
653 D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
654 D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
655 D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
656 D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
657 D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13,
658 D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33,
659 D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST = 34,
660 D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST = 35,
661 D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST = 36,
662 D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST = 37,
663 D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST = 38,
664 D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST = 39,
665 D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST = 40,
666 D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST = 41,
667 D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST = 42,
668 D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST = 43,
669 D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST = 44,
670 D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST = 45,
671 D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST = 46,
672 D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST = 47,
673 D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST = 48,
674 D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST = 49,
675 D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST = 50,
676 D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST = 51,
677 D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST = 52,
678 D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST = 53,
679 D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST = 54,
680 D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST = 55,
681 D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST = 56,
682 D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST = 57,
683 D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST = 58,
684 D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST = 59,
685 D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST = 60,
686 D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST = 61,
687 D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST = 62,
688 D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST = 63,
689 D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST = 64
690} D3D_PRIMITIVE_TOPOLOGY;
691typedef enum D3D_TESSELLATOR_DOMAIN {
692 D3D_TESSELLATOR_DOMAIN_UNDEFINED = 0,
693 D3D_TESSELLATOR_DOMAIN_ISOLINE = 1,
694 D3D_TESSELLATOR_DOMAIN_TRI = 2,
695 D3D_TESSELLATOR_DOMAIN_QUAD = 3,
696 D3D11_TESSELLATOR_DOMAIN_UNDEFINED = 0,
697 D3D11_TESSELLATOR_DOMAIN_ISOLINE = 1,
698 D3D11_TESSELLATOR_DOMAIN_TRI = 2,
699 D3D11_TESSELLATOR_DOMAIN_QUAD = 3
700} D3D_TESSELLATOR_DOMAIN;
701typedef enum D3D_TESSELLATOR_PARTITIONING {
702 D3D_TESSELLATOR_PARTITIONING_UNDEFINED = 0,
703 D3D_TESSELLATOR_PARTITIONING_INTEGER = 1,
704 D3D_TESSELLATOR_PARTITIONING_POW2 = 2,
705 D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = 3,
706 D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = 4,
707 D3D11_TESSELLATOR_PARTITIONING_UNDEFINED = 0,
708 D3D11_TESSELLATOR_PARTITIONING_INTEGER = 1,
709 D3D11_TESSELLATOR_PARTITIONING_POW2 = 2,
710 D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD = 3,
711 D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN = 4
712} D3D_TESSELLATOR_PARTITIONING;
713typedef enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE {
714 D3D_TESSELLATOR_OUTPUT_UNDEFINED = 0,
715 D3D_TESSELLATOR_OUTPUT_POINT = 1,
716 D3D_TESSELLATOR_OUTPUT_LINE = 2,
717 D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW = 3,
718 D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW = 4,
719 D3D11_TESSELLATOR_OUTPUT_UNDEFINED = 0,
720 D3D11_TESSELLATOR_OUTPUT_POINT = 1,
721 D3D11_TESSELLATOR_OUTPUT_LINE = 2,
722 D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CW = 3,
723 D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CCW = 4
724} D3D_TESSELLATOR_OUTPUT_PRIMITIVE;
725typedef enum D3D_MIN_PRECISION {
726 D3D_MIN_PRECISION_DEFAULT = 0,
727 D3D_MIN_PRECISION_FLOAT_16 = 1,
728 D3D_MIN_PRECISION_FLOAT_2_8 = 2,
729 D3D_MIN_PRECISION_RESERVED = 3,
730 D3D_MIN_PRECISION_SINT_16 = 4,
731 D3D_MIN_PRECISION_UINT_16 = 5,
732 D3D_MIN_PRECISION_ANY_16 = 0xf0,
733 D3D_MIN_PRECISION_ANY_10 = 0xf1
734} D3D_MIN_PRECISION;
735typedef enum D3D_CBUFFER_TYPE {
736 D3D_CT_CBUFFER = 0,
737 D3D_CT_TBUFFER = 1,
738 D3D_CT_INTERFACE_POINTERS = 2,
739 D3D_CT_RESOURCE_BIND_INFO = 3,
740 D3D10_CT_CBUFFER = 0,
741 D3D10_CT_TBUFFER = 1,
742 D3D11_CT_CBUFFER = 0,
743 D3D11_CT_TBUFFER = 1,
744 D3D11_CT_INTERFACE_POINTERS = 2,
745 D3D11_CT_RESOURCE_BIND_INFO = 3
746} D3D_CBUFFER_TYPE;
747typedef enum D3D_SRV_DIMENSION {
748 D3D_SRV_DIMENSION_UNKNOWN = 0,
749 D3D_SRV_DIMENSION_BUFFER = 1,
750 D3D_SRV_DIMENSION_TEXTURE1D = 2,
751 D3D_SRV_DIMENSION_TEXTURE1DARRAY = 3,
752 D3D_SRV_DIMENSION_TEXTURE2D = 4,
753 D3D_SRV_DIMENSION_TEXTURE2DARRAY = 5,
754 D3D_SRV_DIMENSION_TEXTURE2DMS = 6,
755 D3D_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
756 D3D_SRV_DIMENSION_TEXTURE3D = 8,
757 D3D_SRV_DIMENSION_TEXTURECUBE = 9,
758 D3D_SRV_DIMENSION_TEXTURECUBEARRAY = 10,
759 D3D_SRV_DIMENSION_BUFFEREX = 11,
760 D3D10_SRV_DIMENSION_UNKNOWN = 0,
761 D3D10_SRV_DIMENSION_BUFFER = 1,
762 D3D10_SRV_DIMENSION_TEXTURE1D = 2,
763 D3D10_SRV_DIMENSION_TEXTURE1DARRAY = 3,
764 D3D10_SRV_DIMENSION_TEXTURE2D = 4,
765 D3D10_SRV_DIMENSION_TEXTURE2DARRAY = 5,
766 D3D10_SRV_DIMENSION_TEXTURE2DMS = 6,
767 D3D10_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
768 D3D10_SRV_DIMENSION_TEXTURE3D = 8,
769 D3D10_SRV_DIMENSION_TEXTURECUBE = 9,
770 D3D10_1_SRV_DIMENSION_UNKNOWN = 0,
771 D3D10_1_SRV_DIMENSION_BUFFER = 1,
772 D3D10_1_SRV_DIMENSION_TEXTURE1D = 2,
773 D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY = 3,
774 D3D10_1_SRV_DIMENSION_TEXTURE2D = 4,
775 D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY = 5,
776 D3D10_1_SRV_DIMENSION_TEXTURE2DMS = 6,
777 D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
778 D3D10_1_SRV_DIMENSION_TEXTURE3D = 8,
779 D3D10_1_SRV_DIMENSION_TEXTURECUBE = 9,
780 D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY = 10,
781 D3D11_SRV_DIMENSION_UNKNOWN = 0,
782 D3D11_SRV_DIMENSION_BUFFER = 1,
783 D3D11_SRV_DIMENSION_TEXTURE1D = 2,
784 D3D11_SRV_DIMENSION_TEXTURE1DARRAY = 3,
785 D3D11_SRV_DIMENSION_TEXTURE2D = 4,
786 D3D11_SRV_DIMENSION_TEXTURE2DARRAY = 5,
787 D3D11_SRV_DIMENSION_TEXTURE2DMS = 6,
788 D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY = 7,
789 D3D11_SRV_DIMENSION_TEXTURE3D = 8,
790 D3D11_SRV_DIMENSION_TEXTURECUBE = 9,
791 D3D11_SRV_DIMENSION_TEXTURECUBEARRAY = 10,
792 D3D11_SRV_DIMENSION_BUFFEREX = 11
793} D3D_SRV_DIMENSION;
794typedef enum D3D_REGISTER_COMPONENT_TYPE {
795 D3D_REGISTER_COMPONENT_UNKNOWN = 0,
796 D3D_REGISTER_COMPONENT_UINT32 = 1,
797 D3D_REGISTER_COMPONENT_SINT32 = 2,
798 D3D_REGISTER_COMPONENT_FLOAT32 = 3,
799 D3D10_REGISTER_COMPONENT_UNKNOWN = 0,
800 D3D10_REGISTER_COMPONENT_UINT32 = 1,
801 D3D10_REGISTER_COMPONENT_SINT32 = 2,
802 D3D10_REGISTER_COMPONENT_FLOAT32 = 3
803} D3D_REGISTER_COMPONENT_TYPE;
804typedef enum D3D_RESOURCE_RETURN_TYPE {
805 D3D_RETURN_TYPE_UNORM = 1,
806 D3D_RETURN_TYPE_SNORM = 2,
807 D3D_RETURN_TYPE_SINT = 3,
808 D3D_RETURN_TYPE_UINT = 4,
809 D3D_RETURN_TYPE_FLOAT = 5,
810 D3D_RETURN_TYPE_MIXED = 6,
811 D3D_RETURN_TYPE_DOUBLE = 7,
812 D3D_RETURN_TYPE_CONTINUED = 8,
813 D3D10_RETURN_TYPE_UNORM = 1,
814 D3D10_RETURN_TYPE_SNORM = 2,
815 D3D10_RETURN_TYPE_SINT = 3,
816 D3D10_RETURN_TYPE_UINT = 4,
817 D3D10_RETURN_TYPE_FLOAT = 5,
818 D3D10_RETURN_TYPE_MIXED = 6,
819 D3D11_RETURN_TYPE_UNORM = 1,
820 D3D11_RETURN_TYPE_SNORM = 2,
821 D3D11_RETURN_TYPE_SINT = 3,
822 D3D11_RETURN_TYPE_UINT = 4,
823 D3D11_RETURN_TYPE_FLOAT = 5,
824 D3D11_RETURN_TYPE_MIXED = 6,
825 D3D11_RETURN_TYPE_DOUBLE = 7,
826 D3D11_RETURN_TYPE_CONTINUED = 8
827} D3D_RESOURCE_RETURN_TYPE;
828typedef enum D3D_NAME {
829 D3D_NAME_UNDEFINED = 0,
830 D3D_NAME_POSITION = 1,
831 D3D_NAME_CLIP_DISTANCE = 2,
832 D3D_NAME_CULL_DISTANCE = 3,
833 D3D_NAME_RENDER_TARGET_ARRAY_INDEX = 4,
834 D3D_NAME_VIEWPORT_ARRAY_INDEX = 5,
835 D3D_NAME_VERTEX_ID = 6,
836 D3D_NAME_PRIMITIVE_ID = 7,
837 D3D_NAME_INSTANCE_ID = 8,
838 D3D_NAME_IS_FRONT_FACE = 9,
839 D3D_NAME_SAMPLE_INDEX = 10,
840 D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR = 11,
841 D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR = 12,
842 D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR = 13,
843 D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR = 14,
844 D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR = 15,
845 D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR = 16,
846 D3D_NAME_BARYCENTRICS = 23,
847 D3D_NAME_SHADINGRATE = 24,
848 D3D_NAME_CULLPRIMITIVE = 25,
849 D3D_NAME_TARGET = 64,
850 D3D_NAME_DEPTH = 65,
851 D3D_NAME_COVERAGE = 66,
852 D3D_NAME_DEPTH_GREATER_EQUAL = 67,
853 D3D_NAME_DEPTH_LESS_EQUAL = 68,
854 D3D10_NAME_UNDEFINED = 0,
855 D3D10_NAME_POSITION = 1,
856 D3D10_NAME_CLIP_DISTANCE = 2,
857 D3D10_NAME_CULL_DISTANCE = 3,
858 D3D10_NAME_RENDER_TARGET_ARRAY_INDEX = 4,
859 D3D10_NAME_VIEWPORT_ARRAY_INDEX = 5,
860 D3D10_NAME_VERTEX_ID = 6,
861 D3D10_NAME_PRIMITIVE_ID = 7,
862 D3D10_NAME_INSTANCE_ID = 8,
863 D3D10_NAME_IS_FRONT_FACE = 9,
864 D3D10_NAME_SAMPLE_INDEX = 10,
865 D3D11_NAME_FINAL_QUAD_EDGE_TESSFACTOR = 11,
866 D3D11_NAME_FINAL_QUAD_INSIDE_TESSFACTOR = 12,
867 D3D11_NAME_FINAL_TRI_EDGE_TESSFACTOR = 13,
868 D3D11_NAME_FINAL_TRI_INSIDE_TESSFACTOR = 14,
869 D3D11_NAME_FINAL_LINE_DETAIL_TESSFACTOR = 15,
870 D3D11_NAME_FINAL_LINE_DENSITY_TESSFACTOR = 16,
871 D3D10_NAME_TARGET = 64,
872 D3D10_NAME_DEPTH = 65,
873 D3D10_NAME_COVERAGE = 66,
874 D3D11_NAME_DEPTH_GREATER_EQUAL = 67,
875 D3D11_NAME_DEPTH_LESS_EQUAL = 68
876} D3D_NAME;
877typedef enum _D3D_SHADER_INPUT_TYPE {
878 D3D_SIT_CBUFFER = 0,
879 D3D_SIT_TBUFFER = 1,
880 D3D_SIT_TEXTURE = 2,
881 D3D_SIT_SAMPLER = 3,
882 D3D_SIT_UAV_RWTYPED = 4,
883 D3D_SIT_STRUCTURED = 5,
884 D3D_SIT_UAV_RWSTRUCTURED = 6,
885 D3D_SIT_BYTEADDRESS = 7,
886 D3D_SIT_UAV_RWBYTEADDRESS = 8,
887 D3D_SIT_UAV_APPEND_STRUCTURED = 9,
888 D3D_SIT_UAV_CONSUME_STRUCTURED = 10,
889 D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER = 11,
890 D3D_SIT_RTACCELERATIONSTRUCTURE = 12,
891 D3D_SIT_UAV_FEEDBACKTEXTURE = 13,
892 D3D10_SIT_CBUFFER = 0,
893 D3D10_SIT_TBUFFER = 1,
894 D3D10_SIT_TEXTURE = 2,
895 D3D10_SIT_SAMPLER = 3,
896 D3D11_SIT_UAV_RWTYPED = 4,
897 D3D11_SIT_STRUCTURED = 5,
898 D3D11_SIT_UAV_RWSTRUCTURED = 6,
899 D3D11_SIT_BYTEADDRESS = 7,
900 D3D11_SIT_UAV_RWBYTEADDRESS = 8,
901 D3D11_SIT_UAV_APPEND_STRUCTURED = 9,
902 D3D11_SIT_UAV_CONSUME_STRUCTURED = 10,
903 D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER = 11
904} D3D_SHADER_INPUT_TYPE;
905typedef enum _D3D_SHADER_CBUFFER_FLAGS {
906 D3D_CBF_USERPACKED = 0x1,
907 D3D10_CBF_USERPACKED = D3D_CBF_USERPACKED,
908 D3D_CBF_FORCE_DWORD = 0x7fffffff
909} D3D_SHADER_CBUFFER_FLAGS;
910typedef enum _D3D_PARAMETER_FLAGS {
911 D3D_PF_NONE = 0,
912 D3D_PF_IN = 1,
913 D3D_PF_OUT = 2,
914 D3D_PF_FORCE_DWORD = 0x7fffffff
915} D3D_PARAMETER_FLAGS;
916typedef enum _D3D_INTERPOLATION_MODE {
917 D3D_INTERPOLATION_UNDEFINED = 0,
918 D3D_INTERPOLATION_CONSTANT = 1,
919 D3D_INTERPOLATION_LINEAR = 2,
920 D3D_INTERPOLATION_LINEAR_CENTROID = 3,
921 D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE = 4,
922 D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROID = 5,
923 D3D_INTERPOLATION_LINEAR_SAMPLE = 6,
924 D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLE = 7
925} D3D_INTERPOLATION_MODE;
926DEFINE_GUID(WKPDID_D3DDebugObjectName,0x429b8c22,0x9188,0x4b0c,0x87,0x42,0xac,0xb0,0xbf,0x85,0xc2,0x00);
927/* Begin additional prototypes for all interfaces */
928
929
930/* End additional prototypes */
931
932#ifdef __cplusplus
933}
934#endif
935
936#endif /* __d3dcommon_h__ */
Note: See TracBrowser for help on using the repository browser.