2 * Copyright (C) 2023 Mohamad Al-Jaf
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #pragma winrt ns_prefix
23 import
"inspectable.idl";
24 import
"asyncinfo.idl";
25 import
"eventtoken.idl";
26 import
"windowscontracts.idl";
27 import
"windows.foundation.idl";
29 namespace Windows.Graphics.DirectX
{
30 typedef enum DirectXPixelFormat DirectXPixelFormat
;
33 interface Windows.Foundation.Collections.IIterable
<Windows.Graphics.DirectX.DirectXPixelFormat
>;
34 interface Windows.Foundation.Collections.IIterator
<Windows.Graphics.DirectX.DirectXPixelFormat
>;
35 interface Windows.Foundation.Collections.IVectorView
<Windows.Graphics.DirectX.DirectXPixelFormat
>;
39 contract
(Windows.Foundation.UniversalApiContract
, 1.0)
41 enum DirectXPixelFormat
44 R32G32B32A32Typeless
= 1,
45 R32G32B32A32Float
= 2,
48 R32G32B32Typeless
= 5,
52 R16G16B16A16Typeless
= 9,
53 R16G16B16A16Float
= 10,
54 R16G16B16A16UIntNormalized
= 11,
55 R16G16B16A16UInt
= 12,
56 R16G16B16A16IntNormalized
= 13,
62 R32G8X24Typeless
= 19,
63 D32FloatS8X24UInt
= 20,
64 R32FloatX8X24Typeless
= 21,
65 X32TypelessG8X24UInt
= 22,
66 R10G10B10A2Typeless
= 23,
67 R10G10B10A2UIntNormalized
= 24,
70 R8G8B8A8Typeless
= 27,
71 R8G8B8A8UIntNormalized
= 28,
72 R8G8B8A8UIntNormalizedSrgb
= 29,
74 R8G8B8A8IntNormalized
= 31,
78 R16G16UIntNormalized
= 35,
80 R16G16IntNormalized
= 37,
88 D24UIntNormalizedS8UInt
= 45,
89 R24UIntNormalizedX8Typeless
= 46,
90 X24TypelessG8UInt
= 47,
92 R8G8UIntNormalized
= 49,
94 R8G8IntNormalized
= 51,
98 D16UIntNormalized
= 55,
99 R16UIntNormalized
= 56,
101 R16IntNormalized
= 58,
104 R8UIntNormalized
= 61,
106 R8IntNormalized
= 63,
108 A8UIntNormalized
= 65,
109 R1UIntNormalized
= 66,
110 R9G9B9E5SharedExponent
= 67,
111 R8G8B8G8UIntNormalized
= 68,
112 G8R8G8B8UIntNormalized
= 69,
114 BC1UIntNormalized
= 71,
115 BC1UIntNormalizedSrgb
= 72,
117 BC2UIntNormalized
= 74,
118 BC2UIntNormalizedSrgb
= 75,
120 BC3UIntNormalized
= 77,
121 BC3UIntNormalizedSrgb
= 78,
123 BC4UIntNormalized
= 80,
124 BC4IntNormalized
= 81,
126 BC5UIntNormalized
= 83,
127 BC5IntNormalized
= 84,
128 B5G6R5UIntNormalized
= 85,
129 B5G5R5A1UIntNormalized
= 86,
130 B8G8R8A8UIntNormalized
= 87,
131 B8G8R8X8UIntNormalized
= 88,
132 R10G10B10XRBiasA2UIntNormalized
= 89,
133 B8G8R8A8Typeless
= 90,
134 B8G8R8A8UIntNormalizedSrgb
= 91,
135 B8G8R8X8Typeless
= 92,
136 B8G8R8X8UIntNormalizedSrgb
= 93,
138 BC6H16UnsignedFloat
= 95,
141 BC7UIntNormalized
= 98,
142 BC7UIntNormalizedSrgb
= 99,
158 B4G4R4A4UIntNormalized
= 115,
162 [contract
(Windows.Foundation.UniversalApiContract
, 10.0)]
163 SamplerFeedbackMinMipOpaque
= 189,
164 [contract
(Windows.Foundation.UniversalApiContract
, 10.0)]
165 SamplerFeedbackMipRegionUsedOpaque
= 190,