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 DirectXAlphaMode DirectXAlphaMode
;
31 typedef enum DirectXPixelFormat DirectXPixelFormat
;
34 interface Windows.Foundation.Collections.IIterable
<Windows.Graphics.DirectX.DirectXPixelFormat
>;
35 interface Windows.Foundation.Collections.IIterator
<Windows.Graphics.DirectX.DirectXPixelFormat
>;
36 interface Windows.Foundation.Collections.IVectorView
<Windows.Graphics.DirectX.DirectXPixelFormat
>;
40 contract
(Windows.Foundation.UniversalApiContract
, 2.0)
51 contract
(Windows.Foundation.UniversalApiContract
, 1.0)
53 enum DirectXPixelFormat
56 R32G32B32A32Typeless
= 1,
57 R32G32B32A32Float
= 2,
60 R32G32B32Typeless
= 5,
64 R16G16B16A16Typeless
= 9,
65 R16G16B16A16Float
= 10,
66 R16G16B16A16UIntNormalized
= 11,
67 R16G16B16A16UInt
= 12,
68 R16G16B16A16IntNormalized
= 13,
74 R32G8X24Typeless
= 19,
75 D32FloatS8X24UInt
= 20,
76 R32FloatX8X24Typeless
= 21,
77 X32TypelessG8X24UInt
= 22,
78 R10G10B10A2Typeless
= 23,
79 R10G10B10A2UIntNormalized
= 24,
82 R8G8B8A8Typeless
= 27,
83 R8G8B8A8UIntNormalized
= 28,
84 R8G8B8A8UIntNormalizedSrgb
= 29,
86 R8G8B8A8IntNormalized
= 31,
90 R16G16UIntNormalized
= 35,
92 R16G16IntNormalized
= 37,
100 D24UIntNormalizedS8UInt
= 45,
101 R24UIntNormalizedX8Typeless
= 46,
102 X24TypelessG8UInt
= 47,
104 R8G8UIntNormalized
= 49,
106 R8G8IntNormalized
= 51,
110 D16UIntNormalized
= 55,
111 R16UIntNormalized
= 56,
113 R16IntNormalized
= 58,
116 R8UIntNormalized
= 61,
118 R8IntNormalized
= 63,
120 A8UIntNormalized
= 65,
121 R1UIntNormalized
= 66,
122 R9G9B9E5SharedExponent
= 67,
123 R8G8B8G8UIntNormalized
= 68,
124 G8R8G8B8UIntNormalized
= 69,
126 BC1UIntNormalized
= 71,
127 BC1UIntNormalizedSrgb
= 72,
129 BC2UIntNormalized
= 74,
130 BC2UIntNormalizedSrgb
= 75,
132 BC3UIntNormalized
= 77,
133 BC3UIntNormalizedSrgb
= 78,
135 BC4UIntNormalized
= 80,
136 BC4IntNormalized
= 81,
138 BC5UIntNormalized
= 83,
139 BC5IntNormalized
= 84,
140 B5G6R5UIntNormalized
= 85,
141 B5G5R5A1UIntNormalized
= 86,
142 B8G8R8A8UIntNormalized
= 87,
143 B8G8R8X8UIntNormalized
= 88,
144 R10G10B10XRBiasA2UIntNormalized
= 89,
145 B8G8R8A8Typeless
= 90,
146 B8G8R8A8UIntNormalizedSrgb
= 91,
147 B8G8R8X8Typeless
= 92,
148 B8G8R8X8UIntNormalizedSrgb
= 93,
150 BC6H16UnsignedFloat
= 95,
153 BC7UIntNormalized
= 98,
154 BC7UIntNormalizedSrgb
= 99,
170 B4G4R4A4UIntNormalized
= 115,
174 [contract
(Windows.Foundation.UniversalApiContract
, 10.0)]
175 SamplerFeedbackMinMipOpaque
= 189,
176 [contract
(Windows.Foundation.UniversalApiContract
, 10.0)]
177 SamplerFeedbackMipRegionUsedOpaque
= 190,