共用方式為


IDirect3DVolumeTexture9::UnlockBox 方法 (d3d9.h)

解除鎖定磁片區紋理資源上的方塊。

語法

HRESULT UnlockBox(
  [in] UINT Level
);

參數

[in] Level

類型: UINT

指定要解除鎖定的磁片區紋理資源層級。

傳回值

類型: HRESULT

如果方法成功,傳回值會D3D_OK。 如果方法失敗,則傳回值可以D3DERR_INVALIDCALL。

需求

   
目標平台 Windows
標頭 d3d9.h (包含 D3D9.h)
程式庫 D3D9.lib

另請參閱

IDirect3DVolumeTexture9

LockBox