Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an instance of IDirect3DDevice from an IDXGIDevice.
Syntax
IDirect3DDevice ^ CreateDirect3DDevice(
[in] IDXGIDevice *dxgiDevice
);
Parameters
[in] dxgiDevice
Type: IDXGIDevice*
The IDXGIDevice to create the Direct3DDevice from.
Return value
Type: IDirect3DDevice^
Returns the created IDirect3DDevice instance.
Remarks
While we recommend C++/WinRT, if you're using C++/CX, then you should use this function. Otherwise, you should use the CreateDirect3D11DeviceFromDXGIDevice function instead.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | windows.graphics.directx.direct3d11.interop.h |
Library | D3D11.lib |
DLL | D3D11.dll |