Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10Texture2D::Unmap method

Invalidate the pointer to the resource that was retrieved by ID3D10Texture2D::Map, and re-enable GPU access to the resource.

Syntax


void Unmap(
  [in] UINT Subresource
);

Parameters

Subresource [in]

Type: UINT

Subresource to be unmapped. See D3D10CalcSubresource for more details.

Return value

Returns nothing.

Remarks

A subresource must be mapped before Unmap is called.

Differences between Direct3D 9 and Direct3D 10:

Unmap in Direct3D 10 is analogous to resource Unlock in Direct3D 9.

 

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Texture2D Interface

 

 

Show:
© 2017 Microsoft