aboutsummaryrefslogtreecommitdiff
path: root/contrib/DirectX-Headers-1.618.2/include/directx/dxgicommon.idl
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2025-12-02 16:39:36 -0800
committer3gg <3gg@shellblade.net>2025-12-02 16:39:36 -0800
commit6c8ae19be66cee247980a48e736a4e05d14de179 (patch)
treed860767907bf0cbe17ec66422e11bea700cf56d9 /contrib/DirectX-Headers-1.618.2/include/directx/dxgicommon.idl
parent8f594c8ebd11f0e5f8a0c6369c3fe7383d250cbe (diff)
Immediate-mode renderer, triangle demo, shader compilation in cmake, Agility SDKHEADmain
Diffstat (limited to 'contrib/DirectX-Headers-1.618.2/include/directx/dxgicommon.idl')
-rw-r--r--contrib/DirectX-Headers-1.618.2/include/directx/dxgicommon.idl53
1 files changed, 53 insertions, 0 deletions
diff --git a/contrib/DirectX-Headers-1.618.2/include/directx/dxgicommon.idl b/contrib/DirectX-Headers-1.618.2/include/directx/dxgicommon.idl
new file mode 100644
index 0000000..4e13486
--- /dev/null
+++ b/contrib/DirectX-Headers-1.618.2/include/directx/dxgicommon.idl
@@ -0,0 +1,53 @@
1//
2// Copyright (C) Microsoft Corporation.
3// Licensed under the MIT license
4//
5
6import "ocidl.idl";
7
8typedef struct DXGI_RATIONAL
9{
10 UINT Numerator;
11 UINT Denominator;
12} DXGI_RATIONAL;
13
14// The following values are used with DXGI_SAMPLE_DESC::Quality:
15#define DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN 0xffffffff
16#define DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN 0xfffffffe
17
18typedef struct DXGI_SAMPLE_DESC
19{
20 UINT Count;
21 UINT Quality;
22} DXGI_SAMPLE_DESC;
23
24typedef enum DXGI_COLOR_SPACE_TYPE
25{
26 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 = 0,
27 DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 = 1,
28 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 = 2,
29 DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 = 3,
30 DXGI_COLOR_SPACE_RESERVED = 4,
31 DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 = 5,
32 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 = 6,
33 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 = 7,
34 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 = 8,
35 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 = 9,
36 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 = 10,
37 DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 = 11,
38 DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 = 12,
39 DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 = 13,
40 DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 = 14,
41 DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 = 15,
42 DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 = 16,
43 DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 = 17,
44 DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 = 18,
45 DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 = 19,
46 DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709 = 20,
47 DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020 = 21,
48 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709 = 22,
49 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020 = 23,
50 DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020 = 24,
51 DXGI_COLOR_SPACE_CUSTOM = 0xFFFFFFFF
52} DXGI_COLOR_SPACE_TYPE;
53