This topic has not yet been rated - Rate this topic

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

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.