CreateDirect3DDevice function

CreateDirect3DDevice function

Creates an instance of IDirect3DDevice from an IDXGIDevice.

Syntax


IDirect3DDevice^ CreateDirect3DDevice(
  _In_ IDXGIDevice *dxgiDevice
);

Parameters

dxgiDevice [in]

The IDXGIDevice to create the Direct3DDevice from.

Return value

Returns the created IDirect3DDevice instance.

Remarks

If your are using C++/CX you should use this function, CreateDirect3DDevice. If you are using WRL you should use the CreateDirect3D11DeviceFromDXGIDevice function instead.

Requirements

Header

Windows.Graphics.DirectX.Direct3D11.interop.h

Library

D3D11.lib

DLL

D3D11.dll

 

 

Show:
© 2017 Microsoft