ID3D11DeviceContext::Unmap method

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

Syntax

void Unmap(
  ID3D11Resource *pResource,
  UINT           Subresource
);

Parameters

pResource

Type: ID3D11Resource*

A pointer to a ID3D11Resource interface.

Subresource

Type: UINT

A subresource to be unmapped.

Return Value

Returns nothing.

Remarks

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

Windows Phone 8: This API is supported.

Requirements

   
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See Also

ID3D11DeviceContext