ID3D11DeviceContext::Unmap Method

Invalidate the pointer to a resource and re-enable the GPU’s access to that resource.

Syntax

public:
void Unmap(
         ID3D11Resource *pResource,
         UINT Subresource
)  

Parameters

pResource
Type: ID3D11Resource *

[in] A pointer to a ID3D11Resource interface.

Subresource
Type: UINT 

[in] A subresource to be unmapped.

Return value

None.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11DeviceContext

ID3D11DeviceContext Members