1 | pub const DXGI_ALPHA_MODE_IGNORE: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(3i32); |
2 | pub const DXGI_ALPHA_MODE_PREMULTIPLIED: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(1i32); |
3 | pub const DXGI_ALPHA_MODE_STRAIGHT: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(2i32); |
4 | pub const DXGI_ALPHA_MODE_UNSPECIFIED: DXGI_ALPHA_MODE = DXGI_ALPHA_MODE(0i32); |
5 | pub const DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN: u32 = 4294967294u32; |
6 | pub const DXGI_COLOR_SPACE_CUSTOM: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(-1i32); |
7 | pub const DXGI_COLOR_SPACE_RESERVED: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(4i32); |
8 | pub const DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(1i32); |
9 | pub const DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(12i32); |
10 | pub const DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(17i32); |
11 | pub const DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(0i32); |
12 | pub const DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(14i32); |
13 | pub const DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(3i32); |
14 | pub const DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(2i32); |
15 | pub const DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(21i32); |
16 | pub const DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(20i32); |
17 | pub const DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(11i32); |
18 | pub const DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(7i32); |
19 | pub const DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(9i32); |
20 | pub const DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(5i32); |
21 | pub const DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(19i32); |
22 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(13i32); |
23 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(16i32); |
24 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(10i32); |
25 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(6i32); |
26 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(8i32); |
27 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(15i32); |
28 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(23i32); |
29 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(22i32); |
30 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(24i32); |
31 | pub const DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020: DXGI_COLOR_SPACE_TYPE = DXGI_COLOR_SPACE_TYPE(18i32); |
32 | pub const DXGI_CPU_ACCESS_DYNAMIC: u32 = 1u32; |
33 | pub const DXGI_CPU_ACCESS_FIELD: u32 = 15u32; |
34 | pub const DXGI_CPU_ACCESS_NONE: u32 = 0u32; |
35 | pub const DXGI_CPU_ACCESS_READ_WRITE: u32 = 2u32; |
36 | pub const DXGI_CPU_ACCESS_SCRATCH: u32 = 3u32; |
37 | pub const DXGI_FORMAT_420_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(106i32); |
38 | pub const DXGI_FORMAT_A4B4G4R4_UNORM: DXGI_FORMAT = DXGI_FORMAT(191i32); |
39 | pub const DXGI_FORMAT_A8P8: DXGI_FORMAT = DXGI_FORMAT(114i32); |
40 | pub const DXGI_FORMAT_A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(65i32); |
41 | pub const DXGI_FORMAT_AI44: DXGI_FORMAT = DXGI_FORMAT(111i32); |
42 | pub const DXGI_FORMAT_AYUV: DXGI_FORMAT = DXGI_FORMAT(100i32); |
43 | pub const DXGI_FORMAT_B4G4R4A4_UNORM: DXGI_FORMAT = DXGI_FORMAT(115i32); |
44 | pub const DXGI_FORMAT_B5G5R5A1_UNORM: DXGI_FORMAT = DXGI_FORMAT(86i32); |
45 | pub const DXGI_FORMAT_B5G6R5_UNORM: DXGI_FORMAT = DXGI_FORMAT(85i32); |
46 | pub const DXGI_FORMAT_B8G8R8A8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(90i32); |
47 | pub const DXGI_FORMAT_B8G8R8A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(87i32); |
48 | pub const DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(91i32); |
49 | pub const DXGI_FORMAT_B8G8R8X8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(92i32); |
50 | pub const DXGI_FORMAT_B8G8R8X8_UNORM: DXGI_FORMAT = DXGI_FORMAT(88i32); |
51 | pub const DXGI_FORMAT_B8G8R8X8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(93i32); |
52 | pub const DXGI_FORMAT_BC1_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(70i32); |
53 | pub const DXGI_FORMAT_BC1_UNORM: DXGI_FORMAT = DXGI_FORMAT(71i32); |
54 | pub const DXGI_FORMAT_BC1_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(72i32); |
55 | pub const DXGI_FORMAT_BC2_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(73i32); |
56 | pub const DXGI_FORMAT_BC2_UNORM: DXGI_FORMAT = DXGI_FORMAT(74i32); |
57 | pub const DXGI_FORMAT_BC2_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(75i32); |
58 | pub const DXGI_FORMAT_BC3_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(76i32); |
59 | pub const DXGI_FORMAT_BC3_UNORM: DXGI_FORMAT = DXGI_FORMAT(77i32); |
60 | pub const DXGI_FORMAT_BC3_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(78i32); |
61 | pub const DXGI_FORMAT_BC4_SNORM: DXGI_FORMAT = DXGI_FORMAT(81i32); |
62 | pub const DXGI_FORMAT_BC4_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(79i32); |
63 | pub const DXGI_FORMAT_BC4_UNORM: DXGI_FORMAT = DXGI_FORMAT(80i32); |
64 | pub const DXGI_FORMAT_BC5_SNORM: DXGI_FORMAT = DXGI_FORMAT(84i32); |
65 | pub const DXGI_FORMAT_BC5_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(82i32); |
66 | pub const DXGI_FORMAT_BC5_UNORM: DXGI_FORMAT = DXGI_FORMAT(83i32); |
67 | pub const DXGI_FORMAT_BC6H_SF16: DXGI_FORMAT = DXGI_FORMAT(96i32); |
68 | pub const DXGI_FORMAT_BC6H_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(94i32); |
69 | pub const DXGI_FORMAT_BC6H_UF16: DXGI_FORMAT = DXGI_FORMAT(95i32); |
70 | pub const DXGI_FORMAT_BC7_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(97i32); |
71 | pub const DXGI_FORMAT_BC7_UNORM: DXGI_FORMAT = DXGI_FORMAT(98i32); |
72 | pub const DXGI_FORMAT_BC7_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(99i32); |
73 | pub const DXGI_FORMAT_D16_UNORM: DXGI_FORMAT = DXGI_FORMAT(55i32); |
74 | pub const DXGI_FORMAT_D24_UNORM_S8_UINT: DXGI_FORMAT = DXGI_FORMAT(45i32); |
75 | pub const DXGI_FORMAT_D32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(40i32); |
76 | pub const DXGI_FORMAT_D32_FLOAT_S8X24_UINT: DXGI_FORMAT = DXGI_FORMAT(20i32); |
77 | pub const DXGI_FORMAT_DEFINED: u32 = 1u32; |
78 | pub const DXGI_FORMAT_G8R8_G8B8_UNORM: DXGI_FORMAT = DXGI_FORMAT(69i32); |
79 | pub const DXGI_FORMAT_IA44: DXGI_FORMAT = DXGI_FORMAT(112i32); |
80 | pub const DXGI_FORMAT_NV11: DXGI_FORMAT = DXGI_FORMAT(110i32); |
81 | pub const DXGI_FORMAT_NV12: DXGI_FORMAT = DXGI_FORMAT(103i32); |
82 | pub const DXGI_FORMAT_P010: DXGI_FORMAT = DXGI_FORMAT(104i32); |
83 | pub const DXGI_FORMAT_P016: DXGI_FORMAT = DXGI_FORMAT(105i32); |
84 | pub const DXGI_FORMAT_P208: DXGI_FORMAT = DXGI_FORMAT(130i32); |
85 | pub const DXGI_FORMAT_P8: DXGI_FORMAT = DXGI_FORMAT(113i32); |
86 | pub const DXGI_FORMAT_R10G10B10A2_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(23i32); |
87 | pub const DXGI_FORMAT_R10G10B10A2_UINT: DXGI_FORMAT = DXGI_FORMAT(25i32); |
88 | pub const DXGI_FORMAT_R10G10B10A2_UNORM: DXGI_FORMAT = DXGI_FORMAT(24i32); |
89 | pub const DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM: DXGI_FORMAT = DXGI_FORMAT(89i32); |
90 | pub const DXGI_FORMAT_R11G11B10_FLOAT: DXGI_FORMAT = DXGI_FORMAT(26i32); |
91 | pub const DXGI_FORMAT_R16G16B16A16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(10i32); |
92 | pub const DXGI_FORMAT_R16G16B16A16_SINT: DXGI_FORMAT = DXGI_FORMAT(14i32); |
93 | pub const DXGI_FORMAT_R16G16B16A16_SNORM: DXGI_FORMAT = DXGI_FORMAT(13i32); |
94 | pub const DXGI_FORMAT_R16G16B16A16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(9i32); |
95 | pub const DXGI_FORMAT_R16G16B16A16_UINT: DXGI_FORMAT = DXGI_FORMAT(12i32); |
96 | pub const DXGI_FORMAT_R16G16B16A16_UNORM: DXGI_FORMAT = DXGI_FORMAT(11i32); |
97 | pub const DXGI_FORMAT_R16G16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(34i32); |
98 | pub const DXGI_FORMAT_R16G16_SINT: DXGI_FORMAT = DXGI_FORMAT(38i32); |
99 | pub const DXGI_FORMAT_R16G16_SNORM: DXGI_FORMAT = DXGI_FORMAT(37i32); |
100 | pub const DXGI_FORMAT_R16G16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(33i32); |
101 | pub const DXGI_FORMAT_R16G16_UINT: DXGI_FORMAT = DXGI_FORMAT(36i32); |
102 | pub const DXGI_FORMAT_R16G16_UNORM: DXGI_FORMAT = DXGI_FORMAT(35i32); |
103 | pub const DXGI_FORMAT_R16_FLOAT: DXGI_FORMAT = DXGI_FORMAT(54i32); |
104 | pub const DXGI_FORMAT_R16_SINT: DXGI_FORMAT = DXGI_FORMAT(59i32); |
105 | pub const DXGI_FORMAT_R16_SNORM: DXGI_FORMAT = DXGI_FORMAT(58i32); |
106 | pub const DXGI_FORMAT_R16_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(53i32); |
107 | pub const DXGI_FORMAT_R16_UINT: DXGI_FORMAT = DXGI_FORMAT(57i32); |
108 | pub const DXGI_FORMAT_R16_UNORM: DXGI_FORMAT = DXGI_FORMAT(56i32); |
109 | pub const DXGI_FORMAT_R1_UNORM: DXGI_FORMAT = DXGI_FORMAT(66i32); |
110 | pub const DXGI_FORMAT_R24G8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(44i32); |
111 | pub const DXGI_FORMAT_R24_UNORM_X8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(46i32); |
112 | pub const DXGI_FORMAT_R32G32B32A32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(2i32); |
113 | pub const DXGI_FORMAT_R32G32B32A32_SINT: DXGI_FORMAT = DXGI_FORMAT(4i32); |
114 | pub const DXGI_FORMAT_R32G32B32A32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(1i32); |
115 | pub const DXGI_FORMAT_R32G32B32A32_UINT: DXGI_FORMAT = DXGI_FORMAT(3i32); |
116 | pub const DXGI_FORMAT_R32G32B32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(6i32); |
117 | pub const DXGI_FORMAT_R32G32B32_SINT: DXGI_FORMAT = DXGI_FORMAT(8i32); |
118 | pub const DXGI_FORMAT_R32G32B32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(5i32); |
119 | pub const DXGI_FORMAT_R32G32B32_UINT: DXGI_FORMAT = DXGI_FORMAT(7i32); |
120 | pub const DXGI_FORMAT_R32G32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(16i32); |
121 | pub const DXGI_FORMAT_R32G32_SINT: DXGI_FORMAT = DXGI_FORMAT(18i32); |
122 | pub const DXGI_FORMAT_R32G32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(15i32); |
123 | pub const DXGI_FORMAT_R32G32_UINT: DXGI_FORMAT = DXGI_FORMAT(17i32); |
124 | pub const DXGI_FORMAT_R32G8X24_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(19i32); |
125 | pub const DXGI_FORMAT_R32_FLOAT: DXGI_FORMAT = DXGI_FORMAT(41i32); |
126 | pub const DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(21i32); |
127 | pub const DXGI_FORMAT_R32_SINT: DXGI_FORMAT = DXGI_FORMAT(43i32); |
128 | pub const DXGI_FORMAT_R32_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(39i32); |
129 | pub const DXGI_FORMAT_R32_UINT: DXGI_FORMAT = DXGI_FORMAT(42i32); |
130 | pub const DXGI_FORMAT_R8G8B8A8_SINT: DXGI_FORMAT = DXGI_FORMAT(32i32); |
131 | pub const DXGI_FORMAT_R8G8B8A8_SNORM: DXGI_FORMAT = DXGI_FORMAT(31i32); |
132 | pub const DXGI_FORMAT_R8G8B8A8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(27i32); |
133 | pub const DXGI_FORMAT_R8G8B8A8_UINT: DXGI_FORMAT = DXGI_FORMAT(30i32); |
134 | pub const DXGI_FORMAT_R8G8B8A8_UNORM: DXGI_FORMAT = DXGI_FORMAT(28i32); |
135 | pub const DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: DXGI_FORMAT = DXGI_FORMAT(29i32); |
136 | pub const DXGI_FORMAT_R8G8_B8G8_UNORM: DXGI_FORMAT = DXGI_FORMAT(68i32); |
137 | pub const DXGI_FORMAT_R8G8_SINT: DXGI_FORMAT = DXGI_FORMAT(52i32); |
138 | pub const DXGI_FORMAT_R8G8_SNORM: DXGI_FORMAT = DXGI_FORMAT(51i32); |
139 | pub const DXGI_FORMAT_R8G8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(48i32); |
140 | pub const DXGI_FORMAT_R8G8_UINT: DXGI_FORMAT = DXGI_FORMAT(50i32); |
141 | pub const DXGI_FORMAT_R8G8_UNORM: DXGI_FORMAT = DXGI_FORMAT(49i32); |
142 | pub const DXGI_FORMAT_R8_SINT: DXGI_FORMAT = DXGI_FORMAT(64i32); |
143 | pub const DXGI_FORMAT_R8_SNORM: DXGI_FORMAT = DXGI_FORMAT(63i32); |
144 | pub const DXGI_FORMAT_R8_TYPELESS: DXGI_FORMAT = DXGI_FORMAT(60i32); |
145 | pub const DXGI_FORMAT_R8_UINT: DXGI_FORMAT = DXGI_FORMAT(62i32); |
146 | pub const DXGI_FORMAT_R8_UNORM: DXGI_FORMAT = DXGI_FORMAT(61i32); |
147 | pub const DXGI_FORMAT_R9G9B9E5_SHAREDEXP: DXGI_FORMAT = DXGI_FORMAT(67i32); |
148 | pub const DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(189i32); |
149 | pub const DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE: DXGI_FORMAT = DXGI_FORMAT(190i32); |
150 | pub const DXGI_FORMAT_UNKNOWN: DXGI_FORMAT = DXGI_FORMAT(0i32); |
151 | pub const DXGI_FORMAT_V208: DXGI_FORMAT = DXGI_FORMAT(131i32); |
152 | pub const DXGI_FORMAT_V408: DXGI_FORMAT = DXGI_FORMAT(132i32); |
153 | pub const DXGI_FORMAT_X24_TYPELESS_G8_UINT: DXGI_FORMAT = DXGI_FORMAT(47i32); |
154 | pub const DXGI_FORMAT_X32_TYPELESS_G8X24_UINT: DXGI_FORMAT = DXGI_FORMAT(22i32); |
155 | pub const DXGI_FORMAT_Y210: DXGI_FORMAT = DXGI_FORMAT(108i32); |
156 | pub const DXGI_FORMAT_Y216: DXGI_FORMAT = DXGI_FORMAT(109i32); |
157 | pub const DXGI_FORMAT_Y410: DXGI_FORMAT = DXGI_FORMAT(101i32); |
158 | pub const DXGI_FORMAT_Y416: DXGI_FORMAT = DXGI_FORMAT(102i32); |
159 | pub const DXGI_FORMAT_YUY2: DXGI_FORMAT = DXGI_FORMAT(107i32); |
160 | pub const DXGI_MODE_ROTATION_IDENTITY: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(1i32); |
161 | pub const DXGI_MODE_ROTATION_ROTATE180: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(3i32); |
162 | pub const DXGI_MODE_ROTATION_ROTATE270: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(4i32); |
163 | pub const DXGI_MODE_ROTATION_ROTATE90: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(2i32); |
164 | pub const DXGI_MODE_ROTATION_UNSPECIFIED: DXGI_MODE_ROTATION = DXGI_MODE_ROTATION(0i32); |
165 | pub const DXGI_MODE_SCALING_CENTERED: DXGI_MODE_SCALING = DXGI_MODE_SCALING(1i32); |
166 | pub const DXGI_MODE_SCALING_STRETCHED: DXGI_MODE_SCALING = DXGI_MODE_SCALING(2i32); |
167 | pub const DXGI_MODE_SCALING_UNSPECIFIED: DXGI_MODE_SCALING = DXGI_MODE_SCALING(0i32); |
168 | pub const DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST: DXGI_MODE_SCANLINE_ORDER = DXGI_MODE_SCANLINE_ORDER(3i32); |
169 | pub const DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE: DXGI_MODE_SCANLINE_ORDER = DXGI_MODE_SCANLINE_ORDER(1i32); |
170 | pub const DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED: DXGI_MODE_SCANLINE_ORDER = DXGI_MODE_SCANLINE_ORDER(0i32); |
171 | pub const DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST: DXGI_MODE_SCANLINE_ORDER = DXGI_MODE_SCANLINE_ORDER(2i32); |
172 | pub const DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN: u32 = 4294967295u32; |
173 | pub const _FACDXGI: u32 = 2170u32; |
174 | #[repr (transparent)] |
175 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
176 | pub struct DXGI_ALPHA_MODE(pub i32); |
177 | impl ::core::marker::Copy for DXGI_ALPHA_MODE {} |
178 | impl ::core::clone::Clone for DXGI_ALPHA_MODE { |
179 | fn clone(&self) -> Self { |
180 | *self |
181 | } |
182 | } |
183 | impl ::core::default::Default for DXGI_ALPHA_MODE { |
184 | fn default() -> Self { |
185 | Self(0) |
186 | } |
187 | } |
188 | impl ::windows_core::TypeKind for DXGI_ALPHA_MODE { |
189 | type TypeKind = ::windows_core::CopyType; |
190 | } |
191 | impl ::core::fmt::Debug for DXGI_ALPHA_MODE { |
192 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
193 | f.debug_tuple(name:"DXGI_ALPHA_MODE" ).field(&self.0).finish() |
194 | } |
195 | } |
196 | #[repr (transparent)] |
197 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
198 | pub struct DXGI_COLOR_SPACE_TYPE(pub i32); |
199 | impl ::core::marker::Copy for DXGI_COLOR_SPACE_TYPE {} |
200 | impl ::core::clone::Clone for DXGI_COLOR_SPACE_TYPE { |
201 | fn clone(&self) -> Self { |
202 | *self |
203 | } |
204 | } |
205 | impl ::core::default::Default for DXGI_COLOR_SPACE_TYPE { |
206 | fn default() -> Self { |
207 | Self(0) |
208 | } |
209 | } |
210 | impl ::windows_core::TypeKind for DXGI_COLOR_SPACE_TYPE { |
211 | type TypeKind = ::windows_core::CopyType; |
212 | } |
213 | impl ::core::fmt::Debug for DXGI_COLOR_SPACE_TYPE { |
214 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
215 | f.debug_tuple(name:"DXGI_COLOR_SPACE_TYPE" ).field(&self.0).finish() |
216 | } |
217 | } |
218 | #[repr (transparent)] |
219 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
220 | pub struct DXGI_FORMAT(pub i32); |
221 | impl ::core::marker::Copy for DXGI_FORMAT {} |
222 | impl ::core::clone::Clone for DXGI_FORMAT { |
223 | fn clone(&self) -> Self { |
224 | *self |
225 | } |
226 | } |
227 | impl ::core::default::Default for DXGI_FORMAT { |
228 | fn default() -> Self { |
229 | Self(0) |
230 | } |
231 | } |
232 | impl ::windows_core::TypeKind for DXGI_FORMAT { |
233 | type TypeKind = ::windows_core::CopyType; |
234 | } |
235 | impl ::core::fmt::Debug for DXGI_FORMAT { |
236 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
237 | f.debug_tuple(name:"DXGI_FORMAT" ).field(&self.0).finish() |
238 | } |
239 | } |
240 | #[repr (transparent)] |
241 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
242 | pub struct DXGI_MODE_ROTATION(pub i32); |
243 | impl ::core::marker::Copy for DXGI_MODE_ROTATION {} |
244 | impl ::core::clone::Clone for DXGI_MODE_ROTATION { |
245 | fn clone(&self) -> Self { |
246 | *self |
247 | } |
248 | } |
249 | impl ::core::default::Default for DXGI_MODE_ROTATION { |
250 | fn default() -> Self { |
251 | Self(0) |
252 | } |
253 | } |
254 | impl ::windows_core::TypeKind for DXGI_MODE_ROTATION { |
255 | type TypeKind = ::windows_core::CopyType; |
256 | } |
257 | impl ::core::fmt::Debug for DXGI_MODE_ROTATION { |
258 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
259 | f.debug_tuple(name:"DXGI_MODE_ROTATION" ).field(&self.0).finish() |
260 | } |
261 | } |
262 | #[repr (transparent)] |
263 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
264 | pub struct DXGI_MODE_SCALING(pub i32); |
265 | impl ::core::marker::Copy for DXGI_MODE_SCALING {} |
266 | impl ::core::clone::Clone for DXGI_MODE_SCALING { |
267 | fn clone(&self) -> Self { |
268 | *self |
269 | } |
270 | } |
271 | impl ::core::default::Default for DXGI_MODE_SCALING { |
272 | fn default() -> Self { |
273 | Self(0) |
274 | } |
275 | } |
276 | impl ::windows_core::TypeKind for DXGI_MODE_SCALING { |
277 | type TypeKind = ::windows_core::CopyType; |
278 | } |
279 | impl ::core::fmt::Debug for DXGI_MODE_SCALING { |
280 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
281 | f.debug_tuple(name:"DXGI_MODE_SCALING" ).field(&self.0).finish() |
282 | } |
283 | } |
284 | #[repr (transparent)] |
285 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
286 | pub struct DXGI_MODE_SCANLINE_ORDER(pub i32); |
287 | impl ::core::marker::Copy for DXGI_MODE_SCANLINE_ORDER {} |
288 | impl ::core::clone::Clone for DXGI_MODE_SCANLINE_ORDER { |
289 | fn clone(&self) -> Self { |
290 | *self |
291 | } |
292 | } |
293 | impl ::core::default::Default for DXGI_MODE_SCANLINE_ORDER { |
294 | fn default() -> Self { |
295 | Self(0) |
296 | } |
297 | } |
298 | impl ::windows_core::TypeKind for DXGI_MODE_SCANLINE_ORDER { |
299 | type TypeKind = ::windows_core::CopyType; |
300 | } |
301 | impl ::core::fmt::Debug for DXGI_MODE_SCANLINE_ORDER { |
302 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
303 | f.debug_tuple(name:"DXGI_MODE_SCANLINE_ORDER" ).field(&self.0).finish() |
304 | } |
305 | } |
306 | #[repr (C)] |
307 | pub struct DXGI_GAMMA_CONTROL { |
308 | pub Scale: DXGI_RGB, |
309 | pub Offset: DXGI_RGB, |
310 | pub GammaCurve: [DXGI_RGB; 1025], |
311 | } |
312 | impl ::core::marker::Copy for DXGI_GAMMA_CONTROL {} |
313 | impl ::core::clone::Clone for DXGI_GAMMA_CONTROL { |
314 | fn clone(&self) -> Self { |
315 | *self |
316 | } |
317 | } |
318 | impl ::core::fmt::Debug for DXGI_GAMMA_CONTROL { |
319 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
320 | f.debug_struct("DXGI_GAMMA_CONTROL" ).field("Scale" , &self.Scale).field("Offset" , &self.Offset).field(name:"GammaCurve" , &self.GammaCurve).finish() |
321 | } |
322 | } |
323 | impl ::windows_core::TypeKind for DXGI_GAMMA_CONTROL { |
324 | type TypeKind = ::windows_core::CopyType; |
325 | } |
326 | impl ::core::cmp::PartialEq for DXGI_GAMMA_CONTROL { |
327 | fn eq(&self, other: &Self) -> bool { |
328 | self.Scale == other.Scale && self.Offset == other.Offset && self.GammaCurve == other.GammaCurve |
329 | } |
330 | } |
331 | impl ::core::cmp::Eq for DXGI_GAMMA_CONTROL {} |
332 | impl ::core::default::Default for DXGI_GAMMA_CONTROL { |
333 | fn default() -> Self { |
334 | unsafe { ::core::mem::zeroed() } |
335 | } |
336 | } |
337 | #[repr (C)] |
338 | #[doc = "Required features: ` \"Win32_Foundation \"`" ] |
339 | #[cfg (feature = "Win32_Foundation" )] |
340 | pub struct DXGI_GAMMA_CONTROL_CAPABILITIES { |
341 | pub ScaleAndOffsetSupported: super::super::super::Foundation::BOOL, |
342 | pub MaxConvertedValue: f32, |
343 | pub MinConvertedValue: f32, |
344 | pub NumGammaControlPoints: u32, |
345 | pub ControlPointPositions: [f32; 1025], |
346 | } |
347 | #[cfg (feature = "Win32_Foundation" )] |
348 | impl ::core::marker::Copy for DXGI_GAMMA_CONTROL_CAPABILITIES {} |
349 | #[cfg (feature = "Win32_Foundation" )] |
350 | impl ::core::clone::Clone for DXGI_GAMMA_CONTROL_CAPABILITIES { |
351 | fn clone(&self) -> Self { |
352 | *self |
353 | } |
354 | } |
355 | #[cfg (feature = "Win32_Foundation" )] |
356 | impl ::core::fmt::Debug for DXGI_GAMMA_CONTROL_CAPABILITIES { |
357 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
358 | f.debug_struct("DXGI_GAMMA_CONTROL_CAPABILITIES" ).field("ScaleAndOffsetSupported" , &self.ScaleAndOffsetSupported).field("MaxConvertedValue" , &self.MaxConvertedValue).field("MinConvertedValue" , &self.MinConvertedValue).field("NumGammaControlPoints" , &self.NumGammaControlPoints).field(name:"ControlPointPositions" , &self.ControlPointPositions).finish() |
359 | } |
360 | } |
361 | #[cfg (feature = "Win32_Foundation" )] |
362 | impl ::windows_core::TypeKind for DXGI_GAMMA_CONTROL_CAPABILITIES { |
363 | type TypeKind = ::windows_core::CopyType; |
364 | } |
365 | #[cfg (feature = "Win32_Foundation" )] |
366 | impl ::core::cmp::PartialEq for DXGI_GAMMA_CONTROL_CAPABILITIES { |
367 | fn eq(&self, other: &Self) -> bool { |
368 | self.ScaleAndOffsetSupported == other.ScaleAndOffsetSupported && self.MaxConvertedValue == other.MaxConvertedValue && self.MinConvertedValue == other.MinConvertedValue && self.NumGammaControlPoints == other.NumGammaControlPoints && self.ControlPointPositions == other.ControlPointPositions |
369 | } |
370 | } |
371 | #[cfg (feature = "Win32_Foundation" )] |
372 | impl ::core::cmp::Eq for DXGI_GAMMA_CONTROL_CAPABILITIES {} |
373 | #[cfg (feature = "Win32_Foundation" )] |
374 | impl ::core::default::Default for DXGI_GAMMA_CONTROL_CAPABILITIES { |
375 | fn default() -> Self { |
376 | unsafe { ::core::mem::zeroed() } |
377 | } |
378 | } |
379 | #[repr (C)] |
380 | pub struct DXGI_JPEG_AC_HUFFMAN_TABLE { |
381 | pub CodeCounts: [u8; 16], |
382 | pub CodeValues: [u8; 162], |
383 | } |
384 | impl ::core::marker::Copy for DXGI_JPEG_AC_HUFFMAN_TABLE {} |
385 | impl ::core::clone::Clone for DXGI_JPEG_AC_HUFFMAN_TABLE { |
386 | fn clone(&self) -> Self { |
387 | *self |
388 | } |
389 | } |
390 | impl ::core::fmt::Debug for DXGI_JPEG_AC_HUFFMAN_TABLE { |
391 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
392 | f.debug_struct("DXGI_JPEG_AC_HUFFMAN_TABLE" ).field("CodeCounts" , &self.CodeCounts).field(name:"CodeValues" , &self.CodeValues).finish() |
393 | } |
394 | } |
395 | impl ::windows_core::TypeKind for DXGI_JPEG_AC_HUFFMAN_TABLE { |
396 | type TypeKind = ::windows_core::CopyType; |
397 | } |
398 | impl ::core::cmp::PartialEq for DXGI_JPEG_AC_HUFFMAN_TABLE { |
399 | fn eq(&self, other: &Self) -> bool { |
400 | self.CodeCounts == other.CodeCounts && self.CodeValues == other.CodeValues |
401 | } |
402 | } |
403 | impl ::core::cmp::Eq for DXGI_JPEG_AC_HUFFMAN_TABLE {} |
404 | impl ::core::default::Default for DXGI_JPEG_AC_HUFFMAN_TABLE { |
405 | fn default() -> Self { |
406 | unsafe { ::core::mem::zeroed() } |
407 | } |
408 | } |
409 | #[repr (C)] |
410 | pub struct DXGI_JPEG_DC_HUFFMAN_TABLE { |
411 | pub CodeCounts: [u8; 12], |
412 | pub CodeValues: [u8; 12], |
413 | } |
414 | impl ::core::marker::Copy for DXGI_JPEG_DC_HUFFMAN_TABLE {} |
415 | impl ::core::clone::Clone for DXGI_JPEG_DC_HUFFMAN_TABLE { |
416 | fn clone(&self) -> Self { |
417 | *self |
418 | } |
419 | } |
420 | impl ::core::fmt::Debug for DXGI_JPEG_DC_HUFFMAN_TABLE { |
421 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
422 | f.debug_struct("DXGI_JPEG_DC_HUFFMAN_TABLE" ).field("CodeCounts" , &self.CodeCounts).field(name:"CodeValues" , &self.CodeValues).finish() |
423 | } |
424 | } |
425 | impl ::windows_core::TypeKind for DXGI_JPEG_DC_HUFFMAN_TABLE { |
426 | type TypeKind = ::windows_core::CopyType; |
427 | } |
428 | impl ::core::cmp::PartialEq for DXGI_JPEG_DC_HUFFMAN_TABLE { |
429 | fn eq(&self, other: &Self) -> bool { |
430 | self.CodeCounts == other.CodeCounts && self.CodeValues == other.CodeValues |
431 | } |
432 | } |
433 | impl ::core::cmp::Eq for DXGI_JPEG_DC_HUFFMAN_TABLE {} |
434 | impl ::core::default::Default for DXGI_JPEG_DC_HUFFMAN_TABLE { |
435 | fn default() -> Self { |
436 | unsafe { ::core::mem::zeroed() } |
437 | } |
438 | } |
439 | #[repr (C)] |
440 | pub struct DXGI_JPEG_QUANTIZATION_TABLE { |
441 | pub Elements: [u8; 64], |
442 | } |
443 | impl ::core::marker::Copy for DXGI_JPEG_QUANTIZATION_TABLE {} |
444 | impl ::core::clone::Clone for DXGI_JPEG_QUANTIZATION_TABLE { |
445 | fn clone(&self) -> Self { |
446 | *self |
447 | } |
448 | } |
449 | impl ::core::fmt::Debug for DXGI_JPEG_QUANTIZATION_TABLE { |
450 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
451 | f.debug_struct("DXGI_JPEG_QUANTIZATION_TABLE" ).field(name:"Elements" , &self.Elements).finish() |
452 | } |
453 | } |
454 | impl ::windows_core::TypeKind for DXGI_JPEG_QUANTIZATION_TABLE { |
455 | type TypeKind = ::windows_core::CopyType; |
456 | } |
457 | impl ::core::cmp::PartialEq for DXGI_JPEG_QUANTIZATION_TABLE { |
458 | fn eq(&self, other: &Self) -> bool { |
459 | self.Elements == other.Elements |
460 | } |
461 | } |
462 | impl ::core::cmp::Eq for DXGI_JPEG_QUANTIZATION_TABLE {} |
463 | impl ::core::default::Default for DXGI_JPEG_QUANTIZATION_TABLE { |
464 | fn default() -> Self { |
465 | unsafe { ::core::mem::zeroed() } |
466 | } |
467 | } |
468 | #[repr (C)] |
469 | pub struct DXGI_MODE_DESC { |
470 | pub Width: u32, |
471 | pub Height: u32, |
472 | pub RefreshRate: DXGI_RATIONAL, |
473 | pub Format: DXGI_FORMAT, |
474 | pub ScanlineOrdering: DXGI_MODE_SCANLINE_ORDER, |
475 | pub Scaling: DXGI_MODE_SCALING, |
476 | } |
477 | impl ::core::marker::Copy for DXGI_MODE_DESC {} |
478 | impl ::core::clone::Clone for DXGI_MODE_DESC { |
479 | fn clone(&self) -> Self { |
480 | *self |
481 | } |
482 | } |
483 | impl ::core::fmt::Debug for DXGI_MODE_DESC { |
484 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
485 | f.debug_struct("DXGI_MODE_DESC" ).field("Width" , &self.Width).field("Height" , &self.Height).field("RefreshRate" , &self.RefreshRate).field("Format" , &self.Format).field("ScanlineOrdering" , &self.ScanlineOrdering).field(name:"Scaling" , &self.Scaling).finish() |
486 | } |
487 | } |
488 | impl ::windows_core::TypeKind for DXGI_MODE_DESC { |
489 | type TypeKind = ::windows_core::CopyType; |
490 | } |
491 | impl ::core::cmp::PartialEq for DXGI_MODE_DESC { |
492 | fn eq(&self, other: &Self) -> bool { |
493 | self.Width == other.Width && self.Height == other.Height && self.RefreshRate == other.RefreshRate && self.Format == other.Format && self.ScanlineOrdering == other.ScanlineOrdering && self.Scaling == other.Scaling |
494 | } |
495 | } |
496 | impl ::core::cmp::Eq for DXGI_MODE_DESC {} |
497 | impl ::core::default::Default for DXGI_MODE_DESC { |
498 | fn default() -> Self { |
499 | unsafe { ::core::mem::zeroed() } |
500 | } |
501 | } |
502 | #[repr (C)] |
503 | pub struct DXGI_RATIONAL { |
504 | pub Numerator: u32, |
505 | pub Denominator: u32, |
506 | } |
507 | impl ::core::marker::Copy for DXGI_RATIONAL {} |
508 | impl ::core::clone::Clone for DXGI_RATIONAL { |
509 | fn clone(&self) -> Self { |
510 | *self |
511 | } |
512 | } |
513 | impl ::core::fmt::Debug for DXGI_RATIONAL { |
514 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
515 | f.debug_struct("DXGI_RATIONAL" ).field("Numerator" , &self.Numerator).field(name:"Denominator" , &self.Denominator).finish() |
516 | } |
517 | } |
518 | impl ::windows_core::TypeKind for DXGI_RATIONAL { |
519 | type TypeKind = ::windows_core::CopyType; |
520 | } |
521 | impl ::core::cmp::PartialEq for DXGI_RATIONAL { |
522 | fn eq(&self, other: &Self) -> bool { |
523 | self.Numerator == other.Numerator && self.Denominator == other.Denominator |
524 | } |
525 | } |
526 | impl ::core::cmp::Eq for DXGI_RATIONAL {} |
527 | impl ::core::default::Default for DXGI_RATIONAL { |
528 | fn default() -> Self { |
529 | unsafe { ::core::mem::zeroed() } |
530 | } |
531 | } |
532 | #[repr (C)] |
533 | pub struct DXGI_RGB { |
534 | pub Red: f32, |
535 | pub Green: f32, |
536 | pub Blue: f32, |
537 | } |
538 | impl ::core::marker::Copy for DXGI_RGB {} |
539 | impl ::core::clone::Clone for DXGI_RGB { |
540 | fn clone(&self) -> Self { |
541 | *self |
542 | } |
543 | } |
544 | impl ::core::fmt::Debug for DXGI_RGB { |
545 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
546 | f.debug_struct("DXGI_RGB" ).field("Red" , &self.Red).field("Green" , &self.Green).field(name:"Blue" , &self.Blue).finish() |
547 | } |
548 | } |
549 | impl ::windows_core::TypeKind for DXGI_RGB { |
550 | type TypeKind = ::windows_core::CopyType; |
551 | } |
552 | impl ::core::cmp::PartialEq for DXGI_RGB { |
553 | fn eq(&self, other: &Self) -> bool { |
554 | self.Red == other.Red && self.Green == other.Green && self.Blue == other.Blue |
555 | } |
556 | } |
557 | impl ::core::cmp::Eq for DXGI_RGB {} |
558 | impl ::core::default::Default for DXGI_RGB { |
559 | fn default() -> Self { |
560 | unsafe { ::core::mem::zeroed() } |
561 | } |
562 | } |
563 | #[repr (C)] |
564 | pub struct DXGI_SAMPLE_DESC { |
565 | pub Count: u32, |
566 | pub Quality: u32, |
567 | } |
568 | impl ::core::marker::Copy for DXGI_SAMPLE_DESC {} |
569 | impl ::core::clone::Clone for DXGI_SAMPLE_DESC { |
570 | fn clone(&self) -> Self { |
571 | *self |
572 | } |
573 | } |
574 | impl ::core::fmt::Debug for DXGI_SAMPLE_DESC { |
575 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
576 | f.debug_struct("DXGI_SAMPLE_DESC" ).field("Count" , &self.Count).field(name:"Quality" , &self.Quality).finish() |
577 | } |
578 | } |
579 | impl ::windows_core::TypeKind for DXGI_SAMPLE_DESC { |
580 | type TypeKind = ::windows_core::CopyType; |
581 | } |
582 | impl ::core::cmp::PartialEq for DXGI_SAMPLE_DESC { |
583 | fn eq(&self, other: &Self) -> bool { |
584 | self.Count == other.Count && self.Quality == other.Quality |
585 | } |
586 | } |
587 | impl ::core::cmp::Eq for DXGI_SAMPLE_DESC {} |
588 | impl ::core::default::Default for DXGI_SAMPLE_DESC { |
589 | fn default() -> Self { |
590 | unsafe { ::core::mem::zeroed() } |
591 | } |
592 | } |
593 | |