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";
28 import
"windows.graphics.directx.idl";
30 namespace Windows.Graphics.DirectX.Direct3D11
{
31 typedef struct Direct3DMultisampleDescription Direct3DMultisampleDescription
;
32 typedef struct Direct3DSurfaceDescription Direct3DSurfaceDescription
;
34 interface IDirect3DDevice
;
35 interface IDirect3DSurface
;
38 interface Windows.Foundation.Collections.IIterable
<Windows.Graphics.DirectX.Direct3D11.IDirect3DSurface
*>;
39 interface Windows.Foundation.Collections.IIterator
<Windows.Graphics.DirectX.Direct3D11.IDirect3DSurface
*>;
40 interface Windows.Foundation.Collections.IVectorView
<Windows.Graphics.DirectX.Direct3D11.IDirect3DSurface
*>;
44 contract
(Windows.Foundation.UniversalApiContract
, 1.0)
46 struct Direct3DMultisampleDescription
53 contract
(Windows.Foundation.UniversalApiContract
, 1.0)
55 struct Direct3DSurfaceDescription
59 Windows.Graphics.DirectX.DirectXPixelFormat Format
;
60 Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription MultisampleDescription
;
64 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
65 uuid(a37624ab
-8d5f
-4650-9d3e
-9eae3d9bc670
)
67 interface IDirect3DDevice
: IInspectable
68 requires Windows.Foundation.IClosable
74 contract
(Windows.Foundation.UniversalApiContract
, 1.0),
75 uuid(0bf4a146
-13c1
-4694-bee3
-7abf15eaf586
)
77 interface IDirect3DSurface
: IInspectable
78 requires Windows.Foundation.IClosable
80 [propget] HRESULT Description
(
81 [out, retval] Windows.Graphics.DirectX.Direct3D11.Direct3DSurfaceDescription
*value
);