Windows Dev Center

End
Map
Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft