winrt-Windows.Graphics.DirectX.Direct3D11.Interop 2.3.0__cp39-cp39-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_graphics_directx_direct3d11_interop.cp39-win32.pyd +0 -0
- winrt/_winrt_windows_graphics_directx_direct3d11_interop.pyi +46 -0
- winrt/windows/graphics/directx/direct3d11/interop/__init__.py +17 -0
- winrt/windows/graphics/directx/direct3d11/interop/py.typed +0 -0
- winrt_Windows.Graphics.DirectX.Direct3D11.Interop-2.3.0.dist-info/METADATA +22 -0
- winrt_Windows.Graphics.DirectX.Direct3D11.Interop-2.3.0.dist-info/RECORD +8 -0
- winrt_Windows.Graphics.DirectX.Direct3D11.Interop-2.3.0.dist-info/WHEEL +5 -0
- winrt_Windows.Graphics.DirectX.Direct3D11.Interop-2.3.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
from .windows.graphics.directx.direct3d11 import IDirect3DDevice
|
|
2
|
+
from .system import Object
|
|
3
|
+
|
|
4
|
+
def create_direct3d11_device_from_dxgi_device(dxgi_device: int) -> IDirect3DDevice:
|
|
5
|
+
"""
|
|
6
|
+
Creates an instance of IDirect3DDevice from an IDXGIDevice.
|
|
7
|
+
|
|
8
|
+
Args:
|
|
9
|
+
dxgi_device (IDXGIDevice*): The IDXGIDevice to create the Direct3DDevice from.
|
|
10
|
+
|
|
11
|
+
Returns:
|
|
12
|
+
A Direct3DDevice instance that wraps the DXGIDevice.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
def create_direct3d11_surface_from_dxgi_surface(dxgi_surface: int) -> int:
|
|
16
|
+
"""
|
|
17
|
+
Creates an instance of IDirect3DSurface from an IDXGISurface.
|
|
18
|
+
|
|
19
|
+
Args:
|
|
20
|
+
dxgi_surface (IDXGISurface*): The IDXGISurface to create the Direct3DSurface from.
|
|
21
|
+
|
|
22
|
+
Returns:
|
|
23
|
+
Pointer to IDirect3DSurface interface of the IDXGISurface.
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def get_dxgi_device_from_object(object: Object) -> int:
|
|
27
|
+
"""
|
|
28
|
+
Retrieves the IDXGIDevice from a Direct3D object.
|
|
29
|
+
|
|
30
|
+
Args:
|
|
31
|
+
object: The WinRT object to retrieve the IDXGIDevice from.
|
|
32
|
+
|
|
33
|
+
Returns:
|
|
34
|
+
Pointer to IDXGIDevice interface of the WinRT object.
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
def get_dxgi_surface_from_object(object: Object) -> int:
|
|
38
|
+
"""
|
|
39
|
+
Retrieves the IDXGISurface from a Direct3D object.
|
|
40
|
+
|
|
41
|
+
Args:
|
|
42
|
+
object: The WinRT object to retrieve the IDXGISurface from.
|
|
43
|
+
|
|
44
|
+
Returns:
|
|
45
|
+
Pointer to IDXGISurface interface of the WinRT object.
|
|
46
|
+
"""
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from ...... import _winrt_windows_graphics_directx_direct3d11_interop
|
|
2
|
+
|
|
3
|
+
__all__ = [
|
|
4
|
+
"create_direct3d11_device_from_dxgi_device",
|
|
5
|
+
"create_direct3d11_surface_from_dxgi_surface",
|
|
6
|
+
"get_dxgi_device_from_object",
|
|
7
|
+
"get_dxgi_surface_from_object",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
create_direct3d11_device_from_dxgi_device = _winrt_windows_graphics_directx_direct3d11_interop.create_direct3d11_device_from_dxgi_device
|
|
11
|
+
create_direct3d11_surface_from_dxgi_surface = _winrt_windows_graphics_directx_direct3d11_interop.create_direct3d11_surface_from_dxgi_surface
|
|
12
|
+
get_dxgi_device_from_object = (
|
|
13
|
+
_winrt_windows_graphics_directx_direct3d11_interop.get_dxgi_device_from_object
|
|
14
|
+
)
|
|
15
|
+
get_dxgi_surface_from_object = (
|
|
16
|
+
_winrt_windows_graphics_directx_direct3d11_interop.get_dxgi_surface_from_object
|
|
17
|
+
)
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Graphics.DirectX.Direct3D11.Interop
|
|
3
|
+
Version: 2.3.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
|
+
|
|
18
|
+
# winrt-Windows.Graphics.DirectX.Direct3D11.Interop
|
|
19
|
+
|
|
20
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Graphics.DirectX.Direct3D11.Interop` namespace.
|
|
21
|
+
|
|
22
|
+
This package provides the `winrt.windows.graphics.directx.direct3d11.interop` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_graphics_directx_direct3d11_interop.cp39-win32.pyd,sha256=HxcaROrky8jmazYjU1nZrlIobIpqjcRFvlccc9PUD34,21504
|
|
2
|
+
winrt/_winrt_windows_graphics_directx_direct3d11_interop.pyi,sha256=tWlmk8mtQrjLc88EfSeyUnNKqylnQySNMJ5Vv0YJggU,1337
|
|
3
|
+
winrt/windows/graphics/directx/direct3d11/interop/__init__.py,sha256=h4LPjdVrNR1vnqd1sLlkpYnBposhT7cM8F8LcGvPbbw,771
|
|
4
|
+
winrt/windows/graphics/directx/direct3d11/interop/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Graphics.DirectX.Direct3D11.Interop-2.3.0.dist-info/METADATA,sha256=CGOLg0qaNtoKPiqduxli3qk-etPlW_0OtcDtKd-fNr8,993
|
|
6
|
+
winrt_Windows.Graphics.DirectX.Direct3D11.Interop-2.3.0.dist-info/WHEEL,sha256=2ehOLvF6HQfaFZmUtOC1ZVaaDBBe_gTEP2EXYeMee5o,95
|
|
7
|
+
winrt_Windows.Graphics.DirectX.Direct3D11.Interop-2.3.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Graphics.DirectX.Direct3D11.Interop-2.3.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|