IDXGISurface::Unmap method (dxgi.h)
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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for