33 uuid(8ba5fb08-5195-40e2-ac58-0d989c3a0102)
44cpp_quote(
"#define IID_ID3DBlob IID_ID3D10Blob")
63 const void *parent_data,
92cpp_quote(
"#define D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION 2048")
93cpp_quote("
#define D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION 4096")
94cpp_quote("#define D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION 2048")
95cpp_quote("#define D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION 4096")
96cpp_quote("#define D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION 512")
97cpp_quote("#define D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION 4096")
98cpp_quote("#define D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION 256")
99cpp_quote("#define D3D_FL9_1_DEFAULT_MAX_ANISOTROPY 2")
100cpp_quote("#define D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT 65535")
101cpp_quote("#define D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT 1048575")
102cpp_quote("#define D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT 1")
103cpp_quote("#define D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT 4")
104cpp_quote("#define D3D_FL9_1_MAX_TEXTURE_REPEAT 128")
105cpp_quote("#define D3D_FL9_2_MAX_TEXTURE_REPEAT 2048")
106cpp_quote("#define D3D_FL9_3_MAX_TEXTURE_REPEAT 8192")
108typedef enum _D3D_SHADER_VARIABLE_CLASS
113 D3D_SVC_MATRIX_COLUMNS,
116 D3D_SVC_INTERFACE_CLASS,
117 D3D_SVC_INTERFACE_POINTER,
118 D3D10_SVC_SCALAR = 0,
120 D3D10_SVC_MATRIX_ROWS,
121 D3D10_SVC_MATRIX_COLUMNS,
124 D3D11_SVC_INTERFACE_CLASS,
125 D3D11_SVC_INTERFACE_POINTER,
126 D3D_SVC_FORCE_DWORD = 0x7fffffff,
127} D3D_SHADER_VARIABLE_CLASS;
129typedef enum _D3D_SHADER_VARIABLE_FLAGS
131 D3D_SVF_USERPACKED = 0x01,
133 D3D_SVF_INTERFACE_POINTER = 0x04,
134 D3D_SVF_INTERFACE_PARAMETER = 0x08,
135 D3D10_SVF_USERPACKED = D3D_SVF_USERPACKED,
136 D3D10_SVF_USED = D3D_SVF_USED,
137 D3D11_SVF_INTERFACE_POINTER = D3D_SVF_INTERFACE_POINTER,
138 D3D11_SVF_INTERFACE_PARAMETER = D3D_SVF_INTERFACE_PARAMETER,
139 D3D_SVF_FORCE_DWORD = 0x7fffffff
140} D3D_SHADER_VARIABLE_FLAGS;
142typedef enum _D3D_SHADER_VARIABLE_TYPE
160 D3D_SVT_VERTEXSHADER,
161 D3D_SVT_PIXELFRAGMENT,
162 D3D_SVT_VERTEXFRAGMENT,
165 D3D_SVT_GEOMETRYSHADER,
167 D3D_SVT_DEPTHSTENCIL,
172 D3D_SVT_TEXTURE1DARRAY,
173 D3D_SVT_TEXTURE2DARRAY,
174 D3D_SVT_RENDERTARGETVIEW,
175 D3D_SVT_DEPTHSTENCILVIEW,
177 D3D_SVT_TEXTURE2DMSARRAY,
178 D3D_SVT_TEXTURECUBEARRAY,
180 D3D_SVT_DOMAINSHADER,
181 D3D_SVT_INTERFACE_POINTER,
182 D3D_SVT_COMPUTESHADER,
185 D3D_SVT_RWTEXTURE1DARRAY,
187 D3D_SVT_RWTEXTURE2DARRAY,
190 D3D_SVT_BYTEADDRESS_BUFFER,
191 D3D_SVT_RWBYTEADDRESS_BUFFER,
192 D3D_SVT_STRUCTURED_BUFFER,
193 D3D_SVT_RWSTRUCTURED_BUFFER,
194 D3D_SVT_APPEND_STRUCTURED_BUFFER,
195 D3D_SVT_CONSUME_STRUCTURED_BUFFER,
205 D3D10_SVT_TEXTURECUBE,
210 D3D10_SVT_SAMPLERCUBE,
211 D3D10_SVT_PIXELSHADER,
212 D3D10_SVT_VERTEXSHADER,
213 D3D10_SVT_PIXELFRAGMENT,
214 D3D10_SVT_VERTEXFRAGMENT,
217 D3D10_SVT_GEOMETRYSHADER,
218 D3D10_SVT_RASTERIZER,
219 D3D10_SVT_DEPTHSTENCIL,
224 D3D10_SVT_TEXTURE1DARRAY,
225 D3D10_SVT_TEXTURE2DARRAY,
226 D3D10_SVT_RENDERTARGETVIEW,
227 D3D10_SVT_DEPTHSTENCILVIEW,
228 D3D10_SVT_TEXTURE2DMS,
229 D3D10_SVT_TEXTURE2DMSARRAY,
230 D3D10_SVT_TEXTURECUBEARRAY,
231 D3D11_SVT_HULLSHADER,
232 D3D11_SVT_DOMAINSHADER,
233 D3D11_SVT_INTERFACE_POINTER,
234 D3D11_SVT_COMPUTESHADER,
236 D3D11_SVT_RWTEXTURE1D,
237 D3D11_SVT_RWTEXTURE1DARRAY,
238 D3D11_SVT_RWTEXTURE2D,
239 D3D11_SVT_RWTEXTURE2DARRAY,
240 D3D11_SVT_RWTEXTURE3D,
242 D3D11_SVT_BYTEADDRESS_BUFFER,
243 D3D11_SVT_RWBYTEADDRESS_BUFFER,
244 D3D11_SVT_STRUCTURED_BUFFER,
245 D3D11_SVT_RWSTRUCTURED_BUFFER,
246 D3D11_SVT_APPEND_STRUCTURED_BUFFER,
247 D3D11_SVT_CONSUME_STRUCTURED_BUFFER,
248 D3D_SVT_FORCE_DWORD = 0x7fffffff,
249} D3D_SHADER_VARIABLE_TYPE;
251typedef enum _D3D_SHADER_INPUT_FLAGS
253 D3D_SIF_USERPACKED = 0x01,
254 D3D_SIF_COMPARISON_SAMPLER = 0x02,
255 D3D_SIF_TEXTURE_COMPONENT_0 = 0x04,
256 D3D_SIF_TEXTURE_COMPONENT_1 = 0x08,
257 D3D_SIF_TEXTURE_COMPONENTS = 0x0C,
258 D3D_SIF_UNUSED = 0x10,
259 D3D10_SIF_USERPACKED = D3D_SIF_USERPACKED,
260 D3D10_SIF_COMPARISON_SAMPLER = D3D_SIF_COMPARISON_SAMPLER,
261 D3D10_SIF_TEXTURE_COMPONENT_0 = D3D_SIF_TEXTURE_COMPONENT_0,
262 D3D10_SIF_TEXTURE_COMPONENT_1 = D3D_SIF_TEXTURE_COMPONENT_1,
263 D3D10_SIF_TEXTURE_COMPONENTS = D3D_SIF_TEXTURE_COMPONENTS,
264 D3D_SIF_FORCE_DWORD = 0x7fffffff
265} D3D_SHADER_INPUT_FLAGS;
267typedef enum D3D_PRIMITIVE
269 D3D_PRIMITIVE_UNDEFINED,
272 D3D_PRIMITIVE_TRIANGLE,
273 D3D_PRIMITIVE_LINE_ADJ = 6,
274 D3D_PRIMITIVE_TRIANGLE_ADJ,
275 D3D_PRIMITIVE_1_CONTROL_POINT_PATCH,
276 D3D_PRIMITIVE_2_CONTROL_POINT_PATCH,
277 D3D_PRIMITIVE_3_CONTROL_POINT_PATCH,
278 D3D_PRIMITIVE_4_CONTROL_POINT_PATCH,
279 D3D_PRIMITIVE_5_CONTROL_POINT_PATCH,
280 D3D_PRIMITIVE_6_CONTROL_POINT_PATCH,
281 D3D_PRIMITIVE_7_CONTROL_POINT_PATCH,
282 D3D_PRIMITIVE_8_CONTROL_POINT_PATCH,
283 D3D_PRIMITIVE_9_CONTROL_POINT_PATCH,
284 D3D_PRIMITIVE_10_CONTROL_POINT_PATCH,
285 D3D_PRIMITIVE_11_CONTROL_POINT_PATCH,
286 D3D_PRIMITIVE_12_CONTROL_POINT_PATCH,
287 D3D_PRIMITIVE_13_CONTROL_POINT_PATCH,
288 D3D_PRIMITIVE_14_CONTROL_POINT_PATCH,
289 D3D_PRIMITIVE_15_CONTROL_POINT_PATCH,
290 D3D_PRIMITIVE_16_CONTROL_POINT_PATCH,
291 D3D_PRIMITIVE_17_CONTROL_POINT_PATCH,
292 D3D_PRIMITIVE_18_CONTROL_POINT_PATCH,
293 D3D_PRIMITIVE_19_CONTROL_POINT_PATCH,
294 D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
295 D3D_PRIMITIVE_21_CONTROL_POINT_PATCH,
296 D3D_PRIMITIVE_22_CONTROL_POINT_PATCH,
297 D3D_PRIMITIVE_23_CONTROL_POINT_PATCH,
298 D3D_PRIMITIVE_24_CONTROL_POINT_PATCH,
299 D3D_PRIMITIVE_25_CONTROL_POINT_PATCH,
300 D3D_PRIMITIVE_26_CONTROL_POINT_PATCH,
301 D3D_PRIMITIVE_27_CONTROL_POINT_PATCH,
302 D3D_PRIMITIVE_28_CONTROL_POINT_PATCH,
303 D3D_PRIMITIVE_29_CONTROL_POINT_PATCH,
304 D3D_PRIMITIVE_30_CONTROL_POINT_PATCH,
305 D3D_PRIMITIVE_31_CONTROL_POINT_PATCH,
306 D3D_PRIMITIVE_32_CONTROL_POINT_PATCH,
307 D3D10_PRIMITIVE_UNDEFINED = 0,
308 D3D10_PRIMITIVE_POINT,
309 D3D10_PRIMITIVE_LINE,
310 D3D10_PRIMITIVE_TRIANGLE,
311 D3D10_PRIMITIVE_LINE_ADJ = 6,
312 D3D10_PRIMITIVE_TRIANGLE_ADJ,
313 D3D11_PRIMITIVE_UNDEFINED = 0,
314 D3D11_PRIMITIVE_POINT,
315 D3D11_PRIMITIVE_LINE,
316 D3D11_PRIMITIVE_TRIANGLE,
317 D3D11_PRIMITIVE_LINE_ADJ = 6,
318 D3D11_PRIMITIVE_TRIANGLE_ADJ,
319 D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH,
320 D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH,
321 D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH,
322 D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH,
323 D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH,
324 D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH,
325 D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH,
326 D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH,
327 D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH,
328 D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH,
329 D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH,
330 D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH,
331 D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH,
332 D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH,
333 D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH,
334 D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH,
335 D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH,
336 D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH,
337 D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH,
338 D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
339 D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH,
340 D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH,
341 D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH,
342 D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH,
343 D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH,
344 D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH,
345 D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH,
346 D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH,
347 D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH,
348 D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH,
349 D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH,
350 D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH,
353typedef enum D3D_PRIMITIVE_TOPOLOGY
355 D3D_PRIMITIVE_TOPOLOGY_UNDEFINED,
356 D3D_PRIMITIVE_TOPOLOGY_POINTLIST,
357 D3D_PRIMITIVE_TOPOLOGY_LINELIST,
358 D3D_PRIMITIVE_TOPOLOGY_LINESTRIP,
359 D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST,
360 D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP,
361 D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
362 D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ,
363 D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ,
364 D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ,
365 D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33,
366 D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST,
367 D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST,
368 D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST,
369 D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST,
370 D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST,
371 D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST,
372 D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST,
373 D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST,
374 D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST,
375 D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST,
376 D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST,
377 D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST,
378 D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST,
379 D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST,
380 D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST,
381 D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST,
382 D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST,
383 D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST,
384 D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST,
385 D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST,
386 D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST,
387 D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST,
388 D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST,
389 D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST,
390 D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST,
391 D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST,
392 D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST,
393 D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST,
394 D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST,
395 D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST,
396 D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST,
397 D3D10_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
398 D3D10_PRIMITIVE_TOPOLOGY_POINTLIST,
399 D3D10_PRIMITIVE_TOPOLOGY_LINELIST,
400 D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP,
401 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST,
402 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP,
403 D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
404 D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ,
405 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ,
406 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ,
407 D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,
408 D3D11_PRIMITIVE_TOPOLOGY_POINTLIST,
409 D3D11_PRIMITIVE_TOPOLOGY_LINELIST,
410 D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP,
411 D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST,
412 D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP,
413 D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
414 D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ,
415 D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ,
416 D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ,
417 D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST = 33,
418 D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST,
419 D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST,
420 D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST,
421 D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST,
422 D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST,
423 D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST,
424 D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST,
425 D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST,
426 D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST,
427 D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST,
428 D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST,
429 D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST,
430 D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST,
431 D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST,
432 D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST,
433 D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST,
434 D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST,
435 D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST,
436 D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST,
437 D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST,
438 D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST,
439 D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST,
440 D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST,
441 D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST,
442 D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST,
443 D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST,
444 D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST,
445 D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST,
446 D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST,
447 D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST,
448 D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST,
449} D3D_PRIMITIVE_TOPOLOGY;
451typedef enum D3D_TESSELLATOR_DOMAIN
453 D3D_TESSELLATOR_DOMAIN_UNDEFINED,
454 D3D_TESSELLATOR_DOMAIN_ISOLINE,
455 D3D_TESSELLATOR_DOMAIN_TRI,
456 D3D_TESSELLATOR_DOMAIN_QUAD,
457 D3D11_TESSELLATOR_DOMAIN_UNDEFINED = 0,
458 D3D11_TESSELLATOR_DOMAIN_ISOLINE,
459 D3D11_TESSELLATOR_DOMAIN_TRI,
460 D3D11_TESSELLATOR_DOMAIN_QUAD,
461} D3D_TESSELLATOR_DOMAIN;
463typedef enum D3D_TESSELLATOR_PARTITIONING
465 D3D_TESSELLATOR_PARTITIONING_UNDEFINED,
466 D3D_TESSELLATOR_PARTITIONING_INTEGER,
467 D3D_TESSELLATOR_PARTITIONING_POW2,
468 D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD,
469 D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN,
470 D3D11_TESSELLATOR_PARTITIONING_UNDEFINED = 0,
471 D3D11_TESSELLATOR_PARTITIONING_INTEGER,
472 D3D11_TESSELLATOR_PARTITIONING_POW2,
473 D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD,
474 D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN,
475} D3D_TESSELLATOR_PARTITIONING;
477typedef enum D3D_TESSELLATOR_OUTPUT_PRIMITIVE
479 D3D_TESSELLATOR_OUTPUT_UNDEFINED,
480 D3D_TESSELLATOR_OUTPUT_POINT,
481 D3D_TESSELLATOR_OUTPUT_LINE,
482 D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW,
483 D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW,
484 D3D11_TESSELLATOR_OUTPUT_UNDEFINED = 0,
485 D3D11_TESSELLATOR_OUTPUT_POINT,
486 D3D11_TESSELLATOR_OUTPUT_LINE,
487 D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CW,
488 D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CCW,
489} D3D_TESSELLATOR_OUTPUT_PRIMITIVE;
491typedef enum D3D_CBUFFER_TYPE
495 D3D_CT_INTERFACE_POINTERS,
496 D3D_CT_RESOURCE_BIND_INFO,
497 D3D10_CT_CBUFFER = 0,
499 D3D11_CT_CBUFFER = 0,
501 D3D11_CT_INTERFACE_POINTERS,
502 D3D11_CT_RESOURCE_BIND_INFO,
505typedef enum D3D_SRV_DIMENSION
507 D3D_SRV_DIMENSION_UNKNOWN,
508 D3D_SRV_DIMENSION_BUFFER,
509 D3D_SRV_DIMENSION_TEXTURE1D,
510 D3D_SRV_DIMENSION_TEXTURE1DARRAY,
511 D3D_SRV_DIMENSION_TEXTURE2D,
512 D3D_SRV_DIMENSION_TEXTURE2DARRAY,
513 D3D_SRV_DIMENSION_TEXTURE2DMS,
514 D3D_SRV_DIMENSION_TEXTURE2DMSARRAY,
515 D3D_SRV_DIMENSION_TEXTURE3D,
516 D3D_SRV_DIMENSION_TEXTURECUBE,
517 D3D_SRV_DIMENSION_TEXTURECUBEARRAY,
518 D3D_SRV_DIMENSION_BUFFEREX,
519 D3D10_SRV_DIMENSION_UNKNOWN = 0,
520 D3D10_SRV_DIMENSION_BUFFER,
521 D3D10_SRV_DIMENSION_TEXTURE1D,
522 D3D10_SRV_DIMENSION_TEXTURE1DARRAY,
523 D3D10_SRV_DIMENSION_TEXTURE2D,
524 D3D10_SRV_DIMENSION_TEXTURE2DARRAY,
525 D3D10_SRV_DIMENSION_TEXTURE2DMS,
526 D3D10_SRV_DIMENSION_TEXTURE2DMSARRAY,
527 D3D10_SRV_DIMENSION_TEXTURE3D,
528 D3D10_SRV_DIMENSION_TEXTURECUBE,
529 D3D10_1_SRV_DIMENSION_UNKNOWN = 0,
530 D3D10_1_SRV_DIMENSION_BUFFER,
531 D3D10_1_SRV_DIMENSION_TEXTURE1D,
532 D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY,
533 D3D10_1_SRV_DIMENSION_TEXTURE2D,
534 D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY,
535 D3D10_1_SRV_DIMENSION_TEXTURE2DMS,
536 D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY,
537 D3D10_1_SRV_DIMENSION_TEXTURE3D,
538 D3D10_1_SRV_DIMENSION_TEXTURECUBE,
539 D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY,
540 D3D11_SRV_DIMENSION_UNKNOWN = 0,
541 D3D11_SRV_DIMENSION_BUFFER,
542 D3D11_SRV_DIMENSION_TEXTURE1D,
543 D3D11_SRV_DIMENSION_TEXTURE1DARRAY,
544 D3D11_SRV_DIMENSION_TEXTURE2D,
545 D3D11_SRV_DIMENSION_TEXTURE2DARRAY,
546 D3D11_SRV_DIMENSION_TEXTURE2DMS,
547 D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY,
548 D3D11_SRV_DIMENSION_TEXTURE3D,
549 D3D11_SRV_DIMENSION_TEXTURECUBE,
550 D3D11_SRV_DIMENSION_TEXTURECUBEARRAY,
551 D3D11_SRV_DIMENSION_BUFFEREX,
554typedef enum D3D_REGISTER_COMPONENT_TYPE
556 D3D_REGISTER_COMPONENT_UNKNOWN,
557 D3D_REGISTER_COMPONENT_UINT32,
558 D3D_REGISTER_COMPONENT_SINT32,
559 D3D_REGISTER_COMPONENT_FLOAT32,
560 D3D10_REGISTER_COMPONENT_UNKNOWN = 0,
561 D3D10_REGISTER_COMPONENT_UINT32,
562 D3D10_REGISTER_COMPONENT_SINT32,
563 D3D10_REGISTER_COMPONENT_FLOAT32,
564} D3D_REGISTER_COMPONENT_TYPE;
566typedef enum D3D_RESOURCE_RETURN_TYPE
568 D3D_RETURN_TYPE_UNORM = 1,
569 D3D_RETURN_TYPE_SNORM,
570 D3D_RETURN_TYPE_SINT,
571 D3D_RETURN_TYPE_UINT,
572 D3D_RETURN_TYPE_FLOAT,
573 D3D_RETURN_TYPE_MIXED,
574 D3D_RETURN_TYPE_DOUBLE,
575 D3D_RETURN_TYPE_CONTINUED,
576 D3D10_RETURN_TYPE_UNORM = 1,
577 D3D10_RETURN_TYPE_SNORM,
578 D3D10_RETURN_TYPE_SINT,
579 D3D10_RETURN_TYPE_UINT,
580 D3D10_RETURN_TYPE_FLOAT,
581 D3D10_RETURN_TYPE_MIXED,
582 D3D11_RETURN_TYPE_UNORM = 1,
583 D3D11_RETURN_TYPE_SNORM,
584 D3D11_RETURN_TYPE_SINT,
585 D3D11_RETURN_TYPE_UINT,
586 D3D11_RETURN_TYPE_FLOAT,
587 D3D11_RETURN_TYPE_MIXED,
588 D3D11_RETURN_TYPE_DOUBLE,
589 D3D11_RETURN_TYPE_CONTINUED,
590} D3D_RESOURCE_RETURN_TYPE;
596 D3D_NAME_CLIP_DISTANCE,
597 D3D_NAME_CULL_DISTANCE,
598 D3D_NAME_RENDER_TARGET_ARRAY_INDEX,
599 D3D_NAME_VIEWPORT_ARRAY_INDEX,
601 D3D_NAME_PRIMITIVE_ID,
602 D3D_NAME_INSTANCE_ID,
603 D3D_NAME_IS_FRONT_FACE,
604 D3D_NAME_SAMPLE_INDEX,
605 D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR,
606 D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR,
607 D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR,
608 D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR,
609 D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR,
610 D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR,
611 D3D_NAME_TARGET = 64,
614 D3D_NAME_DEPTH_GREATER_EQUAL,
615 D3D_NAME_DEPTH_LESS_EQUAL,
616 D3D10_NAME_UNDEFINED = 0,
618 D3D10_NAME_CLIP_DISTANCE,
619 D3D10_NAME_CULL_DISTANCE,
620 D3D10_NAME_RENDER_TARGET_ARRAY_INDEX,
621 D3D10_NAME_VIEWPORT_ARRAY_INDEX,
622 D3D10_NAME_VERTEX_ID,
623 D3D10_NAME_PRIMITIVE_ID,
624 D3D10_NAME_INSTANCE_ID,
625 D3D10_NAME_IS_FRONT_FACE,
626 D3D10_NAME_SAMPLE_INDEX,
627 D3D11_NAME_FINAL_QUAD_EDGE_TESSFACTOR,
628 D3D11_NAME_FINAL_QUAD_INSIDE_TESSFACTOR,
629 D3D11_NAME_FINAL_TRI_EDGE_TESSFACTOR,
630 D3D11_NAME_FINAL_TRI_INSIDE_TESSFACTOR,
631 D3D11_NAME_FINAL_LINE_DETAIL_TESSFACTOR,
632 D3D11_NAME_FINAL_LINE_DENSITY_TESSFACTOR,
633 D3D10_NAME_TARGET = 64,
636 D3D11_NAME_DEPTH_GREATER_EQUAL,
637 D3D11_NAME_DEPTH_LESS_EQUAL,
640typedef enum _D3D_SHADER_INPUT_TYPE
648 D3D_SIT_UAV_RWSTRUCTURED,
650 D3D_SIT_UAV_RWBYTEADDRESS,
651 D3D_SIT_UAV_APPEND_STRUCTURED,
652 D3D_SIT_UAV_CONSUME_STRUCTURED,
653 D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER,
654 D3D10_SIT_CBUFFER = 0,
658 D3D11_SIT_UAV_RWTYPED,
659 D3D11_SIT_STRUCTURED,
660 D3D11_SIT_UAV_RWSTRUCTURED,
661 D3D11_SIT_BYTEADDRESS,
662 D3D11_SIT_UAV_RWBYTEADDRESS,
663 D3D11_SIT_UAV_APPEND_STRUCTURED,
664 D3D11_SIT_UAV_CONSUME_STRUCTURED,
665 D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER,
666} D3D_SHADER_INPUT_TYPE;
668typedef enum _D3D_SHADER_CBUFFER_FLAGS
670 D3D_CBF_USERPACKED = 0x01,
671 D3D10_CBF_USERPACKED = D3D_CBF_USERPACKED,
672 D3D_CBF_FORCE_DWORD = 0x7fffffff
673} D3D_SHADER_CBUFFER_FLAGS;
675cpp_quote("DEFINE_GUID(WKPDID_D3DDebugObjectName,0x429b8c22,0x9188,0x4b0c,0x87,0x42,0xac,0xb0,0xbf,0x85,0xc2,0x00);")
static unsigned char bytes[4]
CD3D10_BUFFER_DESC D3D10_BUFFER_DESC cpp_quote(" ~CD3D10_BUFFER_DESC() {}") operator const D3D10_BUFFER_DESC &() const
@ D3D_INCLUDE_FORCE_DWORD
@ D3D_DRIVER_TYPE_HARDWARE
@ D3D_DRIVER_TYPE_SOFTWARE
@ D3D_DRIVER_TYPE_REFERENCE
@ D3D_DRIVER_TYPE_UNKNOWN
struct _D3D_SHADER_MACRO * LPD3D_SHADER_MACRO
enum _D3D_INCLUDE_TYPE D3D_INCLUDE_TYPE
struct _D3D_SHADER_MACRO D3D_SHADER_MACRO
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
void * GetBufferPointer()
HRESULT Open(D3D_INCLUDE_TYPE include_type, const char *filename, const void *parent_data, const void **data, UINT *bytes)
HRESULT Close(const void *data)