Invalidate the pointer to a resource and re-enable the GPU’s access to that resource.
public:
void Unmap(
ID3D11Resource *pResource,
UINT Subresource
)
pResource
Type: ID3D11Resource *
[in] A pointer to a ID3D11Resource interface.
Subresource
Type: UINT
[in] A subresource to be unmapped.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).