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 IDirect3DSurface from an IDXGISurface.
Syntax
IDirect3DSurface ^ CreateDirect3DSurface(
[in] IDXGISurface *dxgiSurface
);
Parameters
[in] dxgiSurface
Type: IDXGISurface*
The IDXGISurface to create the IDirect3D11Surface from.
Return value
Type: IDirect3DSurface^
Returns the created IDirect3DSurface instance.
Remarks
While we recommend C++/WinRT, if you're using C++/CX, then you should use this function. Otherwise, you should use the CreateDirect3D11SurfaceFromDXGISurface function instead.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | windows.graphics.directx.direct3d11.interop.h |
Library | D3D11.lib |
DLL | D3D11.dll |