summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Bouchoux <[email protected]>2014-12-08 23:28:28 +0100
committerEmil Velikov <[email protected]>2015-01-22 22:16:17 +0000
commit072e2ba8e18e62fdaae4780b68b93a956931f4a2 (patch)
treea9da1da38b14abf6c5080481139e2cf77b66f4f3
parent8bb550b958efcbc658f48cb3721c68e97415a1e1 (diff)
st/nine: Add missing c++ declaration for IDirect3DVolumeTexture9
Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: David Heidelberg <[email protected]> Reviewed-by: Axel Davy <[email protected]> Signed-off-by: Xavier Bouchoux <[email protected]> Cc: "10.4" <[email protected]>
-rw-r--r--include/D3D9/d3d9.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/D3D9/d3d9.h b/include/D3D9/d3d9.h
index f872be79b9e..e8b5214fd0c 100644
--- a/include/D3D9/d3d9.h
+++ b/include/D3D9/d3d9.h
@@ -399,6 +399,16 @@ struct IDirect3DVolume9 : public IUnknown
virtual HRESULT WINAPI UnlockBox() = 0;
};
+struct IDirect3DVolumeTexture9 : public IDirect3DBaseTexture9
+{
+ virtual HRESULT WINAPI GetLevelDesc(UINT Level, D3DVOLUME_DESC *pDesc) = 0;
+ virtual HRESULT WINAPI GetVolumeLevel(UINT Level, IDirect3DVolume9 **ppVolumeLevel) = 0;
+ virtual HRESULT WINAPI LockBox(UINT Level, D3DLOCKED_BOX *pLockedVolume, const D3DBOX *pBox, DWORD Flags) = 0;
+ virtual HRESULT WINAPI UnlockBox(UINT Level) = 0;
+ virtual HRESULT WINAPI AddDirtyBox(const D3DBOX *pDirtyBox) = 0;
+};
+
+
#else /* __cplusplus */
extern const GUID IID_IDirect3D9;