d3d9.dllUnlockRect
Microsoft DirectX 9.0 SDK Update (October 2004)

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


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.