Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 |