Unmap
End
Map
TOC
Collapse the table of content
Expand the table of content

ID3D11DeviceContext::Unmap method

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

pResource [in]

Type: ID3D11Resource*

A pointer to a ID3D11Resource interface.

Subresource [in]

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

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceContext

 

 

Show:
© 2016 Microsoft