Windows Dev Center

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft