mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
35 lines
653 B
C
35 lines
653 B
C
|
#pragma once
|
||
|
|
||
|
#include "d3d11_device_child.h"
|
||
|
|
||
|
namespace dxvk {
|
||
|
|
||
|
class D3D11Device;
|
||
|
|
||
|
class D3D11CommandList : public D3D11DeviceChild<ID3D11CommandList> {
|
||
|
|
||
|
public:
|
||
|
|
||
|
D3D11CommandList(
|
||
|
D3D11Device* pDevice,
|
||
|
UINT ContextFlags);
|
||
|
|
||
|
~D3D11CommandList();
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE QueryInterface(
|
||
|
REFIID riid,
|
||
|
void** ppvObject) final;
|
||
|
|
||
|
void STDMETHODCALLTYPE GetDevice(
|
||
|
ID3D11Device **ppDevice) final;
|
||
|
|
||
|
UINT GetContextFlags();
|
||
|
|
||
|
private:
|
||
|
|
||
|
D3D11Device* const m_device;
|
||
|
UINT const m_contextFlags;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|