1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-04-07 23:53:56 +02:00
dxvk/src/d3d8/d3d8_volume.h
2025-01-09 15:50:46 +01:00

25 lines
608 B
C++

#pragma once
#include "d3d8_subresource.h"
namespace dxvk {
using D3D8VolumeBase = D3D8Subresource<d3d9::IDirect3DVolume9, IDirect3DVolume8>;
class D3D8Volume final : public D3D8VolumeBase {
public:
D3D8Volume(
D3D8Device* pDevice,
IDirect3DVolumeTexture8* pTexture,
Com<d3d9::IDirect3DVolume9>&& pVolume);
HRESULT STDMETHODCALLTYPE GetDesc(D3DVOLUME_DESC* pDesc);
HRESULT STDMETHODCALLTYPE LockBox(D3DLOCKED_BOX* pLockedBox, CONST D3DBOX* pBox, DWORD Flags) final;
HRESULT STDMETHODCALLTYPE UnlockBox() final;
};
}