Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CreateDirect3DSurface function

Creates an instance of IDirect3DSurface from an IDXGISurface.

Syntax


IDirect3DSurface CreateDirect3DSurface(
  _In_ IDXGISurface *dxgiSurface
);

Parameters

dxgiSurface [in]

The IDXGISurface to create the IDirect3D11Surface from.

Return value

Returns the created IDirect3DSurface instance.

Remarks

If you are using C++/CX you should use this function, CreateDirect3DSurface. If you are using WRL you should use the CreateDirect3D11SurfaceFromDXGISurface function instead.

Requirements

Header

Windows.Graphics.DirectX.Direct3D11.interop.h

Library

D3D11.lib

DLL

D3D11.dll

 

 

Show: