1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00
dxvk/src/d3d9/d3d9_on_12.h
2023-05-24 14:36:45 +01:00

30 lines
761 B
C++

#pragma once
#include "d3d9_include.h"
namespace dxvk {
class D3D9DeviceEx;
class D3D9On12 final : public IDirect3DDevice9On12 {
public:
D3D9On12(D3D9DeviceEx* device);
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** object);
ULONG STDMETHODCALLTYPE AddRef();
ULONG STDMETHODCALLTYPE Release();
HRESULT STDMETHODCALLTYPE GetD3D12Device(REFIID riid, void** object);
HRESULT STDMETHODCALLTYPE UnwrapUnderlyingResource(IDirect3DResource9* resource, ID3D12CommandQueue* command_queue, REFIID riid, void** object);
HRESULT STDMETHODCALLTYPE ReturnUnderlyingResource(IDirect3DResource9* resource, UINT num_sync, UINT64* signal_values, ID3D12Fence** fences);
private:
D3D9DeviceEx* m_device;
};
}