?/TD>
Microsoft DirectX 9.0

IDirect3DCubeTexture9::UnlockRect Method


Unlocks a rectangle on a cube texture resource.

Syntax

HRESULT UnlockRect(      

    D3DCUBEMAP_FACES FaceType,     UINT Level );

Parameters

FaceType
[in] Member of the D3DCUBEMAP_FACES enumerated type, identifying a cube map face.
Level
[in] Specifies a level of a mipmapped cube texture.

Return Value

If the method succeeds, the return value is D3D_OK.

D3DERR_INVALIDCALL is returned if one or more of the arguments is invalid.



See Also

IDirect3DCubeTexture9::AddDirtyRect, IDirect3DCubeTexture9::LockRect


© 2002 Microsoft Corporation. All rights reserved.