IDirect3DCubeTexture9::UnlockRect

Unlocks a rectangle on a cube texture resource.

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 Values

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be: D3DERR_INVALIDCALL.

Requirements

Header: Declared in D3d9.h.

See Also

IDirect3DCubeTexture9::AddDirtyRect, IDirect3DCubeTexture9::LockRect