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.
Invalidate the pointer to the surface retrieved by IDXGISurface::Map and re-enable GPU access to the resource.
Syntax
HRESULT Unmap();
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the error codes that are described in the DXGI_ERROR topic.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |