ID3D11DeviceContext::Unmap method (d3d11.h)

Invalidate the pointer to a resource and reenable the GPU's access to that resource.

Syntax

void Unmap(
  [in] ID3D11Resource *pResource,
  [in] UINT           Subresource
);

Parameters

[in] pResource

Type: ID3D11Resource*

A pointer to a ID3D11Resource interface.

[in] Subresource

Type: UINT

A subresource to be unmapped.

Return value

None

Remarks

For info about how to use Unmap, see How to: Use dynamic resources.

Windows Phone 8: This API is supported.

Requirements

Requirement Value
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

ID3D11DeviceContext